===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for meli-0.8.12 Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling libc v0.2.158 Compiling autocfg v1.3.0 Compiling cfg-if v1.0.0 Compiling serde v1.0.209 Compiling shlex v1.3.0 Compiling quote v1.0.37 Compiling cc v1.1.15 Compiling syn v2.0.76 Compiling crossbeam-utils v0.8.20 Compiling pin-project-lite v0.2.14 Compiling pkg-config v0.3.30 Compiling vcpkg v0.2.15 Compiling futures-core v0.3.31 Compiling once_cell v1.19.0 Compiling version_check v0.9.5 Compiling memchr v2.7.4 Compiling futures-io v0.3.31 Compiling concurrent-queue v2.5.0 Compiling parking v2.2.0 Compiling log v0.4.22 Compiling slab v0.4.9 Compiling openssl-sys v0.9.103 Compiling event-listener v5.3.1 Compiling fastrand v2.1.1 Compiling event-listener-strategy v0.5.2 Compiling tracing-core v0.1.32 Compiling futures-lite v2.3.0 Compiling ahash v0.8.11 Compiling libz-sys v1.1.20 Compiling libnghttp2-sys v0.1.10+1.61.0 Compiling rustix v0.38.35 Compiling errno v0.3.9 Compiling itoa v1.0.11 Compiling zerocopy v0.7.35 Compiling async-lock v3.4.0 Compiling serde_derive v1.0.209 Compiling tracing-attributes v0.1.27 Compiling curl-sys v0.4.74+curl-8.9.0 Compiling num-traits v0.2.19 Compiling syn v1.0.109 Compiling allocator-api2 v0.2.18 Compiling tinyvec_macros v0.1.1 Compiling adler2 v2.0.0 Compiling miniz_oxide v0.8.0 Compiling tracing v0.1.40 Compiling tinyvec v1.8.0 Compiling crc32fast v1.4.2 Compiling hashbrown v0.14.5 Compiling futures-sink v0.3.31 Compiling async-task v4.7.1 Compiling bitflags v1.3.2 Compiling atomic-waker v1.1.2 Compiling piper v0.2.4 Compiling futures-channel v0.3.31 Compiling unicode-normalization v0.1.23 Compiling bitflags v2.6.0 Compiling flate2 v1.0.33 Compiling futures-macro v0.3.31 Compiling async-channel v2.3.1 Compiling proc-macro-error-attr v1.0.4 Compiling signal-hook-registry v1.4.2 Compiling polling v3.7.3 Compiling async-io v2.3.4 Compiling percent-encoding v2.3.1 Compiling pin-utils v0.1.0 Compiling ryu v1.0.18 Compiling serde_json v1.0.127 Compiling futures-task v0.3.31 Compiling iana-time-zone v0.1.60 Compiling thiserror v1.0.63 Compiling unicode-bidi v0.3.15 Compiling chrono v0.4.38 Compiling idna v0.5.0 Compiling futures-util v0.3.31 Compiling form_urlencoded v1.2.1 Compiling aho-corasick v1.1.3 Compiling blocking v1.6.1 Compiling thiserror-impl v1.0.63 Compiling pin-project-internal v1.1.5 Compiling proc-macro-error v1.0.4 Compiling libsqlite3-sys v0.26.0 Compiling polling v2.8.0 Compiling memoffset v0.9.1 Compiling foreign-types-shared v0.1.1 Compiling time-core v0.1.2 Compiling openssl v0.10.66 Compiling powerfmt v0.2.0 Compiling openssl-probe v0.1.5 Compiling minimal-lexical v0.2.1 Compiling num-conv v0.1.0 Compiling equivalent v1.0.1 Compiling cfg_aliases v0.2.1 Compiling regex-syntax v0.8.4 Compiling event-listener v2.5.3 Compiling curl v0.4.46 Compiling async-channel v1.9.0 Compiling nom v7.1.3 Compiling time-macros v0.2.18 Compiling regex-automata v0.4.7 Compiling nix v0.29.0 Compiling indexmap v2.4.0 Compiling deranged v0.3.11 Compiling foreign-types v0.3.2 Compiling pin-project v1.1.5 Compiling url v2.5.2 Compiling async-signal v0.2.10 Compiling kqueue-sys v1.0.4 Compiling openssl-macros v0.1.1 Compiling bounded-static-derive v0.8.0 Compiling csv-core v0.1.11 Compiling crossbeam-channel v0.5.13 Compiling socket2 v0.5.7 Compiling getrandom v0.2.15 Compiling bounded-static v0.8.0 Compiling base64 v0.22.1 Compiling unicode-segmentation v1.11.0 Compiling bytes v1.7.1 Compiling fastrand v1.9.0 Compiling native-tls v0.2.12 Compiling isahc v1.7.2 Compiling sha1_smol v1.0.1 Compiling unicode-width v0.1.13 Compiling same-file v1.0.6 Compiling waker-fn v1.2.0 Compiling fnv v1.0.7 Compiling futures-lite v1.13.0 Compiling http v0.2.12 Compiling time v0.3.36 Compiling walkdir v2.5.0 Compiling textwrap v0.11.0 Compiling uuid v1.10.0 Compiling heck v0.3.3 Compiling imap-types v2.0.0-alpha.4 Compiling csv v1.3.0 Compiling kqueue v1.0.8 Compiling async-process v2.2.4 Compiling regex v1.10.6 Compiling tracing-futures v0.2.5 Compiling abnf-core v0.6.0 Compiling sluice v0.5.5 Compiling futures-executor v0.3.30 Compiling async-fs v2.1.2 Compiling async-net v2.0.0 Compiling melib v0.8.12 (/tmp/pkgbuild/mail/meli/work/meli/melib) Compiling serde_spanned v0.6.7 Compiling toml_datetime v0.6.8 Compiling smallvec v1.13.2 Compiling async-executor v1.13.0 Compiling hashlink v0.8.4 Compiling mio v0.8.11 Compiling crossbeam-epoch v0.9.18 Compiling filetime v0.2.25 Compiling encoding_rs v0.8.34 Compiling fallible-streaming-iterator v0.1.9 Compiling signal-hook v0.3.17 Compiling castaway v0.1.2 Compiling winnow v0.6.18 Compiling mime v0.3.17 Compiling fallible-iterator v0.2.0 Compiling rusqlite v0.29.0 Compiling toml_edit v0.22.20 Compiling crossbeam-deque v0.8.5 Compiling notify v6.1.1 Compiling smol v2.0.1 Compiling futures v0.3.30 Compiling imap-codec v2.0.0-alpha.5 Compiling meli v0.8.12 (/tmp/pkgbuild/mail/meli/work/meli/meli) Compiling structopt-derive v0.4.18 Compiling clap v2.34.0 Compiling async-fn-stream v0.2.2 Compiling serde_path_to_error v0.1.16 Compiling crossbeam-queue v0.3.11 Compiling libloading v0.8.5 Compiling numtoa v0.1.0 Compiling xdg v2.5.2 Compiling lazy_static v1.5.0 Compiling data-encoding v2.6.0 Compiling structopt v0.3.26 Compiling termion v1.5.6 Compiling crossbeam v0.8.4 Compiling toml v0.8.19 Compiling linkify v0.10.0 warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:3336:18 | 3336 | unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::cast_signed(self._bitfield_1.get(2usize, 30u8) as u32)` | = note: `#[warn(unnecessary_transmutes)]` on by default warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:3341:28 | 3341 | let val: u32 = ::core::mem::transmute(val); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(val)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:3361:41 | 3361 | let _unused: u32 = unsafe { ::core::mem::transmute(_unused) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(_unused)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4412:18 | 4412 | unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 27u8) as u32) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::cast_signed(self._bitfield_1.get(5usize, 27u8) as u32)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4417:28 | 4417 | let val: u32 = ::core::mem::transmute(val); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(val)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4452:41 | 4452 | let _unused: u32 = unsafe { ::core::mem::transmute(_unused) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(_unused)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4640:18 | 4640 | unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 26u8) as u32) } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::cast_signed(self._bitfield_1.get(6usize, 26u8) as u32)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4645:28 | 4645 | let val: u32 = ::core::mem::transmute(val); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(val)` warning: unnecessary transmute --> melib/src/gpgme/bindings_rest.rs:4680:41 | 4680 | let _unused: u32 = unsafe { ::core::mem::transmute(_unused) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `i32::cast_unsigned(_unused)` error: duplicate serde attribute `default` --> meli/src/conf/overrides.rs:45:1729 | 45 | ...te-lookup-mechanisms"))] # [cfg (feature = "gpgme")] # [serde (default)] pub remote_lookup_mechanisms : Option < melib :: gpgme :: Loc... | ^^^^^^^ warning: `#[must_use]` has no effect when applied to a provided trait method --> meli/src/terminal/screen.rs:607:5 | 607 | #[must_use] | ^^^^^^^^^^^ | = note: `#[warn(unused_attributes)]` on by default warning: `#[must_use]` has no effect when applied to a provided trait method --> meli/src/terminal/screen.rs:614:5 | 614 | #[must_use] | ^^^^^^^^^^^ error[E0308]: mismatched types --> meli/src/conf/overrides.rs:33:20 | 33 | ... , Serialize , Deserialize , Clone)] # [serde (deny_unknown_fields)] pub struct PagerSettingsOverride { # [doc = " Number of context lines when going to next page."] # [doc = " Default: 0"] # [serde (alias = "pager-context")] # [serde (default)] pub pager_context : Option < usize > , # [doc = " Stop at the end instead of displaying next mail."] # [doc = " Default: false"] # [serde (alias = "pager-stop")] # [serde (default)] pub pager_stop : Option < bool > , # [doc = " Always show headers when scrolling."] # [doc = " Default: true"] # [serde (alias = "sticky-headers" , alias = "headers-sticky" , alias = "headers_sticky")] # [serde (default)] pub sticky_headers : Option < bool > , # [doc = " The height of the pager in mail view, in percent."] # [doc = " Default: 80"] # [serde (alias = "pager-ratio")] # [serde (default)] pub pager_ratio : Option < usize > , # [doc = " A command to pipe mail output through for viewing in pager."] # [doc = " Default: None"] # [serde (deserialize_with = "non_empty_opt_string")] # [serde (default)] pub filter : Option < Option < String > > , # [doc = " Named filter commands to use at will."] # [doc = ""] # [doc = " Default: empty"] # [serde (skip_serializing_if = "IndexMap::is_empty")] ... | ^^^^^^^^^ expected `&IndexMap<_, _, _>`, found `&Option>` -------------------- arguments to this function are incorrect | = note: expected reference `&indexmap::IndexMap<_, _, _>` found reference `&std::option::Option>` note: method defined here --> /tmp/pkgbuild/mail/meli/work/vendor/indexmap-2.4.0/src/map.rs:235:12 | 235 | pub fn is_empty(&self) -> bool { | ^^^^^^^^ = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `overrides::PGPSettingsOverride: conf::serde::Deserialize<'_>` is not satisfied --> meli/src/conf.rs:145:14 | 145 | pub pgp: PGPSettingsOverride, | ^^^^^^^^^^^^^^^^^^^ the trait `conf::serde::Deserialize<'_>` is not implemented for `overrides::PGPSettingsOverride` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `overrides::PGPSettingsOverride` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `conf::serde::Deserialize<'de>`: &'a [u8] &'a serde_json::value::RawValue &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) and 385 others note: required by a bound in `next_element` --> /tmp/pkgbuild/mail/meli/work/vendor/serde-1.0.209/src/de/mod.rs:1733:12 | 1731 | fn next_element(&mut self) -> Result, Self::Error> | ------------ required by a bound in this associated function 1732 | where 1733 | T: Deserialize<'de>, | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` error[E0277]: the trait bound `overrides::PGPSettingsOverride: conf::serde::Deserialize<'_>` is not satisfied --> meli/src/conf.rs:145:14 | 145 | pub pgp: PGPSettingsOverride, | ^^^^^^^^^^^^^^^^^^^ the trait `conf::serde::Deserialize<'_>` is not implemented for `overrides::PGPSettingsOverride` | = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `overrides::PGPSettingsOverride` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `conf::serde::Deserialize<'de>`: &'a [u8] &'a serde_json::value::RawValue &'a std::path::Path &'a str () (T,) (T0, T1) (T0, T1, T2) and 385 others note: required by a bound in `next_value` --> /tmp/pkgbuild/mail/meli/work/vendor/serde-1.0.209/src/de/mod.rs:1872:12 | 1870 | fn next_value(&mut self) -> Result | ---------- required by a bound in this associated function 1871 | where 1872 | V: Deserialize<'de>, | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` error[E0277]: the trait bound `overrides::PGPSettingsOverride: conf::serde::Serialize` is not satisfied --> meli/src/conf.rs:124:46 | 124 | #[derive(Clone, Debug, Default, Deserialize, Serialize)] | ^^^^^^^^^ the trait `conf::serde::Serialize` is not implemented for `overrides::PGPSettingsOverride` ... 144 | #[serde(default)] | - required by a bound introduced by this call | = note: for local types consider adding `#[derive(serde::Serialize)]` to your `overrides::PGPSettingsOverride` type = note: for types from other crates check whether the crate offers a `serde` feature flag = help: the following other types implement trait `conf::serde::Serialize`: &'a T &'a mut T () (T,) (T0, T1) (T0, T1, T2) (T0, T1, T2, T3) (T0, T1, T2, T3, T4) and 383 others note: required by a bound in `conf::serde::ser::SerializeStruct::serialize_field` --> /tmp/pkgbuild/mail/meli/work/vendor/serde-1.0.209/src/ser/mod.rs:1867:21 | 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> | --------------- required by a bound in this associated function 1866 | where 1867 | T: ?Sized + Serialize; | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. warning: `meli` (lib) generated 2 warnings error: could not compile `meli` (lib) due to 5 previous errors; 2 warnings emitted warning: build failed, waiting for other jobs to finish... warning: `melib` (lib) generated 9 warnings (run `cargo fix --lib -p melib` to apply 9 suggestions) *** Error code 101 Stop. make[1]: stopped making "all" in /usr/pkgsrc/mail/meli *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/mail/meli