Running phase: unpackPhase unpacking source archive /nix/store/40yiivphrsnm0mkwgvswwbg2w3xxw191-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/60zvmr9fwrm4yd2xzp1szf0ydmh97g2l-account-scoped-tags.patch patching file src/local.rs patching file src/sync.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/mujmap-patched-0.2.0+korrat-pr58-4fe8220-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Executing cargoBuildHook cargoBuildHook flags: -j 32 --target x86_64-unknown-linux-gnu --offline --profile release Compiling libc v0.2.124 Compiling proc-macro2 v1.0.43 Compiling unicode-ident v1.0.3 Compiling autocfg v1.1.0 Compiling syn v1.0.99 Compiling cfg-if v1.0.0 Compiling lazy_static v1.4.0 Compiling once_cell v1.10.0 Compiling memchr v2.4.1 Compiling log v0.4.16 Compiling version_check v0.9.4 Compiling cc v1.0.73 Compiling crossbeam-utils v0.8.8 Compiling tinyvec_macros v0.1.0 Compiling scopeguard v1.1.0 Compiling futures-core v0.3.21 Compiling serde_derive v1.0.136 Compiling strsim v0.9.3 Compiling fnv v1.0.7 Compiling untrusted v0.7.1 Compiling ident_case v1.0.1 Compiling heck v0.4.0 Compiling matches v0.1.9 Compiling spin v0.5.2 Compiling serde v1.0.136 Compiling percent-encoding v2.1.0 Compiling futures-task v0.3.21 Compiling unicode-bidi v0.3.7 Compiling bitflags v1.3.2 Compiling parking_lot_core v0.9.3 Compiling smallvec v1.9.0 Compiling futures-util v0.3.21 Compiling tinyvec v1.6.0 Compiling crc32fast v1.3.2 Compiling pin-project-lite v0.2.9 Compiling futures-channel v0.3.21 Compiling async-trait v0.1.57 Compiling ppv-lite86 v0.2.16 Compiling rayon-core v1.9.2 Compiling regex-syntax v0.6.25 Compiling doc-comment v0.3.3 Compiling os_str_bytes v6.0.0 Compiling serde_json v1.0.79 Compiling match_cfg v0.1.0 Compiling form_urlencoded v1.0.1 Compiling unicode-width v0.1.9 Compiling rustls v0.20.4 Compiling termcolor v1.1.3 Compiling unicode-segmentation v1.9.0 Compiling pin-utils v0.1.0 Compiling hashbrown v0.11.2 Compiling bytes v1.2.1 Compiling adler v1.0.2 Compiling textwrap v0.11.0 Compiling either v1.6.1 Compiling strsim v0.8.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling clap_lex v0.2.0 Compiling memoffset v0.6.5 Compiling crossbeam-epoch v0.9.8 Compiling slab v0.4.7 Compiling tokio v1.20.1 Compiling indexmap v1.8.1 Compiling lock_api v0.4.7 Compiling miniz_oxide v0.5.1 Compiling rayon v1.5.2 Compiling itoa v1.0.1 Compiling ansi_term v0.12.1 Compiling quick-error v1.2.3 Compiling linked-hash-map v0.5.6 Compiling textwrap v0.15.0 Compiling ryu v1.0.9 Compiling strsim v0.10.0 Compiling vec_map v0.8.2 Compiling futures-io v0.3.21 Compiling data-encoding v2.3.2 Compiling ipnet v2.5.0 Compiling heck v0.3.3 Compiling unicode-xid v0.2.2 Compiling number_prefix v0.4.0 Compiling base64 v0.13.0 Compiling chunked_transfer v1.4.0 Compiling lru-cache v0.1.2 Compiling humantime v2.1.0 Compiling crossbeam-channel v0.5.4 Compiling yansi v0.4.0 Compiling itertools v0.10.3 Compiling num_cpus v1.13.1 Compiling atty v0.2.14 Compiling getrandom v0.2.6 Compiling socket2 v0.4.4 Compiling mio v0.8.4 Compiling terminal_size v0.1.17 Compiling aho-corasick v0.7.18 Compiling hostname v0.3.1 Compiling console v0.15.0 Compiling clap v2.34.0 Compiling quote v1.0.18 Compiling rand_core v0.6.3 Compiling flate2 v1.0.23 Compiling resolv-conf v0.7.0 Compiling dirs-sys v0.3.7 Compiling fslock v0.2.1 Compiling ring v0.16.20 Compiling crossbeam-deque v0.8.1 Compiling unicode-normalization v0.1.19 Compiling rand_chacha v0.3.1 Compiling parking_lot v0.12.1 Compiling directories v4.0.1 Compiling const_format_proc_macros v0.2.22 Compiling email-parser v0.5.0 Compiling fqdn v0.1.9 Compiling rand v0.8.5 Compiling symlink v0.1.0 Compiling idna v0.2.3 Compiling const_format v0.2.22 Compiling url v2.2.2 Compiling regex v1.5.5 Compiling uritemplate-next v0.2.0 Compiling env_logger v0.9.0 Compiling indicatif v0.16.2 Compiling loe v0.3.0 Compiling darling_core v0.10.2 Compiling thiserror-impl v1.0.31 Compiling clap_derive v3.1.7 Compiling enum-as-inner v0.4.0 Compiling snafu-derive v0.7.0 Compiling darling_macro v0.10.2 Compiling thiserror v1.0.31 Compiling trust-dns-proto v0.21.2 Compiling darling v0.10.2 Compiling from_variants_impl v0.6.0 Compiling clap v3.1.14 Compiling snafu v0.7.0 Compiling webpki v0.22.0 Compiling sct v0.7.0 Compiling webpki-roots v0.22.3 Compiling from_variants v0.6.0 Compiling notmuch v0.8.0 Compiling trust-dns-resolver v0.21.2 Compiling clap-verbosity-flag v1.0.0 Compiling toml v0.5.9 Compiling ureq v2.4.0 Compiling mujmap v0.2.0 (/build/source) warning: variable does not need to be mutable --> src/sync.rs:543:33 | 543 | if let Some(mut new_email) = new_emails.get_mut(&remote_email.id) { | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: field `created_ids` is never read --> src/jmap/response.rs:22:9 | 14 | pub struct Response { | -------- field in this struct ... 22 | pub created_ids: Option>, | ^^^^^^^^^^^ | = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `account_id` and `not_found` are never read --> src/jmap/response.rs:130:9 | 128 | pub struct MethodResponseGet { | ----------------- fields in this struct 129 | /// The id of the account used for the call. 130 | pub account_id: Id, | ^^^^^^^^^^ ... 153 | pub not_found: Vec, | ^^^^^^^^^ | = note: `MethodResponseGet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `account_id` is never read --> src/jmap/response.rs:165:9 | 163 | pub struct MethodResponseGetIdentity { | ------------------------- field in this struct 164 | /// The id of the account used for the call. 165 | pub account_id: Id, | ^^^^^^^^^^ | = note: `MethodResponseGetIdentity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `query_state`, `can_calculate_changes`, `position`, and `total` are never read --> src/jmap/response.rs:178:9 | 176 | pub struct MethodResponseQuery { | ------------------- fields in this struct 177 | /// The id of the account used for the call. 178 | pub account_id: Id, | ^^^^^^^^^^ ... 195 | pub query_state: State, | ^^^^^^^^^^^ ... 200 | pub can_calculate_changes: bool, | ^^^^^^^^^^^^^^^^^^^^^ ... 203 | pub position: u64, | ^^^^^^^^ ... 210 | pub total: Option, | ^^^^^ | = note: `MethodResponseQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id` and `old_state` are never read --> src/jmap/response.rs:220:9 | 218 | pub struct MethodResponseChanges { | --------------------- fields in this struct 219 | /// The id of the account used for the call. 220 | pub account_id: Id, | ^^^^^^^^^^ ... 223 | pub old_state: State, | ^^^^^^^^^ | = note: `MethodResponseChanges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `old_state`, `new_state`, `updated`, and `destroyed` are never read --> src/jmap/response.rs:241:9 | 239 | pub struct MethodResponseSet { | ----------------- fields in this struct 240 | /// The id of the account used for the call. 241 | pub account_id: Id, | ^^^^^^^^^^ ... 244 | pub old_state: Option, | ^^^^^^^^^ 245 | /// The state string that will now be returned by `T/get`. 246 | pub new_state: Option, | ^^^^^^^^^ ... 261 | pub updated: Option>, | ^^^^^^^ 262 | /// A list of `T` ids for records that were successfully destroyed, or `None` if none. 263 | pub destroyed: Option>, | ^^^^^^^^^ | = note: `MethodResponseSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `old_state`, and `new_state` are never read --> src/jmap/response.rs:279:9 | 277 | pub struct MethodResponseEmailImport { | ------------------------- fields in this struct 278 | /// The id of the account used for the call. 279 | pub account_id: Id, | ^^^^^^^^^^ ... 282 | pub old_state: Option, | ^^^^^^^^^ 283 | /// The state string that will now be returned by `Email/get`. 284 | pub new_state: Option, | ^^^^^^^^^ | = note: `MethodResponseEmailImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `content_type`, and `size` are never read --> src/jmap/response.rs:538:9 | 536 | pub struct BlobUploadResponse { | ------------------ fields in this struct 537 | /// The id of the account used for the call. 538 | pub account_id: Id, | ^^^^^^^^^^ ... 546 | pub content_type: String, | ^^^^^^^^^^^^ 547 | /// The size of the file in octets. 548 | pub size: u64, | ^^^^ | = note: `BlobUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `accounts` and `event_source_url` are never read --> src/jmap/session.rs:12:9 | 8 | pub struct Session { | ------- fields in this struct ... 12 | pub accounts: HashMap, | ^^^^^^^^ ... 31 | pub event_source_url: String, | ^^^^^^^^^^^^^^^^ | = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `mail` is never read --> src/jmap/session.rs:51:9 | 47 | pub struct Capabilities { | ------------ field in this struct ... 51 | pub mail: EmptyCapabilities, | ^^^^ | = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `max_size_upload`, `max_concurrent_upload`, `max_size_request`, `max_concurrent_requests`, `max_calls_in_request`, and `collation_algorithms` are never read --> src/jmap/session.rs:59:9 | 56 | pub struct CoreCapabilities { | ---------------- fields in this struct ... 59 | pub max_size_upload: u64, | ^^^^^^^^^^^^^^^ 60 | /// The maximum number of concurrent requests the server will accept to the upload endpoint. 61 | pub max_concurrent_upload: u64, | ^^^^^^^^^^^^^^^^^^^^^ ... 64 | pub max_size_request: u64, | ^^^^^^^^^^^^^^^^ 65 | /// The maximum number of concurrent requests the server will accept to the API endpoint. 66 | pub max_concurrent_requests: u64, | ^^^^^^^^^^^^^^^^^^^^^^^ ... 69 | pub max_calls_in_request: u64, | ^^^^^^^^^^^^^^^^^^^^ ... 79 | pub collation_algorithms: Vec, | ^^^^^^^^^^^^^^^^^^^^ | = note: `CoreCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `name`, `is_personal`, `is_read_only`, and `account_capabilities` are never read --> src/jmap/session.rs:90:9 | 87 | pub struct Account { | ------- fields in this struct ... 90 | pub name: String, | ^^^^ ... 93 | pub is_personal: bool, | ^^^^^^^^^^^ 94 | /// This is `true` if the entire account is read-only. 95 | pub is_read_only: bool, | ^^^^^^^^^^^^ ... 100 | pub account_capabilities: AccountCapabilities, | ^^^^^^^^^^^^^^^^^^^^ | = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `core` and `mail` are never read --> src/jmap/session.rs:106:9 | 104 | pub struct AccountCapabilities { | ------------------- fields in this struct 105 | #[serde(default, rename = "urn:ietf:params:jmap:core")] 106 | pub core: EmptyCapabilities, | ^^^^ 107 | #[serde(rename = "urn:ietf:params:jmap:mail")] 108 | pub mail: MailAccountCapabilities, | ^^^^ | = note: `AccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: 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 read --> src/jmap/session.rs:117:9 | 113 | pub struct MailAccountCapabilities { | ----------------------- fields in this struct ... 117 | pub max_mailboxes_per_email: Option, | ^^^^^^^^^^^^^^^^^^^^^^^ ... 120 | pub max_mailbox_depth: Option, | ^^^^^^^^^^^^^^^^^ ... 123 | pub max_size_mailbox_name: u64, | ^^^^^^^^^^^^^^^^^^^^^ ... 141 | pub max_size_attachments_per_email: u64, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 146 | pub email_query_sort_options: Vec, | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 150 | pub may_create_top_level_mailbox: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `MailAccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: method `all_tags` is never used --> src/local.rs:171:12 | 90 | impl Local { | ---------- method in this implementation ... 171 | pub fn all_tags(&self) -> Result { | ^^^^^^^^ warning: field `keywords` is never read --> src/remote.rs:1293:9 | 1290 | pub struct Email { | ----- field in this struct ... 1293 | pub keywords: HashSet, | ^^^^^^^^ | = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: call to `.clone()` on a reference in this situation does nothing --> src/local.rs:258:40 | 258 | query: query_string.clone(), | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.clone()` on a reference in this situation does nothing --> src/local.rs:264:36 | 264 | query: query_string.clone(), | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: `mujmap` (bin "mujmap") generated 19 warnings (run `cargo fix --bin "mujmap" -p mujmap` to apply 3 suggestions) Finished `release` profile [optimized] target(s) in 27.23s Executing cargoInstallPostBuildHook Finished cargoInstallPostBuildHook Finished cargoBuildHook Running phase: checkPhase Executing cargoCheckHook cargoCheckHook flags: -j 32 --profile release --target x86_64-unknown-linux-gnu --offline -- Compiling mujmap v0.2.0 (/build/source) warning: variable does not need to be mutable --> src/sync.rs:543:33 | 543 | if let Some(mut new_email) = new_emails.get_mut(&remote_email.id) { | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: field `created_ids` is never read --> src/jmap/response.rs:22:9 | 14 | pub struct Response { | -------- field in this struct ... 22 | pub created_ids: Option>, | ^^^^^^^^^^^ | = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `account_id` and `not_found` are never read --> src/jmap/response.rs:130:9 | 128 | pub struct MethodResponseGet { | ----------------- fields in this struct 129 | /// The id of the account used for the call. 130 | pub account_id: Id, | ^^^^^^^^^^ ... 153 | pub not_found: Vec, | ^^^^^^^^^ | = note: `MethodResponseGet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `account_id` is never read --> src/jmap/response.rs:165:9 | 163 | pub struct MethodResponseGetIdentity { | ------------------------- field in this struct 164 | /// The id of the account used for the call. 165 | pub account_id: Id, | ^^^^^^^^^^ | = note: `MethodResponseGetIdentity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `query_state`, `can_calculate_changes`, `position`, and `total` are never read --> src/jmap/response.rs:178:9 | 176 | pub struct MethodResponseQuery { | ------------------- fields in this struct 177 | /// The id of the account used for the call. 178 | pub account_id: Id, | ^^^^^^^^^^ ... 195 | pub query_state: State, | ^^^^^^^^^^^ ... 200 | pub can_calculate_changes: bool, | ^^^^^^^^^^^^^^^^^^^^^ ... 203 | pub position: u64, | ^^^^^^^^ ... 210 | pub total: Option, | ^^^^^ | = note: `MethodResponseQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id` and `old_state` are never read --> src/jmap/response.rs:220:9 | 218 | pub struct MethodResponseChanges { | --------------------- fields in this struct 219 | /// The id of the account used for the call. 220 | pub account_id: Id, | ^^^^^^^^^^ ... 223 | pub old_state: State, | ^^^^^^^^^ | = note: `MethodResponseChanges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `old_state`, `new_state`, `updated`, and `destroyed` are never read --> src/jmap/response.rs:241:9 | 239 | pub struct MethodResponseSet { | ----------------- fields in this struct 240 | /// The id of the account used for the call. 241 | pub account_id: Id, | ^^^^^^^^^^ ... 244 | pub old_state: Option, | ^^^^^^^^^ 245 | /// The state string that will now be returned by `T/get`. 246 | pub new_state: Option, | ^^^^^^^^^ ... 261 | pub updated: Option>, | ^^^^^^^ 262 | /// A list of `T` ids for records that were successfully destroyed, or `None` if none. 263 | pub destroyed: Option>, | ^^^^^^^^^ | = note: `MethodResponseSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `old_state`, and `new_state` are never read --> src/jmap/response.rs:279:9 | 277 | pub struct MethodResponseEmailImport { | ------------------------- fields in this struct 278 | /// The id of the account used for the call. 279 | pub account_id: Id, | ^^^^^^^^^^ ... 282 | pub old_state: Option, | ^^^^^^^^^ 283 | /// The state string that will now be returned by `Email/get`. 284 | pub new_state: Option, | ^^^^^^^^^ | = note: `MethodResponseEmailImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `account_id`, `content_type`, and `size` are never read --> src/jmap/response.rs:538:9 | 536 | pub struct BlobUploadResponse { | ------------------ fields in this struct 537 | /// The id of the account used for the call. 538 | pub account_id: Id, | ^^^^^^^^^^ ... 546 | pub content_type: String, | ^^^^^^^^^^^^ 547 | /// The size of the file in octets. 548 | pub size: u64, | ^^^^ | = note: `BlobUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `accounts` and `event_source_url` are never read --> src/jmap/session.rs:12:9 | 8 | pub struct Session { | ------- fields in this struct ... 12 | pub accounts: HashMap, | ^^^^^^^^ ... 31 | pub event_source_url: String, | ^^^^^^^^^^^^^^^^ | = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `mail` is never read --> src/jmap/session.rs:51:9 | 47 | pub struct Capabilities { | ------------ field in this struct ... 51 | pub mail: EmptyCapabilities, | ^^^^ | = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `max_size_upload`, `max_concurrent_upload`, `max_size_request`, `max_concurrent_requests`, `max_calls_in_request`, and `collation_algorithms` are never read --> src/jmap/session.rs:59:9 | 56 | pub struct CoreCapabilities { | ---------------- fields in this struct ... 59 | pub max_size_upload: u64, | ^^^^^^^^^^^^^^^ 60 | /// The maximum number of concurrent requests the server will accept to the upload endpoint. 61 | pub max_concurrent_upload: u64, | ^^^^^^^^^^^^^^^^^^^^^ ... 64 | pub max_size_request: u64, | ^^^^^^^^^^^^^^^^ 65 | /// The maximum number of concurrent requests the server will accept to the API endpoint. 66 | pub max_concurrent_requests: u64, | ^^^^^^^^^^^^^^^^^^^^^^^ ... 69 | pub max_calls_in_request: u64, | ^^^^^^^^^^^^^^^^^^^^ ... 79 | pub collation_algorithms: Vec, | ^^^^^^^^^^^^^^^^^^^^ | = note: `CoreCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `name`, `is_personal`, `is_read_only`, and `account_capabilities` are never read --> src/jmap/session.rs:90:9 | 87 | pub struct Account { | ------- fields in this struct ... 90 | pub name: String, | ^^^^ ... 93 | pub is_personal: bool, | ^^^^^^^^^^^ 94 | /// This is `true` if the entire account is read-only. 95 | pub is_read_only: bool, | ^^^^^^^^^^^^ ... 100 | pub account_capabilities: AccountCapabilities, | ^^^^^^^^^^^^^^^^^^^^ | = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `core` and `mail` are never read --> src/jmap/session.rs:106:9 | 104 | pub struct AccountCapabilities { | ------------------- fields in this struct 105 | #[serde(default, rename = "urn:ietf:params:jmap:core")] 106 | pub core: EmptyCapabilities, | ^^^^ 107 | #[serde(rename = "urn:ietf:params:jmap:mail")] 108 | pub mail: MailAccountCapabilities, | ^^^^ | = note: `AccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: 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 read --> src/jmap/session.rs:117:9 | 113 | pub struct MailAccountCapabilities { | ----------------------- fields in this struct ... 117 | pub max_mailboxes_per_email: Option, | ^^^^^^^^^^^^^^^^^^^^^^^ ... 120 | pub max_mailbox_depth: Option, | ^^^^^^^^^^^^^^^^^ ... 123 | pub max_size_mailbox_name: u64, | ^^^^^^^^^^^^^^^^^^^^^ ... 141 | pub max_size_attachments_per_email: u64, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 146 | pub email_query_sort_options: Vec, | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 150 | pub may_create_top_level_mailbox: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `MailAccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: method `all_tags` is never used --> src/local.rs:171:12 | 90 | impl Local { | ---------- method in this implementation ... 171 | pub fn all_tags(&self) -> Result { | ^^^^^^^^ warning: field `keywords` is never read --> src/remote.rs:1293:9 | 1290 | pub struct Email { | ----- field in this struct ... 1293 | pub keywords: HashSet, | ^^^^^^^^ | = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: call to `.clone()` on a reference in this situation does nothing --> src/local.rs:258:40 | 258 | query: query_string.clone(), | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.clone()` on a reference in this situation does nothing --> src/local.rs:264:36 | 264 | query: query_string.clone(), | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed warning: `mujmap` (bin "mujmap" test) generated 19 warnings (run `cargo fix --bin "mujmap" -p mujmap --tests` to apply 3 suggestions) Finished `release` profile [optimized] target(s) in 1.92s Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/mujmap-abcc7ad4a6c043a4) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Finished cargoCheckHook Running phase: installPhase Executing cargoInstallHook Finished cargoInstallHook Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220 shrinking /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin/mujmap checking for references to /build/ in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220... patching script interpreter paths in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220 stripping (with command strip and flags -S -p) in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin