mujmap-patched-0.2.0+korrat-pr58-4fe8220
checks.aarch64-linux.package-mujmap-patched
· build #5
· raw
unpackPhase
1unpacking source archive /nix/store/40yiivphrsnm0mkwgvswwbg2w3xxw191-source2source root is source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHookpatchPhase
5applying patch /nix/store/60zvmr9fwrm4yd2xzp1szf0ydmh97g2l-account-scoped-tags.patch6patching file src/local.rs7patching file src/sync.rs8Executing cargoSetupPostPatchHook9Validating consistency between /build/source/Cargo.lock and /build/mujmap-patched-0.2.0+korrat-pr58-4fe8220-vendor/Cargo.lock10Finished cargoSetupPostPatchHookbuildPhase
11Executing cargoBuildHook12cargoBuildHook flags: -j 20 --target aarch64-unknown-linux-gnu --offline --profile release13 Compiling libc v0.2.12414 Compiling proc-macro2 v1.0.4315 Compiling unicode-ident v1.0.316 Compiling autocfg v1.1.017 Compiling syn v1.0.9918 Compiling cfg-if v1.0.019 Compiling once_cell v1.10.020 Compiling lazy_static v1.4.021 Compiling log v0.4.1622 Compiling memchr v2.4.123 Compiling cc v1.0.7324 Compiling version_check v0.9.425 Compiling crossbeam-utils v0.8.826 Compiling tinyvec_macros v0.1.027 Compiling scopeguard v1.1.028 Compiling matches v0.1.929 Compiling ident_case v1.0.130 Compiling spin v0.5.231 Compiling futures-core v0.3.2132 Compiling strsim v0.9.333 Compiling tinyvec v1.6.034 Compiling untrusted v0.7.135 Compiling fnv v1.0.736 Compiling heck v0.4.037 Compiling serde_derive v1.0.13638 Compiling unicode-bidi v0.3.739 Compiling percent-encoding v2.1.040 Compiling serde v1.0.13641 Compiling futures-task v0.3.2142 Compiling parking_lot_core v0.9.343 Compiling futures-channel v0.3.2144 Compiling form_urlencoded v1.0.145 Compiling async-trait v0.1.5746 Compiling smallvec v1.9.047 Compiling crc32fast v1.3.248 Compiling bitflags v1.3.249 Compiling memoffset v0.6.550 Compiling proc-macro-error-attr v1.0.451 Compiling proc-macro-error v1.0.452 Compiling crossbeam-epoch v0.9.853 Compiling slab v0.4.754 Compiling tokio v1.20.155 Compiling indexmap v1.8.156 Compiling lock_api v0.4.757 Compiling regex-syntax v0.6.2558 Compiling futures-util v0.3.2159 Compiling pin-project-lite v0.2.960 Compiling ppv-lite86 v0.2.1661 Compiling rayon-core v1.9.262 Compiling aho-corasick v0.7.1863 Compiling serde_json v1.0.7964 Compiling unicode-segmentation v1.9.065 Compiling doc-comment v0.3.366 Compiling match_cfg v0.1.067 Compiling os_str_bytes v6.0.068 Compiling bytes v1.2.169 Compiling adler v1.0.270 Compiling unicode-width v0.1.971 Compiling rustls v0.20.472 Compiling pin-utils v0.1.073 Compiling quote v1.0.1874 Compiling num_cpus v1.13.175 Compiling getrandom v0.2.676 Compiling atty v0.2.1477 Compiling socket2 v0.4.478 Compiling mio v0.8.479 Compiling termcolor v1.1.380 Compiling hashbrown v0.11.281 Compiling clap_lex v0.2.082 Compiling rand_core v0.6.383 Compiling ring v0.16.2084 Compiling crossbeam-deque v0.8.185 Compiling heck v0.3.386 Compiling unicode-normalization v0.1.1987 Compiling hostname v0.3.188 Compiling terminal_size v0.1.1789 Compiling rand_chacha v0.3.190 Compiling miniz_oxide v0.5.191 Compiling textwrap v0.11.092 Compiling crossbeam-channel v0.5.493 Compiling rand v0.8.594 Compiling rayon v1.5.295 Compiling vec_map v0.8.296 Compiling futures-io v0.3.2197 Compiling strsim v0.8.098 Compiling unicode-xid v0.2.299 Compiling textwrap v0.15.0100 Compiling ansi_term v0.12.1101 Compiling ipnet v2.5.0102 Compiling quick-error v1.2.3103 Compiling ryu v1.0.9104 Compiling data-encoding v2.3.2105 Compiling idna v0.2.3106 Compiling linked-hash-map v0.5.6107 Compiling strsim v0.10.0108 Compiling either v1.6.1109 Compiling itoa v1.0.1110 Compiling lru-cache v0.1.2111 Compiling clap v2.34.0112 Compiling resolv-conf v0.7.0113 Compiling const_format_proc_macros v0.2.22114 Compiling url v2.2.2115 Compiling flate2 v1.0.23116 Compiling parking_lot v0.12.1117 Compiling regex v1.5.5118 Compiling console v0.15.0119 Compiling dirs-sys v0.3.7120 Compiling chunked_transfer v1.4.0121 Compiling number_prefix v0.4.0122 Compiling humantime v2.1.0123 Compiling base64 v0.13.0124 Compiling yansi v0.4.0125 Compiling directories v4.0.1126 Compiling const_format v0.2.22127 Compiling itertools v0.10.3128 Compiling fslock v0.2.1129 Compiling email-parser v0.5.0130 Compiling fqdn v0.1.9131 Compiling symlink v0.1.0132 Compiling indicatif v0.16.2133 Compiling env_logger v0.9.0134 Compiling uritemplate-next v0.2.0135 Compiling darling_core v0.10.2136 Compiling loe v0.3.0137 Compiling webpki v0.22.0138 Compiling sct v0.7.0139 Compiling thiserror-impl v1.0.31140 Compiling clap_derive v3.1.7141 Compiling enum-as-inner v0.4.0142 Compiling snafu-derive v0.7.0143 Compiling webpki-roots v0.22.3144 Compiling darling_macro v0.10.2145 Compiling darling v0.10.2146 Compiling from_variants_impl v0.6.0147 Compiling thiserror v1.0.31148 Compiling trust-dns-proto v0.21.2149 Compiling from_variants v0.6.0150 Compiling notmuch v0.8.0151 Compiling snafu v0.7.0152 Compiling clap v3.1.14153 Compiling trust-dns-resolver v0.21.2154 Compiling clap-verbosity-flag v1.0.0155 Compiling toml v0.5.9156 Compiling ureq v2.4.0157 Compiling mujmap v0.2.0 (/build/source)158warning: variable does not need to be mutable159 --> src/sync.rs:543:33160 |161543 | if let Some(mut new_email) = new_emails.get_mut(&remote_email.id) {162 | ----^^^^^^^^^163 | |164 | help: remove this `mut`165 |166 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default167168warning: field `created_ids` is never read169 --> src/jmap/response.rs:22:9170 |17114 | pub struct Response {172 | -------- field in this struct173...17422 | pub created_ids: Option<HashMap<String, Id>>,175 | ^^^^^^^^^^^176 |177 = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis178 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default179180warning: fields `account_id` and `not_found` are never read181 --> src/jmap/response.rs:130:9182 |183128 | pub struct MethodResponseGet<T> {184 | ----------------- fields in this struct185129 | /// The id of the account used for the call.186130 | pub account_id: Id,187 | ^^^^^^^^^^188...189153 | pub not_found: Vec<Id>,190 | ^^^^^^^^^191 |192 = note: `MethodResponseGet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis193194warning: field `account_id` is never read195 --> src/jmap/response.rs:165:9196 |197163 | pub struct MethodResponseGetIdentity {198 | ------------------------- field in this struct199164 | /// The id of the account used for the call.200165 | pub account_id: Id,201 | ^^^^^^^^^^202 |203 = note: `MethodResponseGetIdentity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis204205warning: fields `account_id`, `query_state`, `can_calculate_changes`, `position`, and `total` are never read206 --> src/jmap/response.rs:178:9207 |208176 | pub struct MethodResponseQuery {209 | ------------------- fields in this struct210177 | /// The id of the account used for the call.211178 | pub account_id: Id,212 | ^^^^^^^^^^213...214195 | pub query_state: State,215 | ^^^^^^^^^^^216...217200 | pub can_calculate_changes: bool,218 | ^^^^^^^^^^^^^^^^^^^^^219...220203 | pub position: u64,221 | ^^^^^^^^222...223210 | pub total: Option<u64>,224 | ^^^^^225 |226 = note: `MethodResponseQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis227228warning: fields `account_id` and `old_state` are never read229 --> src/jmap/response.rs:220:9230 |231218 | pub struct MethodResponseChanges {232 | --------------------- fields in this struct233219 | /// The id of the account used for the call.234220 | pub account_id: Id,235 | ^^^^^^^^^^236...237223 | pub old_state: State,238 | ^^^^^^^^^239 |240 = note: `MethodResponseChanges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis241242warning: fields `account_id`, `old_state`, `new_state`, `updated`, and `destroyed` are never read243 --> src/jmap/response.rs:241:9244 |245239 | pub struct MethodResponseSet<T> {246 | ----------------- fields in this struct247240 | /// The id of the account used for the call.248241 | pub account_id: Id,249 | ^^^^^^^^^^250...251244 | pub old_state: Option<State>,252 | ^^^^^^^^^253245 | /// The state string that will now be returned by `T/get`.254246 | pub new_state: Option<State>,255 | ^^^^^^^^^256...257261 | pub updated: Option<HashMap<Id, T>>,258 | ^^^^^^^259262 | /// A list of `T` ids for records that were successfully destroyed, or `None` if none.260263 | pub destroyed: Option<Vec<Id>>,261 | ^^^^^^^^^262 |263 = note: `MethodResponseSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis264265warning: fields `account_id`, `old_state`, and `new_state` are never read266 --> src/jmap/response.rs:279:9267 |268277 | pub struct MethodResponseEmailImport {269 | ------------------------- fields in this struct270278 | /// The id of the account used for the call.271279 | pub account_id: Id,272 | ^^^^^^^^^^273...274282 | pub old_state: Option<State>,275 | ^^^^^^^^^276283 | /// The state string that will now be returned by `Email/get`.277284 | pub new_state: Option<State>,278 | ^^^^^^^^^279 |280 = note: `MethodResponseEmailImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis281282warning: fields `account_id`, `content_type`, and `size` are never read283 --> src/jmap/response.rs:538:9284 |285536 | pub struct BlobUploadResponse {286 | ------------------ fields in this struct287537 | /// The id of the account used for the call.288538 | pub account_id: Id,289 | ^^^^^^^^^^290...291546 | pub content_type: String,292 | ^^^^^^^^^^^^293547 | /// The size of the file in octets.294548 | pub size: u64,295 | ^^^^296 |297 = note: `BlobUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis298299warning: fields `accounts` and `event_source_url` are never read300 --> src/jmap/session.rs:12:9301 |302 8 | pub struct Session {303 | ------- fields in this struct304...30512 | pub accounts: HashMap<Id, Account>,306 | ^^^^^^^^307...30831 | pub event_source_url: String,309 | ^^^^^^^^^^^^^^^^310 |311 = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis312313warning: field `mail` is never read314 --> src/jmap/session.rs:51:9315 |31647 | pub struct Capabilities {317 | ------------ field in this struct318...31951 | pub mail: EmptyCapabilities,320 | ^^^^321 |322 = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis323324warning: fields `max_size_upload`, `max_concurrent_upload`, `max_size_request`, `max_concurrent_requests`, `max_calls_in_request`, and `collation_algorithms` are never read325 --> src/jmap/session.rs:59:9326 |32756 | pub struct CoreCapabilities {328 | ---------------- fields in this struct329...33059 | pub max_size_upload: u64,331 | ^^^^^^^^^^^^^^^33260 | /// The maximum number of concurrent requests the server will accept to the upload endpoint.33361 | pub max_concurrent_upload: u64,334 | ^^^^^^^^^^^^^^^^^^^^^335...33664 | pub max_size_request: u64,337 | ^^^^^^^^^^^^^^^^33865 | /// The maximum number of concurrent requests the server will accept to the API endpoint.33966 | pub max_concurrent_requests: u64,340 | ^^^^^^^^^^^^^^^^^^^^^^^341...34269 | pub max_calls_in_request: u64,343 | ^^^^^^^^^^^^^^^^^^^^344...34579 | pub collation_algorithms: Vec<String>,346 | ^^^^^^^^^^^^^^^^^^^^347 |348 = note: `CoreCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis349350warning: fields `name`, `is_personal`, `is_read_only`, and `account_capabilities` are never read351 --> src/jmap/session.rs:90:9352 |353 87 | pub struct Account {354 | ------- fields in this struct355...356 90 | pub name: String,357 | ^^^^358...359 93 | pub is_personal: bool,360 | ^^^^^^^^^^^361 94 | /// This is `true` if the entire account is read-only.362 95 | pub is_read_only: bool,363 | ^^^^^^^^^^^^364...365100 | pub account_capabilities: AccountCapabilities,366 | ^^^^^^^^^^^^^^^^^^^^367 |368 = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis369370warning: fields `core` and `mail` are never read371 --> src/jmap/session.rs:106:9372 |373104 | pub struct AccountCapabilities {374 | ------------------- fields in this struct375105 | #[serde(default, rename = "urn:ietf:params:jmap:core")]376106 | pub core: EmptyCapabilities,377 | ^^^^378107 | #[serde(rename = "urn:ietf:params:jmap:mail")]379108 | pub mail: MailAccountCapabilities,380 | ^^^^381 |382 = note: `AccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis383384warning: fields `max_mailboxes_per_email`, `max_mailbox_depth`, `max_size_mailbox_name`, `max_size_attachments_per_email`, `email_query_sort_options`, and `may_create_top_level_mailbox` are never read385 --> src/jmap/session.rs:117:9386 |387113 | pub struct MailAccountCapabilities {388 | ----------------------- fields in this struct389...390117 | pub max_mailboxes_per_email: Option<u64>,391 | ^^^^^^^^^^^^^^^^^^^^^^^392...393120 | pub max_mailbox_depth: Option<u64>,394 | ^^^^^^^^^^^^^^^^^395...396123 | pub max_size_mailbox_name: u64,397 | ^^^^^^^^^^^^^^^^^^^^^398...399141 | pub max_size_attachments_per_email: u64,400 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^401...402146 | pub email_query_sort_options: Vec<String>,403 | ^^^^^^^^^^^^^^^^^^^^^^^^404...405150 | pub may_create_top_level_mailbox: bool,406 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^407 |408 = note: `MailAccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis409410warning: method `all_tags` is never used411 --> src/local.rs:171:12412 |413 90 | impl Local {414 | ---------- method in this implementation415...416171 | pub fn all_tags(&self) -> Result<notmuch::Tags, notmuch::Error> {417 | ^^^^^^^^418419warning: field `keywords` is never read420 --> src/remote.rs:1293:9421 |4221290 | pub struct Email {423 | ----- field in this struct424...4251293 | pub keywords: HashSet<jmap::EmailKeyword>,426 | ^^^^^^^^427 |428 = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis429430warning: call to `.clone()` on a reference in this situation does nothing431 --> src/local.rs:258:40432 |433258 | query: query_string.clone(),434 | ^^^^^^^^ help: remove this redundant call435 |436 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed437 = note: `#[warn(noop_method_call)]` on by default438439warning: call to `.clone()` on a reference in this situation does nothing440 --> src/local.rs:264:36441 |442264 | query: query_string.clone(),443 | ^^^^^^^^ help: remove this redundant call444 |445 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed446447warning: `mujmap` (bin "mujmap") generated 19 warnings (run `cargo fix --bin "mujmap" -p mujmap` to apply 3 suggestions)448 Finished `release` profile [optimized] target(s) in 39.90s449Executing cargoInstallPostBuildHook450Finished cargoInstallPostBuildHook451Finished cargoBuildHook452buildPhase completed in 40 secondscheckPhase
453Executing cargoCheckHook454cargoCheckHook flags: -j 20 --profile release --target aarch64-unknown-linux-gnu --offline --455 Compiling mujmap v0.2.0 (/build/source)456warning: variable does not need to be mutable457 --> src/sync.rs:543:33458 |459543 | if let Some(mut new_email) = new_emails.get_mut(&remote_email.id) {460 | ----^^^^^^^^^461 | |462 | help: remove this `mut`463 |464 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default465466warning: field `created_ids` is never read467 --> src/jmap/response.rs:22:9468 |46914 | pub struct Response {470 | -------- field in this struct471...47222 | pub created_ids: Option<HashMap<String, Id>>,473 | ^^^^^^^^^^^474 |475 = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis476 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default477478warning: fields `account_id` and `not_found` are never read479 --> src/jmap/response.rs:130:9480 |481128 | pub struct MethodResponseGet<T> {482 | ----------------- fields in this struct483129 | /// The id of the account used for the call.484130 | pub account_id: Id,485 | ^^^^^^^^^^486...487153 | pub not_found: Vec<Id>,488 | ^^^^^^^^^489 |490 = note: `MethodResponseGet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis491492warning: field `account_id` is never read493 --> src/jmap/response.rs:165:9494 |495163 | pub struct MethodResponseGetIdentity {496 | ------------------------- field in this struct497164 | /// The id of the account used for the call.498165 | pub account_id: Id,499 | ^^^^^^^^^^500 |501 = note: `MethodResponseGetIdentity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis502503warning: fields `account_id`, `query_state`, `can_calculate_changes`, `position`, and `total` are never read504 --> src/jmap/response.rs:178:9505 |506176 | pub struct MethodResponseQuery {507 | ------------------- fields in this struct508177 | /// The id of the account used for the call.509178 | pub account_id: Id,510 | ^^^^^^^^^^511...512195 | pub query_state: State,513 | ^^^^^^^^^^^514...515200 | pub can_calculate_changes: bool,516 | ^^^^^^^^^^^^^^^^^^^^^517...518203 | pub position: u64,519 | ^^^^^^^^520...521210 | pub total: Option<u64>,522 | ^^^^^523 |524 = note: `MethodResponseQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis525526warning: fields `account_id` and `old_state` are never read527 --> src/jmap/response.rs:220:9528 |529218 | pub struct MethodResponseChanges {530 | --------------------- fields in this struct531219 | /// The id of the account used for the call.532220 | pub account_id: Id,533 | ^^^^^^^^^^534...535223 | pub old_state: State,536 | ^^^^^^^^^537 |538 = note: `MethodResponseChanges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis539540warning: fields `account_id`, `old_state`, `new_state`, `updated`, and `destroyed` are never read541 --> src/jmap/response.rs:241:9542 |543239 | pub struct MethodResponseSet<T> {544 | ----------------- fields in this struct545240 | /// The id of the account used for the call.546241 | pub account_id: Id,547 | ^^^^^^^^^^548...549244 | pub old_state: Option<State>,550 | ^^^^^^^^^551245 | /// The state string that will now be returned by `T/get`.552246 | pub new_state: Option<State>,553 | ^^^^^^^^^554...555261 | pub updated: Option<HashMap<Id, T>>,556 | ^^^^^^^557262 | /// A list of `T` ids for records that were successfully destroyed, or `None` if none.558263 | pub destroyed: Option<Vec<Id>>,559 | ^^^^^^^^^560 |561 = note: `MethodResponseSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis562563warning: fields `account_id`, `old_state`, and `new_state` are never read564 --> src/jmap/response.rs:279:9565 |566277 | pub struct MethodResponseEmailImport {567 | ------------------------- fields in this struct568278 | /// The id of the account used for the call.569279 | pub account_id: Id,570 | ^^^^^^^^^^571...572282 | pub old_state: Option<State>,573 | ^^^^^^^^^574283 | /// The state string that will now be returned by `Email/get`.575284 | pub new_state: Option<State>,576 | ^^^^^^^^^577 |578 = note: `MethodResponseEmailImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis579580warning: fields `account_id`, `content_type`, and `size` are never read581 --> src/jmap/response.rs:538:9582 |583536 | pub struct BlobUploadResponse {584 | ------------------ fields in this struct585537 | /// The id of the account used for the call.586538 | pub account_id: Id,587 | ^^^^^^^^^^588...589546 | pub content_type: String,590 | ^^^^^^^^^^^^591547 | /// The size of the file in octets.592548 | pub size: u64,593 | ^^^^594 |595 = note: `BlobUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis596597warning: fields `accounts` and `event_source_url` are never read598 --> src/jmap/session.rs:12:9599 |600 8 | pub struct Session {601 | ------- fields in this struct602...60312 | pub accounts: HashMap<Id, Account>,604 | ^^^^^^^^605...60631 | pub event_source_url: String,607 | ^^^^^^^^^^^^^^^^608 |609 = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis610611warning: field `mail` is never read612 --> src/jmap/session.rs:51:9613 |61447 | pub struct Capabilities {615 | ------------ field in this struct616...61751 | pub mail: EmptyCapabilities,618 | ^^^^619 |620 = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis621622warning: fields `max_size_upload`, `max_concurrent_upload`, `max_size_request`, `max_concurrent_requests`, `max_calls_in_request`, and `collation_algorithms` are never read623 --> src/jmap/session.rs:59:9624 |62556 | pub struct CoreCapabilities {626 | ---------------- fields in this struct627...62859 | pub max_size_upload: u64,629 | ^^^^^^^^^^^^^^^63060 | /// The maximum number of concurrent requests the server will accept to the upload endpoint.63161 | pub max_concurrent_upload: u64,632 | ^^^^^^^^^^^^^^^^^^^^^633...63464 | pub max_size_request: u64,635 | ^^^^^^^^^^^^^^^^63665 | /// The maximum number of concurrent requests the server will accept to the API endpoint.63766 | pub max_concurrent_requests: u64,638 | ^^^^^^^^^^^^^^^^^^^^^^^639...64069 | pub max_calls_in_request: u64,641 | ^^^^^^^^^^^^^^^^^^^^642...64379 | pub collation_algorithms: Vec<String>,644 | ^^^^^^^^^^^^^^^^^^^^645 |646 = note: `CoreCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis647648warning: fields `name`, `is_personal`, `is_read_only`, and `account_capabilities` are never read649 --> src/jmap/session.rs:90:9650 |651 87 | pub struct Account {652 | ------- fields in this struct653...654 90 | pub name: String,655 | ^^^^656...657 93 | pub is_personal: bool,658 | ^^^^^^^^^^^659 94 | /// This is `true` if the entire account is read-only.660 95 | pub is_read_only: bool,661 | ^^^^^^^^^^^^662...663100 | pub account_capabilities: AccountCapabilities,664 | ^^^^^^^^^^^^^^^^^^^^665 |666 = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis667668warning: fields `core` and `mail` are never read669 --> src/jmap/session.rs:106:9670 |671104 | pub struct AccountCapabilities {672 | ------------------- fields in this struct673105 | #[serde(default, rename = "urn:ietf:params:jmap:core")]674106 | pub core: EmptyCapabilities,675 | ^^^^676107 | #[serde(rename = "urn:ietf:params:jmap:mail")]677108 | pub mail: MailAccountCapabilities,678 | ^^^^679 |680 = note: `AccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis681682warning: fields `max_mailboxes_per_email`, `max_mailbox_depth`, `max_size_mailbox_name`, `max_size_attachments_per_email`, `email_query_sort_options`, and `may_create_top_level_mailbox` are never read683 --> src/jmap/session.rs:117:9684 |685113 | pub struct MailAccountCapabilities {686 | ----------------------- fields in this struct687...688117 | pub max_mailboxes_per_email: Option<u64>,689 | ^^^^^^^^^^^^^^^^^^^^^^^690...691120 | pub max_mailbox_depth: Option<u64>,692 | ^^^^^^^^^^^^^^^^^693...694123 | pub max_size_mailbox_name: u64,695 | ^^^^^^^^^^^^^^^^^^^^^696...697141 | pub max_size_attachments_per_email: u64,698 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^699...700146 | pub email_query_sort_options: Vec<String>,701 | ^^^^^^^^^^^^^^^^^^^^^^^^702...703150 | pub may_create_top_level_mailbox: bool,704 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^705 |706 = note: `MailAccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis707708warning: method `all_tags` is never used709 --> src/local.rs:171:12710 |711 90 | impl Local {712 | ---------- method in this implementation713...714171 | pub fn all_tags(&self) -> Result<notmuch::Tags, notmuch::Error> {715 | ^^^^^^^^716717warning: field `keywords` is never read718 --> src/remote.rs:1293:9719 |7201290 | pub struct Email {721 | ----- field in this struct722...7231293 | pub keywords: HashSet<jmap::EmailKeyword>,724 | ^^^^^^^^725 |726 = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis727728warning: call to `.clone()` on a reference in this situation does nothing729 --> src/local.rs:258:40730 |731258 | query: query_string.clone(),732 | ^^^^^^^^ help: remove this redundant call733 |734 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed735 = note: `#[warn(noop_method_call)]` on by default736737warning: call to `.clone()` on a reference in this situation does nothing738 --> src/local.rs:264:36739 |740264 | query: query_string.clone(),741 | ^^^^^^^^ help: remove this redundant call742 |743 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed744745warning: `mujmap` (bin "mujmap" test) generated 19 warnings (run `cargo fix --bin "mujmap" -p mujmap --tests` to apply 3 suggestions)746 Finished `release` profile [optimized] target(s) in 2.97s747 Running unittests src/main.rs (target/aarch64-unknown-linux-gnu/release/deps/mujmap-63bbd8a12e1c7809)748749running 0 tests750751test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s752753Finished cargoCheckHookinstallPhase
754Executing cargoInstallHook755Finished cargoInstallHookfixupPhase
756shrinking RPATHs of ELF executables and libraries in /nix/store/zbkl6icc8pxbz428ih7a6mar97w87sw9-mujmap-patched-0.2.0+korrat-pr58-4fe8220757shrinking /nix/store/zbkl6icc8pxbz428ih7a6mar97w87sw9-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin/mujmap758checking for references to /build/ in /nix/store/zbkl6icc8pxbz428ih7a6mar97w87sw9-mujmap-patched-0.2.0+korrat-pr58-4fe8220...759patching script interpreter paths in /nix/store/zbkl6icc8pxbz428ih7a6mar97w87sw9-mujmap-patched-0.2.0+korrat-pr58-4fe8220760stripping (with command strip and flags -S -p) in /nix/store/zbkl6icc8pxbz428ih7a6mar97w87sw9-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin