nixbot

builds

succeeded mujmap-patched-0.2.0+korrat-pr58-4fe8220 checks.x86_64-linux.package-mujmap-patched · build #5 · raw

unpackPhase
1unpacking source archive /nix/store/40yiivphrsnm0mkwgvswwbg2w3xxw191-source2source root is source3Executing cargoSetupPostUnpackHook4Finished cargoSetupPostUnpackHook
patchPhase
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 cargoSetupPostPatchHook
buildPhase
11Executing cargoBuildHook12cargoBuildHook flags: -j 32 --target x86_64-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 lazy_static v1.4.020 Compiling once_cell v1.10.021 Compiling memchr v2.4.122 Compiling log v0.4.1623 Compiling version_check v0.9.424 Compiling cc v1.0.7325 Compiling crossbeam-utils v0.8.826 Compiling tinyvec_macros v0.1.027 Compiling scopeguard v1.1.028 Compiling futures-core v0.3.2129 Compiling serde_derive v1.0.13630 Compiling strsim v0.9.331 Compiling fnv v1.0.732 Compiling untrusted v0.7.133 Compiling ident_case v1.0.134 Compiling heck v0.4.035 Compiling matches v0.1.936 Compiling spin v0.5.237 Compiling serde v1.0.13638 Compiling percent-encoding v2.1.039 Compiling futures-task v0.3.2140 Compiling unicode-bidi v0.3.741 Compiling bitflags v1.3.242 Compiling parking_lot_core v0.9.343 Compiling smallvec v1.9.044 Compiling futures-util v0.3.2145 Compiling tinyvec v1.6.046 Compiling crc32fast v1.3.247 Compiling pin-project-lite v0.2.948 Compiling futures-channel v0.3.2149 Compiling async-trait v0.1.5750 Compiling ppv-lite86 v0.2.1651 Compiling rayon-core v1.9.252 Compiling regex-syntax v0.6.2553 Compiling doc-comment v0.3.354 Compiling os_str_bytes v6.0.055 Compiling serde_json v1.0.7956 Compiling match_cfg v0.1.057 Compiling form_urlencoded v1.0.158 Compiling unicode-width v0.1.959 Compiling rustls v0.20.460 Compiling termcolor v1.1.361 Compiling unicode-segmentation v1.9.062 Compiling pin-utils v0.1.063 Compiling hashbrown v0.11.264 Compiling bytes v1.2.165 Compiling adler v1.0.266 Compiling textwrap v0.11.067 Compiling either v1.6.168 Compiling strsim v0.8.069 Compiling proc-macro-error-attr v1.0.470 Compiling proc-macro-error v1.0.471 Compiling clap_lex v0.2.072 Compiling memoffset v0.6.573 Compiling crossbeam-epoch v0.9.874 Compiling slab v0.4.775 Compiling tokio v1.20.176 Compiling indexmap v1.8.177 Compiling lock_api v0.4.778 Compiling miniz_oxide v0.5.179 Compiling rayon v1.5.280 Compiling itoa v1.0.181 Compiling ansi_term v0.12.182 Compiling quick-error v1.2.383 Compiling linked-hash-map v0.5.684 Compiling textwrap v0.15.085 Compiling ryu v1.0.986 Compiling strsim v0.10.087 Compiling vec_map v0.8.288 Compiling futures-io v0.3.2189 Compiling data-encoding v2.3.290 Compiling ipnet v2.5.091 Compiling heck v0.3.392 Compiling unicode-xid v0.2.293 Compiling number_prefix v0.4.094 Compiling base64 v0.13.095 Compiling chunked_transfer v1.4.096 Compiling lru-cache v0.1.297 Compiling humantime v2.1.098 Compiling crossbeam-channel v0.5.499 Compiling yansi v0.4.0100 Compiling itertools v0.10.3101 Compiling num_cpus v1.13.1102 Compiling atty v0.2.14103 Compiling getrandom v0.2.6104 Compiling socket2 v0.4.4105 Compiling mio v0.8.4106 Compiling terminal_size v0.1.17107 Compiling aho-corasick v0.7.18108 Compiling hostname v0.3.1109 Compiling console v0.15.0110 Compiling clap v2.34.0111 Compiling quote v1.0.18112 Compiling rand_core v0.6.3113 Compiling flate2 v1.0.23114 Compiling resolv-conf v0.7.0115 Compiling dirs-sys v0.3.7116 Compiling fslock v0.2.1117 Compiling ring v0.16.20118 Compiling crossbeam-deque v0.8.1119 Compiling unicode-normalization v0.1.19120 Compiling rand_chacha v0.3.1121 Compiling parking_lot v0.12.1122 Compiling directories v4.0.1123 Compiling const_format_proc_macros v0.2.22124 Compiling email-parser v0.5.0125 Compiling fqdn v0.1.9126 Compiling rand v0.8.5127 Compiling symlink v0.1.0128 Compiling idna v0.2.3129 Compiling const_format v0.2.22130 Compiling url v2.2.2131 Compiling regex v1.5.5132 Compiling uritemplate-next v0.2.0133 Compiling env_logger v0.9.0134 Compiling indicatif v0.16.2135 Compiling loe v0.3.0136 Compiling darling_core v0.10.2137 Compiling thiserror-impl v1.0.31138 Compiling clap_derive v3.1.7139 Compiling enum-as-inner v0.4.0140 Compiling snafu-derive v0.7.0141 Compiling darling_macro v0.10.2142 Compiling thiserror v1.0.31143 Compiling trust-dns-proto v0.21.2144 Compiling darling v0.10.2145 Compiling from_variants_impl v0.6.0146 Compiling clap v3.1.14147 Compiling snafu v0.7.0148 Compiling webpki v0.22.0149 Compiling sct v0.7.0150 Compiling webpki-roots v0.22.3151 Compiling from_variants v0.6.0152 Compiling notmuch v0.8.0153 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 27.23s449Executing cargoInstallPostBuildHook450Finished cargoInstallPostBuildHook451Finished cargoBuildHook
checkPhase
452Executing cargoCheckHook453cargoCheckHook flags: -j 32 --profile release --target x86_64-unknown-linux-gnu --offline --454 Compiling mujmap v0.2.0 (/build/source)455warning: variable does not need to be mutable456 --> src/sync.rs:543:33457 |458543 | if let Some(mut new_email) = new_emails.get_mut(&remote_email.id) {459 | ----^^^^^^^^^460 | |461 | help: remove this `mut`462 |463 = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default464465warning: field `created_ids` is never read466 --> src/jmap/response.rs:22:9467 |46814 | pub struct Response {469 | -------- field in this struct470...47122 | pub created_ids: Option<HashMap<String, Id>>,472 | ^^^^^^^^^^^473 |474 = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis475 = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default476477warning: fields `account_id` and `not_found` are never read478 --> src/jmap/response.rs:130:9479 |480128 | pub struct MethodResponseGet<T> {481 | ----------------- fields in this struct482129 | /// The id of the account used for the call.483130 | pub account_id: Id,484 | ^^^^^^^^^^485...486153 | pub not_found: Vec<Id>,487 | ^^^^^^^^^488 |489 = note: `MethodResponseGet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis490491warning: field `account_id` is never read492 --> src/jmap/response.rs:165:9493 |494163 | pub struct MethodResponseGetIdentity {495 | ------------------------- field in this struct496164 | /// The id of the account used for the call.497165 | pub account_id: Id,498 | ^^^^^^^^^^499 |500 = note: `MethodResponseGetIdentity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis501502warning: fields `account_id`, `query_state`, `can_calculate_changes`, `position`, and `total` are never read503 --> src/jmap/response.rs:178:9504 |505176 | pub struct MethodResponseQuery {506 | ------------------- fields in this struct507177 | /// The id of the account used for the call.508178 | pub account_id: Id,509 | ^^^^^^^^^^510...511195 | pub query_state: State,512 | ^^^^^^^^^^^513...514200 | pub can_calculate_changes: bool,515 | ^^^^^^^^^^^^^^^^^^^^^516...517203 | pub position: u64,518 | ^^^^^^^^519...520210 | pub total: Option<u64>,521 | ^^^^^522 |523 = note: `MethodResponseQuery` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis524525warning: fields `account_id` and `old_state` are never read526 --> src/jmap/response.rs:220:9527 |528218 | pub struct MethodResponseChanges {529 | --------------------- fields in this struct530219 | /// The id of the account used for the call.531220 | pub account_id: Id,532 | ^^^^^^^^^^533...534223 | pub old_state: State,535 | ^^^^^^^^^536 |537 = note: `MethodResponseChanges` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis538539warning: fields `account_id`, `old_state`, `new_state`, `updated`, and `destroyed` are never read540 --> src/jmap/response.rs:241:9541 |542239 | pub struct MethodResponseSet<T> {543 | ----------------- fields in this struct544240 | /// The id of the account used for the call.545241 | pub account_id: Id,546 | ^^^^^^^^^^547...548244 | pub old_state: Option<State>,549 | ^^^^^^^^^550245 | /// The state string that will now be returned by `T/get`.551246 | pub new_state: Option<State>,552 | ^^^^^^^^^553...554261 | pub updated: Option<HashMap<Id, T>>,555 | ^^^^^^^556262 | /// A list of `T` ids for records that were successfully destroyed, or `None` if none.557263 | pub destroyed: Option<Vec<Id>>,558 | ^^^^^^^^^559 |560 = note: `MethodResponseSet` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis561562warning: fields `account_id`, `old_state`, and `new_state` are never read563 --> src/jmap/response.rs:279:9564 |565277 | pub struct MethodResponseEmailImport {566 | ------------------------- fields in this struct567278 | /// The id of the account used for the call.568279 | pub account_id: Id,569 | ^^^^^^^^^^570...571282 | pub old_state: Option<State>,572 | ^^^^^^^^^573283 | /// The state string that will now be returned by `Email/get`.574284 | pub new_state: Option<State>,575 | ^^^^^^^^^576 |577 = note: `MethodResponseEmailImport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis578579warning: fields `account_id`, `content_type`, and `size` are never read580 --> src/jmap/response.rs:538:9581 |582536 | pub struct BlobUploadResponse {583 | ------------------ fields in this struct584537 | /// The id of the account used for the call.585538 | pub account_id: Id,586 | ^^^^^^^^^^587...588546 | pub content_type: String,589 | ^^^^^^^^^^^^590547 | /// The size of the file in octets.591548 | pub size: u64,592 | ^^^^593 |594 = note: `BlobUploadResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis595596warning: fields `accounts` and `event_source_url` are never read597 --> src/jmap/session.rs:12:9598 |599 8 | pub struct Session {600 | ------- fields in this struct601...60212 | pub accounts: HashMap<Id, Account>,603 | ^^^^^^^^604...60531 | pub event_source_url: String,606 | ^^^^^^^^^^^^^^^^607 |608 = note: `Session` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis609610warning: field `mail` is never read611 --> src/jmap/session.rs:51:9612 |61347 | pub struct Capabilities {614 | ------------ field in this struct615...61651 | pub mail: EmptyCapabilities,617 | ^^^^618 |619 = note: `Capabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis620621warning: fields `max_size_upload`, `max_concurrent_upload`, `max_size_request`, `max_concurrent_requests`, `max_calls_in_request`, and `collation_algorithms` are never read622 --> src/jmap/session.rs:59:9623 |62456 | pub struct CoreCapabilities {625 | ---------------- fields in this struct626...62759 | pub max_size_upload: u64,628 | ^^^^^^^^^^^^^^^62960 | /// The maximum number of concurrent requests the server will accept to the upload endpoint.63061 | pub max_concurrent_upload: u64,631 | ^^^^^^^^^^^^^^^^^^^^^632...63364 | pub max_size_request: u64,634 | ^^^^^^^^^^^^^^^^63565 | /// The maximum number of concurrent requests the server will accept to the API endpoint.63666 | pub max_concurrent_requests: u64,637 | ^^^^^^^^^^^^^^^^^^^^^^^638...63969 | pub max_calls_in_request: u64,640 | ^^^^^^^^^^^^^^^^^^^^641...64279 | pub collation_algorithms: Vec<String>,643 | ^^^^^^^^^^^^^^^^^^^^644 |645 = note: `CoreCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis646647warning: fields `name`, `is_personal`, `is_read_only`, and `account_capabilities` are never read648 --> src/jmap/session.rs:90:9649 |650 87 | pub struct Account {651 | ------- fields in this struct652...653 90 | pub name: String,654 | ^^^^655...656 93 | pub is_personal: bool,657 | ^^^^^^^^^^^658 94 | /// This is `true` if the entire account is read-only.659 95 | pub is_read_only: bool,660 | ^^^^^^^^^^^^661...662100 | pub account_capabilities: AccountCapabilities,663 | ^^^^^^^^^^^^^^^^^^^^664 |665 = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis666667warning: fields `core` and `mail` are never read668 --> src/jmap/session.rs:106:9669 |670104 | pub struct AccountCapabilities {671 | ------------------- fields in this struct672105 | #[serde(default, rename = "urn:ietf:params:jmap:core")]673106 | pub core: EmptyCapabilities,674 | ^^^^675107 | #[serde(rename = "urn:ietf:params:jmap:mail")]676108 | pub mail: MailAccountCapabilities,677 | ^^^^678 |679 = note: `AccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis680681warning: 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 read682 --> src/jmap/session.rs:117:9683 |684113 | pub struct MailAccountCapabilities {685 | ----------------------- fields in this struct686...687117 | pub max_mailboxes_per_email: Option<u64>,688 | ^^^^^^^^^^^^^^^^^^^^^^^689...690120 | pub max_mailbox_depth: Option<u64>,691 | ^^^^^^^^^^^^^^^^^692...693123 | pub max_size_mailbox_name: u64,694 | ^^^^^^^^^^^^^^^^^^^^^695...696141 | pub max_size_attachments_per_email: u64,697 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^698...699146 | pub email_query_sort_options: Vec<String>,700 | ^^^^^^^^^^^^^^^^^^^^^^^^701...702150 | pub may_create_top_level_mailbox: bool,703 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^704 |705 = note: `MailAccountCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis706707warning: method `all_tags` is never used708 --> src/local.rs:171:12709 |710 90 | impl Local {711 | ---------- method in this implementation712...713171 | pub fn all_tags(&self) -> Result<notmuch::Tags, notmuch::Error> {714 | ^^^^^^^^715716warning: field `keywords` is never read717 --> src/remote.rs:1293:9718 |7191290 | pub struct Email {720 | ----- field in this struct721...7221293 | pub keywords: HashSet<jmap::EmailKeyword>,723 | ^^^^^^^^724 |725 = note: `Email` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis726727warning: call to `.clone()` on a reference in this situation does nothing728 --> src/local.rs:258:40729 |730258 | query: query_string.clone(),731 | ^^^^^^^^ help: remove this redundant call732 |733 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed734 = note: `#[warn(noop_method_call)]` on by default735736warning: call to `.clone()` on a reference in this situation does nothing737 --> src/local.rs:264:36738 |739264 | query: query_string.clone(),740 | ^^^^^^^^ help: remove this redundant call741 |742 = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed743744warning: `mujmap` (bin "mujmap" test) generated 19 warnings (run `cargo fix --bin "mujmap" -p mujmap --tests` to apply 3 suggestions)745 Finished `release` profile [optimized] target(s) in 1.92s746 Running unittests src/main.rs (target/x86_64-unknown-linux-gnu/release/deps/mujmap-abcc7ad4a6c043a4)747748running 0 tests749750test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s751752Finished cargoCheckHook
installPhase
753Executing cargoInstallHook754Finished cargoInstallHook
fixupPhase
755shrinking RPATHs of ELF executables and libraries in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220756shrinking /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin/mujmap757checking for references to /build/ in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220...758patching script interpreter paths in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220759stripping (with command strip and flags -S -p) in /nix/store/dz93646k47lksnv5m70zrfszxcbwlfd6-mujmap-patched-0.2.0+korrat-pr58-4fe8220/bin