>>> sequoia-sqv: Building testing/sequoia-sqv 0.9.0-r5 (using abuild 3.9.0-r3) started Wed, 03 Aug 2022 19:40:13 +0000 >>> sequoia-sqv: Checking sanity of /home/buildozer/aports/testing/sequoia-sqv/APKBUILD... >>> WARNING: sequoia-sqv: No maintainer >>> sequoia-sqv: Analyzing dependencies... >>> sequoia-sqv: Installing for build: build-base capnproto-dev cargo clang-dev nettle-dev openssl-dev>3 py3-cffi py3-pytest py3-setuptools python3-dev sqlite-dev (1/45) Installing libucontext (1.2-r0) (2/45) Installing libucontext-dev (1.2-r0) (3/45) Installing capnproto (0.10.2-r0) (4/45) Installing capnproto-dev (0.10.2-r0) (5/45) Installing rust-stdlib (1.62.1-r2) (6/45) Installing libffi (3.4.2-r1) (7/45) Installing libxml2 (2.9.14-r1) (8/45) Installing llvm14-libs (14.0.6-r2) (9/45) Installing rust (1.62.1-r2) (10/45) Installing cargo (1.62.1-r2) (11/45) Installing clang-libs (14.0.6-r1) (12/45) Installing clang (14.0.6-r1) (13/45) Installing clang-extra-tools (14.0.6-r1) (14/45) Installing clang-dev (14.0.6-r1) (15/45) Installing libgmpxx (6.2.1-r2) (16/45) Installing gmp-dev (6.2.1-r2) (17/45) Installing nettle (3.8.1-r0) (18/45) Installing nettle-dev (3.8.1-r0) (19/45) Installing openssl-dev (3.0.5-r1) (20/45) Installing gdbm (1.23-r0) (21/45) Installing mpdecimal (2.5.1-r1) (22/45) Installing readline (8.1.2-r0) (23/45) Installing sqlite-libs (3.39.2-r0) (24/45) Installing python3 (3.10.5-r2) (25/45) Installing py3-cparser (2.20-r2) (26/45) Installing py3-cffi (1.15.1-r0) (27/45) Installing py3-atomicwrites (1.4.1-r0) (28/45) Installing py3-attrs (21.4.0-r0) (29/45) Installing py3-iniconfig (1.1.1-r3) (30/45) Installing py3-more-itertools (8.13.0-r0) (31/45) Installing py3-parsing (3.0.9-r0) (32/45) Installing py3-six (1.16.0-r2) (33/45) Installing py3-packaging (21.3-r1) (34/45) Installing py3-pluggy (1.0.0-r0) (35/45) Installing py3-py (1.10.0-r2) (36/45) Installing py3-pygments (2.11.2-r0) (37/45) Installing py3-tomli (2.0.1-r1) (38/45) Installing py3-wcwidth (0.2.5-r2) (39/45) Installing py3-pytest (7.1.2-r1) (40/45) Installing py3-appdirs (1.4.4-r4) (41/45) Installing py3-ordered-set (4.0.2-r4) (42/45) Installing py3-setuptools (59.4.0-r0) (43/45) Installing python3-dev (3.10.5-r2) (44/45) Installing sqlite-dev (3.39.2-r0) (45/45) Installing .makedepends-sequoia-sqv (20220803.194014) Executing busybox-1.35.0-r22.trigger OK: 1207 MiB in 147 packages >>> sequoia-sqv: Cleaning up srcdir >>> sequoia-sqv: Cleaning up pkgdir >>> sequoia-sqv: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sequoia-v0.9.0.tar.gz >>> sequoia-sqv: Fetching https://distfiles.alpinelinux.org/distfiles/edge//sequoia-v0.9.0.tar.gz >>> sequoia-sqv: Checking sha512sums... sequoia-v0.9.0.tar.gz: OK >>> sequoia-sqv: Unpacking /var/cache/distfiles/edge//sequoia-v0.9.0.tar.gz... Files sqv/Cargo.toml.orig and sqv/Cargo.toml are identical make: Entering directory '/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv' CARGO_TARGET_DIR=/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target \ cargo build --locked --release --package sequoia-sqv Downloading crates ... Downloaded atty v0.2.11 Downloaded new_debug_unreachable v1.0.3 Downloaded log v0.4.6 Downloaded libloading v0.5.2 Downloaded nettle-sys v2.0.1 Downloaded phf_shared v0.7.24 Downloaded ordermap v0.3.5 Downloaded quote v0.6.12 Downloaded quick-error v1.2.2 Downloaded rand_core v0.4.0 Downloaded string_cache_shared v0.3.0 Downloaded synstructure v0.10.2 Downloaded strsim v0.9.2 Downloaded thread_local v0.3.6 Downloaded time v0.1.42 Downloaded termcolor v1.0.5 Downloaded syn v0.15.39 Downloaded ucd-util v0.1.3 Downloaded vec_map v0.8.1 Downloaded typenum v1.10.0 Downloaded unicode-normalization v0.1.8 Downloaded unicode-width v0.1.5 Downloaded ascii-canvas v2.0.0 Downloaded serde v1.0.94 Downloaded safemem v0.3.0 Downloaded bit-vec v0.5.1 Downloaded pkg-config v0.3.14 Downloaded spin v0.5.0 Downloaded string_cache v0.7.3 Downloaded aho-corasick v0.7.4 Downloaded cfg-if v0.1.9 Downloaded cexpr v0.3.5 Downloaded cc v1.0.37 Downloaded byteorder v1.3.2 Downloaded utf8-ranges v1.0.3 Downloaded regex v1.1.9 Downloaded unicode-bidi v0.3.4 Downloaded bit-set v0.5.1 Downloaded bitflags v1.1.0 Downloaded bindgen v0.47.3 Downloaded petgraph v0.4.13 Downloaded clang-sys v0.26.4 Downloaded diff v0.1.11 Downloaded backtrace v0.3.32 Downloaded autocfg v0.1.4 Downloaded nom v4.2.3 Downloaded sha2 v0.8.0 Downloaded clap v2.33.0 Downloaded lalrpop-util v0.17.1 Downloaded smallvec v0.6.10 Downloaded failure v0.1.5 Downloaded either v1.5.2 Downloaded memchr v2.2.1 Downloaded humantime v1.2.0 Downloaded docopt v1.1.0 Downloaded phf_generator v0.7.24 Downloaded rustc-demangle v0.1.15 Downloaded memsec v0.5.6 Downloaded ena v0.13.0 Downloaded getrandom v0.1.6 Downloaded quickcheck v0.8.5 Downloaded lalrpop v0.17.1 Downloaded opaque-debug v0.2.2 Downloaded lazy_static v1.3.0 Downloaded itertools v0.8.0 Downloaded generic-array v0.12.3 Downloaded backtrace-sys v0.1.30 Downloaded hashbrown v0.1.8 Downloaded fixedbitset v0.1.9 Downloaded libc v0.2.59 Downloaded string_cache_codegen v0.4.2 Downloaded serde_derive v1.0.94 Downloaded block-padding v0.1.4 Downloaded failure_derive v0.1.5 Downloaded nettle v5.0.2 Downloaded regex-syntax v0.6.8 Compiling libc v0.2.59 Compiling autocfg v0.1.4 Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Compiling memchr v2.2.1 Compiling syn v0.15.39 Compiling byteorder v1.3.2 Compiling rand_core v0.4.0 Compiling cc v1.0.37 Compiling regex v1.1.9 Compiling spin v0.5.0 Compiling cfg-if v0.1.9 Compiling ucd-util v0.1.3 Compiling utf8-ranges v1.0.3 Compiling bitflags v1.1.0 Compiling siphasher v0.2.3 Compiling typenum v1.10.0 Compiling failure_derive v0.1.5 Compiling string_cache_shared v0.3.0 Compiling serde v1.0.94 Compiling byte-tools v0.3.1 Compiling unicode-width v0.1.5 Compiling glob v0.2.11 Compiling version_check v0.1.5 Compiling rustc-demangle v0.1.15 Compiling strsim v0.8.0 Compiling vec_map v0.8.1 Compiling ansi_term v0.11.0 Compiling ordermap v0.3.5 Compiling precomputed-hash v0.1.1 Compiling opaque-debug v0.2.2 Compiling quick-error v1.2.2 Compiling fixedbitset v0.1.9 Compiling fake-simd v0.1.2 Compiling either v1.5.2 Compiling strsim v0.9.2 Compiling new_debug_unreachable v1.0.3 Compiling bit-vec v0.5.1 Compiling lalrpop-util v0.17.1 Compiling diff v0.1.11 Compiling termcolor v1.0.5 Compiling bindgen v0.47.3 Compiling scopeguard v0.3.3 Compiling peeking_take_while v0.1.2 Compiling pkg-config v0.3.14 Compiling memsec v0.5.6 Compiling smallvec v0.6.10 Compiling matches v0.1.8 Compiling safemem v0.3.0 Compiling log v0.4.6 Compiling regex-syntax v0.6.8 Compiling lazy_static v1.3.0 Compiling block-padding v0.1.4 Compiling thread_local v0.3.6 Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Compiling phf_shared v0.7.24 Compiling textwrap v0.11.0 Compiling unicode-bidi v0.3.4 Compiling humantime v1.2.0 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.1 Compiling ena v0.13.0 Compiling itertools v0.8.0 Compiling unicode-normalization v0.1.8 Compiling bit-set v0.5.1 Compiling petgraph v0.4.13 Compiling rand_chacha v0.1.1 Compiling rand_pcg v0.1.2 Compiling rand v0.6.5 Compiling nom v4.2.3 Compiling aho-corasick v0.7.4 Compiling clang-sys v0.26.4 Compiling hashbrown v0.1.8 Compiling base64 v0.9.3 Compiling quote v0.6.12 Compiling atty v0.2.11 Compiling rand_os v0.1.3 Compiling dirs v1.0.5 Compiling getrandom v0.1.6 Compiling time v0.1.42 Compiling buffered-reader v0.9.0 (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/buffered-reader) Compiling clap v2.33.0 Compiling term v0.5.2 warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:868:40 | 868 | impl <'a, C> BufferedReader for Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 868 - impl <'a, C> BufferedReader for Box + 'a> { 868 + impl <'a, C> BufferedReader for Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:802:54 | 802 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 802 - fn into_inner<'a>(self: Box) -> Option + 'a>> 802 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:812:42 | 812 | fn get_mut(&mut self) -> Option<&mut BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 812 - fn get_mut(&mut self) -> Option<&mut BufferedReader>; 812 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:815:34 | 815 | fn get_ref(&self) -> Option<&BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 815 - fn get_ref(&self) -> Option<&BufferedReader>; 815 + fn get_ref(&self) -> Option<&dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:927:42 | 927 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 927 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 927 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:932:34 | 932 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 932 - fn get_ref(&self) -> Option<&BufferedReader> { 932 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:937:54 | 937 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 937 - fn into_inner<'b>(self: Box) -> Option + 'b>> 937 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:9:17 | 9 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 9 - reader: Box<'a + BufferedReader>, 9 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:13:17 | 13 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 13 - reader: Box<'a + BufferedReader>, 13 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:14:17 | 14 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 - reader: Box<'a + BufferedReader>, 14 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:255:42 | 255 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 255 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 255 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:259:34 | 259 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn get_ref(&self) -> Option<&BufferedReader> { 259 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:263:54 | 263 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 263 - fn into_inner<'b>(self: Box) -> Option + 'b>> 263 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:110:42 | 110 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 110 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 110 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:114:34 | 114 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 114 - fn get_ref(&self) -> Option<&BufferedReader> { 114 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:118:54 | 118 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 118 - fn into_inner<'b>(self: Box) -> Option + 'b>> 118 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:35:28 | 35 | pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 - pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { 35 + pub fn new(reader: Box>, limit: u64) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:45:36 | 45 | pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 45 - pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) 45 + pub fn with_cookie(reader: Box>, limit: u64, cookie: C) | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:127:42 | 127 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 127 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 127 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:131:34 | 131 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - fn get_ref(&self) -> Option<&BufferedReader> { 131 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:135:54 | 135 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 135 - fn into_inner<'b>(self: Box) -> Option + 'b>> 135 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:39:28 | 39 | pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { 39 + pub fn new(reader: Box>, reserve: usize) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:49:36 | 49 | pub fn with_cookie(reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 49 - pub fn with_cookie(reader: Box<'a + BufferedReader>, 49 + pub fn with_cookie(reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:129:42 | 129 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 129 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 129 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:133:34 | 133 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - fn get_ref(&self) -> Option<&BufferedReader> { 133 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:137:54 | 137 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - fn into_inner<'b>(self: Box) -> Option + 'b>> 137 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:43:28 | 43 | pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 43 - pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { 43 + pub fn new(reader: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:53:36 | 53 | pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 53 - pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { 53 + pub fn with_cookie(reader: Box>, cookie: C) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:124:42 | 124 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 124 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:128:34 | 128 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn get_ref(&self) -> Option<&BufferedReader> { 128 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:132:54 | 132 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - fn into_inner<'b>(self: Box) -> Option + 'b>> 132 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:75:54 | 75 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - fn into_inner<'a>(self: Box) -> Option + 'a>> 75 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:81:42 | 81 | fn get_mut(&mut self) -> Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 81 - fn get_mut(&mut self) -> Option<&mut BufferedReader> 81 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:86:34 | 86 | fn get_ref(&self) -> Option<&BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 86 - fn get_ref(&self) -> Option<&BufferedReader> 86 + fn get_ref(&self) -> Option<&dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:74:42 | 74 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 74 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 74 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:78:34 | 78 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 78 - fn get_ref(&self) -> Option<&BufferedReader> { 78 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:82:54 | 82 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 82 - fn into_inner<'b>(self: Box) -> Option + 'b>> 82 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:207:42 | 207 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 207 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 207 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:211:34 | 211 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 211 - fn get_ref(&self) -> Option<&BufferedReader> { 211 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:215:54 | 215 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn into_inner<'b>(self: Box) -> Option + 'b>> 215 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: `buffered-reader` (lib) generated 40 warnings Compiling idna v0.1.5 Compiling generic-array v0.12.3 Compiling ascii-canvas v2.0.0 Compiling backtrace-sys v0.1.30 Compiling libloading v0.5.2 Compiling digest v0.8.1 Compiling block-buffer v0.7.3 Compiling sha2 v0.8.0 Compiling cexpr v0.3.5 Compiling phf_generator v0.7.24 Compiling string_cache_codegen v0.4.2 Compiling string_cache v0.7.3 Compiling backtrace v0.3.32 Compiling env_logger v0.6.2 Compiling quickcheck v0.8.5 Compiling synstructure v0.10.2 Compiling sequoia-sqv v0.9.0 (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv) Compiling serde_derive v1.0.94 Compiling failure v0.1.5 Compiling which v2.0.1 Compiling nettle-sys v2.0.1 Compiling docopt v1.1.0 Compiling lalrpop v0.17.1 Compiling nettle v5.0.2 Compiling sequoia-rfc2822 v0.9.0 (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/rfc2822) Compiling sequoia-openpgp v0.9.0 (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/openpgp) warning: unnecessary trailing semicolon --> rfc2822/src/component.rs:138:10 | 138 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337053:5 | 337053 | (__0) | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 337053 - (__0) 337053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337064:5 | 337064 | (__0) | ^ ^ | help: remove these parentheses | 337064 - (__0) 337064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337075:5 | 337075 | (__0) | ^ ^ | help: remove these parentheses | 337075 - (__0) 337075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337086:5 | 337086 | (__0) | ^ ^ | help: remove these parentheses | 337086 - (__0) 337086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337097:5 | 337097 | (__0) | ^ ^ | help: remove these parentheses | 337097 - (__0) 337097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337108:5 | 337108 | (__0) | ^ ^ | help: remove these parentheses | 337108 - (__0) 337108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337119:5 | 337119 | (__0) | ^ ^ | help: remove these parentheses | 337119 - (__0) 337119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337130:5 | 337130 | (__0) | ^ ^ | help: remove these parentheses | 337130 - (__0) 337130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337141:5 | 337141 | (__0) | ^ ^ | help: remove these parentheses | 337141 - (__0) 337141 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337152:5 | 337152 | (__0) | ^ ^ | help: remove these parentheses | 337152 - (__0) 337152 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337163:5 | 337163 | (__0) | ^ ^ | help: remove these parentheses | 337163 - (__0) 337163 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337174:5 | 337174 | (__0) | ^ ^ | help: remove these parentheses | 337174 - (__0) 337174 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337185:5 | 337185 | (__0) | ^ ^ | help: remove these parentheses | 337185 - (__0) 337185 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337196:5 | 337196 | (__0) | ^ ^ | help: remove these parentheses | 337196 - (__0) 337196 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337207:5 | 337207 | (__0) | ^ ^ | help: remove these parentheses | 337207 - (__0) 337207 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337218:5 | 337218 | (__0) | ^ ^ | help: remove these parentheses | 337218 - (__0) 337218 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337229:5 | 337229 | (__0) | ^ ^ | help: remove these parentheses | 337229 - (__0) 337229 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337240:5 | 337240 | (__0) | ^ ^ | help: remove these parentheses | 337240 - (__0) 337240 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337251:5 | 337251 | (__0) | ^ ^ | help: remove these parentheses | 337251 - (__0) 337251 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337262:5 | 337262 | (__0) | ^ ^ | help: remove these parentheses | 337262 - (__0) 337262 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337273:5 | 337273 | (__0) | ^ ^ | help: remove these parentheses | 337273 - (__0) 337273 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337284:5 | 337284 | (__0) | ^ ^ | help: remove these parentheses | 337284 - (__0) 337284 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337295:5 | 337295 | (__0) | ^ ^ | help: remove these parentheses | 337295 - (__0) 337295 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337318:5 | 337318 | (__0) | ^ ^ | help: remove these parentheses | 337318 - (__0) 337318 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337329:5 | 337329 | (__0) | ^ ^ | help: remove these parentheses | 337329 - (__0) 337329 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337340:5 | 337340 | (__0) | ^ ^ | help: remove these parentheses | 337340 - (__0) 337340 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337351:5 | 337351 | (__0) | ^ ^ | help: remove these parentheses | 337351 - (__0) 337351 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337362:5 | 337362 | (__0) | ^ ^ | help: remove these parentheses | 337362 - (__0) 337362 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337373:5 | 337373 | (__0) | ^ ^ | help: remove these parentheses | 337373 - (__0) 337373 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337384:5 | 337384 | (__0) | ^ ^ | help: remove these parentheses | 337384 - (__0) 337384 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337395:5 | 337395 | (__0) | ^ ^ | help: remove these parentheses | 337395 - (__0) 337395 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337406:5 | 337406 | (__0) | ^ ^ | help: remove these parentheses | 337406 - (__0) 337406 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337417:5 | 337417 | (__0) | ^ ^ | help: remove these parentheses | 337417 - (__0) 337417 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337428:5 | 337428 | (__0) | ^ ^ | help: remove these parentheses | 337428 - (__0) 337428 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337439:5 | 337439 | (__0) | ^ ^ | help: remove these parentheses | 337439 - (__0) 337439 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337450:5 | 337450 | (__0) | ^ ^ | help: remove these parentheses | 337450 - (__0) 337450 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337461:5 | 337461 | (__0) | ^ ^ | help: remove these parentheses | 337461 - (__0) 337461 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337472:5 | 337472 | (__0) | ^ ^ | help: remove these parentheses | 337472 - (__0) 337472 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337483:5 | 337483 | (__0) | ^ ^ | help: remove these parentheses | 337483 - (__0) 337483 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337494:5 | 337494 | (__0) | ^ ^ | help: remove these parentheses | 337494 - (__0) 337494 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337505:5 | 337505 | (__0) | ^ ^ | help: remove these parentheses | 337505 - (__0) 337505 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337517:5 | 337517 | (__0) | ^ ^ | help: remove these parentheses | 337517 - (__0) 337517 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337528:5 | 337528 | (__0) | ^ ^ | help: remove these parentheses | 337528 - (__0) 337528 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337551:5 | 337551 | (__0) | ^ ^ | help: remove these parentheses | 337551 - (__0) 337551 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337562:5 | 337562 | (__0) | ^ ^ | help: remove these parentheses | 337562 - (__0) 337562 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337573:5 | 337573 | (__0) | ^ ^ | help: remove these parentheses | 337573 - (__0) 337573 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337584:5 | 337584 | (__0) | ^ ^ | help: remove these parentheses | 337584 - (__0) 337584 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337595:5 | 337595 | (__0) | ^ ^ | help: remove these parentheses | 337595 - (__0) 337595 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337606:5 | 337606 | (__0) | ^ ^ | help: remove these parentheses | 337606 - (__0) 337606 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337617:5 | 337617 | (__0) | ^ ^ | help: remove these parentheses | 337617 - (__0) 337617 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337628:5 | 337628 | (__0) | ^ ^ | help: remove these parentheses | 337628 - (__0) 337628 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337639:5 | 337639 | (__0) | ^ ^ | help: remove these parentheses | 337639 - (__0) 337639 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337650:5 | 337650 | (__0) | ^ ^ | help: remove these parentheses | 337650 - (__0) 337650 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337661:5 | 337661 | (__0) | ^ ^ | help: remove these parentheses | 337661 - (__0) 337661 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337672:5 | 337672 | (__0) | ^ ^ | help: remove these parentheses | 337672 - (__0) 337672 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337683:5 | 337683 | (__0) | ^ ^ | help: remove these parentheses | 337683 - (__0) 337683 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337737:5 | 337737 | (__0) | ^ ^ | help: remove these parentheses | 337737 - (__0) 337737 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337998:5 | 337998 | (__0) | ^ ^ | help: remove these parentheses | 337998 - (__0) 337998 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338009:5 | 338009 | (__0) | ^ ^ | help: remove these parentheses | 338009 - (__0) 338009 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338020:5 | 338020 | (__0) | ^ ^ | help: remove these parentheses | 338020 - (__0) 338020 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338031:5 | 338031 | (__0) | ^ ^ | help: remove these parentheses | 338031 - (__0) 338031 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338042:5 | 338042 | (__0) | ^ ^ | help: remove these parentheses | 338042 - (__0) 338042 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338053:5 | 338053 | (__0) | ^ ^ | help: remove these parentheses | 338053 - (__0) 338053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338064:5 | 338064 | (__0) | ^ ^ | help: remove these parentheses | 338064 - (__0) 338064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338075:5 | 338075 | (__0) | ^ ^ | help: remove these parentheses | 338075 - (__0) 338075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338086:5 | 338086 | (__0) | ^ ^ | help: remove these parentheses | 338086 - (__0) 338086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338097:5 | 338097 | (__0) | ^ ^ | help: remove these parentheses | 338097 - (__0) 338097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338108:5 | 338108 | (__0) | ^ ^ | help: remove these parentheses | 338108 - (__0) 338108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338119:5 | 338119 | (__0) | ^ ^ | help: remove these parentheses | 338119 - (__0) 338119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338130:5 | 338130 | (__0) | ^ ^ | help: remove these parentheses | 338130 - (__0) 338130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338314:5 | 338314 | (__0) | ^ ^ | help: remove these parentheses | 338314 - (__0) 338314 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338325:5 | 338325 | (__0) | ^ ^ | help: remove these parentheses | 338325 - (__0) 338325 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338689:5 | 338689 | (__0) | ^ ^ | help: remove these parentheses | 338689 - (__0) 338689 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338735:5 | 338735 | (__0) | ^ ^ | help: remove these parentheses | 338735 - (__0) 338735 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338746:5 | 338746 | (__0) | ^ ^ | help: remove these parentheses | 338746 - (__0) 338746 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338768:5 | 338768 | (__0) | ^ ^ | help: remove these parentheses | 338768 - (__0) 338768 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338779:5 | 338779 | (__0) | ^ ^ | help: remove these parentheses | 338779 - (__0) 338779 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338889:5 | 338889 | (__0) | ^ ^ | help: remove these parentheses | 338889 - (__0) 338889 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338900:5 | 338900 | (__0) | ^ ^ | help: remove these parentheses | 338900 - (__0) 338900 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338911:5 | 338911 | (__0) | ^ ^ | help: remove these parentheses | 338911 - (__0) 338911 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338922:5 | 338922 | (__0) | ^ ^ | help: remove these parentheses | 338922 - (__0) 338922 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338933:5 | 338933 | (__0) | ^ ^ | help: remove these parentheses | 338933 - (__0) 338933 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338944:5 | 338944 | (__0) | ^ ^ | help: remove these parentheses | 338944 - (__0) 338944 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338955:5 | 338955 | (__0) | ^ ^ | help: remove these parentheses | 338955 - (__0) 338955 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338966:5 | 338966 | (__0) | ^ ^ | help: remove these parentheses | 338966 - (__0) 338966 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338977:5 | 338977 | (__0) | ^ ^ | help: remove these parentheses | 338977 - (__0) 338977 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338988:5 | 338988 | (__0) | ^ ^ | help: remove these parentheses | 338988 - (__0) 338988 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338999:5 | 338999 | (__0) | ^ ^ | help: remove these parentheses | 338999 - (__0) 338999 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339010:5 | 339010 | (__0) | ^ ^ | help: remove these parentheses | 339010 - (__0) 339010 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339021:5 | 339021 | (__0) | ^ ^ | help: remove these parentheses | 339021 - (__0) 339021 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339032:5 | 339032 | (__0) | ^ ^ | help: remove these parentheses | 339032 - (__0) 339032 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339043:5 | 339043 | (__0) | ^ ^ | help: remove these parentheses | 339043 - (__0) 339043 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339514:5 | 339514 | (__0) | ^ ^ | help: remove these parentheses | 339514 - (__0) 339514 + __0 | warning: unnecessary parentheses around block return value --> openpgp/src/armor.rs:141:9 | 141 | (5 // CRC | ^ ... 145 | + 2 // CR NL | _____________^ 146 | | ) | |_________^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 141 ~ 5 // CRC 142 | + 4 // CR NL CR NL 143 | + 18 // "-----END PGP -----" 144 | + self.blurb().len() 145 ~ + 2 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:11:17 | 11 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = note: `#[warn(anonymous_parameters)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:43:17 | 43 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:87:13 | 87 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here | = note: `#[warn(unused_imports)]` on by default warning: the item `rsa` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:216:13 | 3 | use nettle::{dsa, ecc, ecdsa, ed25519, rsa, Yarrow}; | --- the item `rsa` is already imported here ... 216 | use nettle::rsa; | ^^^^^^^^^^^ warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/ecdh.rs:175:9 | 175 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:162:14 | 162 | 0...1024 => 1024, | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:163:17 | 163 | 1025...2048 => hash_bytes as u32, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:164:22 | 164 | 0x3e00001...usize::MAX => 0x3e00000, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:209:14 | 209 | 0...10 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:214:15 | 214 | 11...32 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:22 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:33 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:145:23 | 145 | 0 ... 0xFF => PacketLengthType::OneOctet, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:147:28 | 147 | 0x1_00 ... 0xFF_FF => PacketLengthType::TwoOctets, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/tag.rs:80:15 | 80 | 60...63 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/signature/subpacket.rs:210:16 | 210 | 100...110 => SubpacketTag::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:270:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 270 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:310:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 310 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `HashAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:25 | 15 | use HashAlgorithm; | ------------- the item `HashAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^ warning: the item `SymmetricAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:40 | 14 | use SymmetricAlgorithm; | ------------------ the item `SymmetricAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^^^^^^ warning: the item `Curve` is imported redundantly --> openpgp/src/packet/key.rs:311:60 | 16 | use constants::Curve; | ---------------- the item `Curve` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^ warning: the item `Error` is imported redundantly --> openpgp/src/packet/key.rs:313:13 | 8 | use Error; | ----- the item `Error` is already imported here ... 313 | use Error; | ^^^^^ warning: the item `SecretKey` is imported redundantly --> openpgp/src/packet/key.rs:544:13 | 544 | use packet::key::SecretKey; | ^^^^^^^^^^^^^^^^^^^^^^ ... 569 | / pub enum SecretKey { 570 | | /// Unencrypted secret key. Can be used as-is. 571 | | Unencrypted(Unencrypted), 572 | | /// The secret key is encrypted with a password. 573 | | Encrypted(Encrypted), 574 | | } | |_- the item `SecretKey` is already defined here warning: `...` range patterns are deprecated --> openpgp/src/packet/user_attribute.rs:154:28 | 154 | n @ 100...110 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/literal.rs:124:14 | 124 | 1...255 => Some(filename.to_vec()), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:148:14 | 148 | 0...191 => // One octet. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:150:16 | 150 | 192...223 => { // Two octets length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:155:16 | 155 | 224...254 => // Partial body length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:91:20 | 91 | '0'...'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:96:32 | 96 | ... '0'...'9' => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:751:5 | 751 | (__0) | ^ ^ | help: remove these parentheses | 751 - (__0) 751 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:760:5 | 760 | (__0) | ^ ^ | help: remove these parentheses | 760 - (__0) 760 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:769:5 | 769 | (__0) | ^ ^ | help: remove these parentheses | 769 - (__0) 769 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:823:5 | 823 | (__0) | ^ ^ | help: remove these parentheses | 823 - (__0) 823 + __0 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/parse/stream.rs:371:35 | 371 | fn get_public_keys(&mut self, &[KeyID]) -> Result>; | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[KeyID]` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:741:16 | 741 | 100...110 => S2K::Private(s2k), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:1356:18 | 1356 | 1...253 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1041:5 | 1041 | (__0) | ^ ^ | help: remove these parentheses | 1041 - (__0) 1041 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1177:5 | 1177 | (__0) | ^ ^ | help: remove these parentheses | 1177 - (__0) 1177 + __0 | warning: the item `SignatureType` is imported redundantly --> openpgp/src/tpk/builder.rs:378:13 | 17 | SignatureType, | ------------- the item `SignatureType` is already imported here ... 378 | use SignatureType; | ^^^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:283:23 | 283 | 0 ... 0xFF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:286:28 | 286 | 0x1_00 ... 0xFF_FF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `Tag` is imported redundantly --> openpgp/src/serialize/mod.rs:2045:13 | 33 | use packet::prelude::*; | ------------------ the item `Tag` is already imported here ... 2045 | use packet::Tag; | ^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:103:16 | 103 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:391:16 | 391 | 100...110 => SymmetricAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:499:16 | 499 | 100...110 => AEADAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:578:16 | 578 | 100...110 => CompressionAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:653:16 | 653 | 100...110 => HashAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:896:16 | 896 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:398:17 | 398 | source: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 398 - source: Box<'a + BufferedReader<()>>, 398 + source: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:26:24 | 26 | pub struct Context(Box); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 26 - pub struct Context(Box); 26 + pub struct Context(Box); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:131:12 | 131 | h: Box, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - h: Box, 131 + h: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:137:14 | 137 | dec: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - dec: Box, 137 + dec: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:401:17 | 401 | cipher: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 401 - cipher: Box, 401 + cipher: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:39:14 | 39 | bio: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - bio: Box<'a + BufferedReader>, 39 + bio: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:712:17 | 712 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 712 - reader: Box<'a + BufferedReader<()>>, 712 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2173:17 | 2173 | reader: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2173 - reader: Box + 'a>, 2173 + reader: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2215:14 | 2215 | EOF((Box + 'a>, PacketParserState, Vec)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2215 - EOF((Box + 'a>, PacketParserState, Vec)), 2215 + EOF((Box + 'a>, PacketParserState, Vec)), | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/lexer.rs:131:15 | 131 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - iter: Box + 'input>, 131 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1158:21 | 1158 | filter: Vec bool + 'a>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1158 - filter: Vec bool + 'a>>, 1158 + filter: Vec bool + 'a>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:73:39 | 73 | pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 73 - pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; 73 + pub(crate) type BoxStack<'a, C> = Box>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/tpk.rs:213:24 | 213 | filter: Option bool>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 213 - filter: Option bool>>, 213 + filter: Option bool>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/message/lexer.rs:60:15 | 60 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 60 - iter: Box + 'input>, 60 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:525:20 | 525 | inner: Box<'a + BufferedReader>, mode: M) -> Self | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 525 - inner: Box<'a + BufferedReader>, mode: M) -> Self 525 + inner: Box>, mode: M) -> Self | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:44:34 | 44 | -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 44 - -> Result> { 44 + -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:128:55 | 128 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn hash_associated_data(&mut self, aead: &mut Box, 128 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:143:43 | 143 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 143 - fn make_aead(&mut self) -> Result> { 143 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:482:42 | 482 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 482 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 482 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:486:34 | 486 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 486 - fn get_ref(&self) -> Option<&BufferedReader> { 486 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:491:27 | 491 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 491 - -> Option + 'b>> where Self: 'b { 491 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:561:55 | 561 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 561 - fn hash_associated_data(&mut self, aead: &mut Box, 561 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:576:43 | 576 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 576 - fn make_aead(&mut self) -> Result> { 576 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:138:19 | 138 | fn new(h: Box, prefix: &str) -> Self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 138 - fn new(h: Box, prefix: &str) -> Self { 138 + fn new(h: Box, prefix: &str) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:179:32 | 179 | fn box_clone(&self) -> Box { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - fn box_clone(&self) -> Box { 179 + fn box_clone(&self) -> Box { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:56:61 | 56 | pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 56 - pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { 56 + pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:94:61 | 94 | pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 94 - pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { 94 + pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:371:42 | 371 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 371 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 371 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:375:34 | 375 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 375 - fn get_ref(&self) -> Option<&BufferedReader> { 375 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:380:27 | 380 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 380 - -> Option + 'b>> where Self: 'b { 380 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:117:60 | 117 | pub fn sign_primary_key_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 117 - pub fn sign_primary_key_binding(mut self, signer: &mut Signer, 117 + pub fn sign_primary_key_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:133:55 | 133 | pub fn sign_userid_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - pub fn sign_userid_binding(mut self, signer: &mut Signer, 133 + pub fn sign_userid_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:148:55 | 148 | pub fn sign_subkey_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn sign_subkey_binding(mut self, signer: &mut Signer, 148 + pub fn sign_subkey_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:163:63 | 163 | pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 163 - pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, 163 + pub fn sign_user_attribute_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:180:45 | 180 | pub fn sign_hash(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - pub fn sign_hash(mut self, signer: &mut Signer, 180 + pub fn sign_hash(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:200:48 | 200 | pub fn sign_message(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 200 - pub fn sign_message(mut self, signer: &mut Signer, 200 + pub fn sign_message(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:219:32 | 219 | fn sign(self, signer: &mut Signer, digest: Vec) -> Result { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 219 - fn sign(self, signer: &mut Signer, digest: Vec) -> Result { 219 + fn sign(self, signer: &mut dyn Signer, digest: Vec) -> Result { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/pkesk.rs:148:43 | 148 | pub fn decrypt(&self, decryptor: &mut Decryptor) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn decrypt(&self, decryptor: &mut Decryptor) 148 + pub fn decrypt(&self, decryptor: &mut dyn Decryptor) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:638:21 | 638 | mut reader: Box + 'a>, depth: isize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 638 - mut reader: Box + 'a>, depth: isize) 638 + mut reader: Box + 'a>, depth: isize) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:639:26 | 639 | -> Result<(bool, Box + 'a>)> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 639 - -> Result<(bool, Box + 'a>)> 639 + -> Result<(bool, Box + 'a>)> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:215:23 | 215 | fn new(inner: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn new(inner: Box<'a + BufferedReader>, 215 + fn new(inner: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:244:29 | 244 | fn new_naked(inner: Box<'a + BufferedReader>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 244 - fn new_naked(inner: Box<'a + BufferedReader>) -> Self { 244 + fn new_naked(inner: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:590:29 | 590 | fn hashing(reader: &mut BufferedReader, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 590 - fn hashing(reader: &mut BufferedReader, 590 + fn hashing(reader: &mut dyn BufferedReader, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:616:22 | 616 | fn dump(reader: &BufferedReader) { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 616 - fn dump(reader: &BufferedReader) { 616 + fn dump(reader: &dyn BufferedReader) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2450:49 | 2450 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2450 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 2450 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2460:38 | 2460 | fn take_reader(&mut self) -> Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2460 - fn take_reader(&mut self) -> Box + 'a> { 2460 + fn take_reader(&mut self) -> Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2469:42 | 2469 | fn set_reader(&mut self, reader: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2469 - fn set_reader(&mut self, reader: Box + 'a>) 2469 + fn set_reader(&mut self, reader: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2470:16 | 2470 | -> Box + 'a> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2470 - -> Box + 'a> 2470 + -> Box + 'a> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2476:38 | 2476 | fn mut_reader(&mut self) -> &mut BufferedReader { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2476 - fn mut_reader(&mut self) -> &mut BufferedReader { 2476 + fn mut_reader(&mut self) -> &mut dyn BufferedReader { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2630:27 | 2630 | fn parse(mut bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2630 - fn parse(mut bio: Box + 'a>, 2630 + fn parse(mut bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3256:42 | 3256 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3256 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 3256 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3260:34 | 3260 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3260 - fn get_ref(&self) -> Option<&BufferedReader> { 3260 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3265:27 | 3265 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3265 - -> Option + 'b>> 3265 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:378:42 | 378 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 378 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 378 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:382:34 | 382 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 382 - fn get_ref(&self) -> Option<&BufferedReader> { 382 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:386:54 | 386 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 386 - fn into_inner<'b>(self: Box) -> Option + 'b>> 386 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_pile_parser.rs:132:49 | 132 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 132 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:197:42 | 197 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 197 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 197 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:201:34 | 201 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 201 - fn get_ref(&self) -> Option<&BufferedReader> { 201 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:206:27 | 206 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 206 - -> Option + 'b>> 206 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:75:53 | 75 | pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) 75 + pub(crate) fn from_buffered_reader(mut bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:466:49 | 466 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 466 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 466 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:724:32 | 724 | fn new<'b>(signatures: Box<'b + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 724 - fn new<'b>(signatures: Box<'b + BufferedReader>, 724 + fn new<'b>(signatures: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:725:30 | 725 | mut data: Box<'a + BufferedReader<()>>) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 725 - mut data: Box<'a + BufferedReader<()>>) 725 + mut data: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1004:29 | 1004 | (signature_bio: Box + 's>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1004 - (signature_bio: Box + 's>, 1004 + (signature_bio: Box + 's>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1005:22 | 1005 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1005 - reader: Box<'a + BufferedReader<()>>, 1005 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1207:49 | 1207 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1207 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 1207 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1768:47 | 1768 | pub fn revoke(&self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1768 - pub fn revoke(&self, primary_signer: &mut Signer, 1768 + pub fn revoke(&self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1828:55 | 1828 | pub fn revoke_in_place(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1828 - pub fn revoke_in_place(self, primary_signer: &mut Signer, 1828 + pub fn revoke_in_place(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1879:52 | 1879 | fn set_expiry_as_of(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1879 - fn set_expiry_as_of(self, primary_signer: &mut Signer, 1879 + fn set_expiry_as_of(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1914:50 | 1914 | pub fn set_expiry(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1914 - pub fn set_expiry(self, primary_signer: &mut Signer, 1914 + pub fn set_expiry(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:51:43 | 51 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 51 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 51 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:113:45 | 113 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 113 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 113 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:169:43 | 169 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 169 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 169 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:237:49 | 237 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 237 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 237 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:307:45 | 307 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 307 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 307 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:368:43 | 368 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 368 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 368 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:441:49 | 441 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 441 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 441 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:516:45 | 516 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 516 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 516 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1165:33 | 1165 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1165 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1165 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1195:33 | 1195 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1195 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1195 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1202:37 | 1202 | fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1202 - fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) 1202 + fn serialize_key(&self, o: &mut dyn io::Write, serialize_secrets: bool) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:208:44 | 208 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 208 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { 208 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:215:36 | 215 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { 215 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:167:21 | 167 | where F: FnMut(&Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 167 - where F: FnMut(&Stackable) -> bool { 167 + where F: FnMut(&dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:166:32 | 166 | pub(crate) fn map(head: &Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 166 - pub(crate) fn map(head: &Stackable, mut fun: F) 166 + pub(crate) fn map(head: &dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:180:25 | 180 | where F: FnMut(&mut Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - where F: FnMut(&mut Stackable) -> bool { 180 + where F: FnMut(&mut dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:179:40 | 179 | pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) 179 + pub(crate) fn map_mut(head: &mut dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:192:30 | 192 | pub(crate) fn dump(head: &Stackable) { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 192 - pub(crate) fn dump(head: &Stackable) { 192 + pub(crate) fn dump(head: &dyn Stackable) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:100:44 | 100 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 100 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; 100 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:103:36 | 103 | fn inner_ref(&self) -> Option<&Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 103 - fn inner_ref(&self) -> Option<&Stackable<'a, C>>; 103 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:147:44 | 147 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 147 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 147 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:150:36 | 150 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 150 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 150 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:252:36 | 252 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 252 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:259:44 | 259 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 259 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:326:44 | 326 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 326 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 326 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:329:36 | 329 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 329 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 329 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:392:44 | 392 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 392 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 392 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:395:36 | 395 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 395 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 395 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:460:44 | 460 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 460 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 460 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:463:36 | 463 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 463 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 463 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:87:23 | 87 | impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 87 - impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { 87 + impl<'a> From<&'a mut dyn io::Write> for writer::Stack<'a, Cookie> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:88:24 | 88 | fn from(w: &'a mut io::Write) -> Self { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 88 - fn from(w: &'a mut io::Write) -> Self { 88 + fn from(w: &'a mut dyn io::Write) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:165:36 | 165 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 165 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 165 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:168:44 | 168 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 168 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 168 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:493:44 | 493 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 493 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 493 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:500:36 | 500 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 500 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 500 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:672:36 | 672 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 672 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 672 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:675:44 | 675 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 675 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 675 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:798:36 | 798 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 798 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 798 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:801:44 | 801 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 801 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 801 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1141:36 | 1141 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1141 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 1141 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1148:44 | 1148 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1148 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 1148 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet_pile.rs:275:53 | 275 | pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 275 - pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) 275 + pub(crate) fn from_buffered_reader<'a>(bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:444:25 | 444 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 444 - let mut cipher: Box = match algo { 444 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:530:25 | 530 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 530 - let mut cipher: Box = match algo { 530 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:91:27 | 91 | let c: Result> = match self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 91 - let c: Result> = match self { 91 + let c: Result> = match self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:104:27 | 104 | c.map(|c: Box| { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 104 - c.map(|c: Box| { 104 + c.map(|c: Box| { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:592:38 | 592 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 592 - let mut reader : Option<&mut BufferedReader> 592 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:618:34 | 618 | let mut reader : Option<&BufferedReader> = Some(reader); | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 618 - let mut reader : Option<&BufferedReader> = Some(reader); 618 + let mut reader : Option<&dyn BufferedReader> = Some(reader); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1085:42 | 1085 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1085 - let mut reader : Option<&mut BufferedReader> 1085 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1872:37 | 1872 | let mut r : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1872 - let mut r : Option<&mut BufferedReader> 1872 + let mut r : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2742:23 | 2742 | let bio : Box> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2742 - let bio : Box> 2742 + let bio : Box> | warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:36:21 | 36 | let mut v: Protected = | ----^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:300:17 | 300 | let mut m = aes_key_unwrap(*sym, &Z, key)?; | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/packet/key.rs:320:21 | 320 | let mut private: Protected = | ----^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:415:21 | 415 | let mut hash = self.hash.clone(); | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1087:17 | 1087 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1089:17 | 1089 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:137:21 | 137 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:270:21 | 270 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:348:21 | 348 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:455:21 | 455 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:587:52 | 587 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:769:21 | 769 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:783:21 | 783 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:1380:52 | 1380 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:277:17 | 277 | let mut inner = Box::new(self.reader).into_inner().unwrap(); | ----^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1363:25 | 1363 | let mut cipher = php_try!(php.parse_bytes_eof("encrypted_mpis")); | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1879:33 | 1879 | ... let mut h = state.sig_group_mut().hashes | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:2061:38 | 2061 | PacketParserResult::Some(mut pp) => { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:3456:25 | 3456 | let mut dec = aead::Decryptor::new( | ----^^^ | | | help: remove this `mut` warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 --> openpgp/src/armor.rs:577:67 | 577 | ... Tag::CompressedData, Tag::Literal ].into_iter() { | ^^^^^^^^^ | = note: `#[warn(array_into_iter)]` on by default = warning: this changes meaning in Rust 2021 = note: for more information, see help: use `.iter()` instead of `.into_iter()` to avoid ambiguity | 577 | Tag::CompressedData, Tag::Literal ].iter() { | ~~~~ help: or remove `.into_iter()` to iterate by value | 577 - Tag::CompressedData, Tag::Literal ].into_iter() { 577 + Tag::CompressedData, Tag::Literal ] { | warning: unused borrow that must be used --> openpgp/src/armor.rs:932:9 | 932 | &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 932 | let _ = &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1043:13 | 1043 | &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1043 | let _ = &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1050:13 | 1050 | / &mut buf[read..read + decoded.len() - spill].copy_from_slice( 1051 | | &decoded[..decoded.len() - spill]); | |__________________________________________________^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1050 | let _ = &mut buf[read..read + decoded.len() - spill].copy_from_slice( | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:188:13 | 188 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 188 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:349:9 | 349 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 349 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:99:17 | 99 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:252:21 | 252 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:483:17 | 483 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 483 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:493:17 | 493 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 493 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:569:17 | 569 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 569 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:579:17 | 579 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 579 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/keygrip.rs:42:9 | 42 | &mut digest[..].copy_from_slice(&bytes[..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 42 | let _ = &mut digest[..].copy_from_slice(&bytes[..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:205:13 | 205 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 205 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:274:9 | 274 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 274 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:666:13 | 666 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 666 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:831:25 | 831 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 831 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:841:25 | 841 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 841 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:861:9 | 861 | &mut buf[..n].copy_from_slice(&self.buffer[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 861 | let _ = &mut buf[..n].copy_from_slice(&self.buffer[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:1498:13 | 1498 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1498 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: `sequoia-rfc2822` (lib) generated 94 warnings warning: `sequoia-openpgp` (lib) generated 212 warnings Finished release [optimized + debuginfo] target(s) in 4m 09s make: Leaving directory '/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv' Downloading crates ... Downloaded environment v0.1.1 Downloaded assert_cli v0.6.3 Downloaded itoa v0.4.4 Downloaded cgmath v0.16.1 Downloaded approx v0.1.1 Downloaded num-traits v0.1.43 Downloaded rgb v0.8.13 Downloaded ryu v1.0.0 Downloaded num-traits v0.2.8 Downloaded winconsole v0.10.0 Downloaded serde_json v1.0.40 Downloaded winapi v0.3.7 Downloaded colored v1.8.0 Compiling winapi v0.3.7 Compiling cgmath v0.16.1 Compiling approx v0.1.1 Compiling ryu v1.0.0 Compiling rgb v0.8.13 Compiling itoa v0.4.4 Compiling difference v2.0.0 Compiling environment v0.1.1 Compiling num-traits v0.2.8 Compiling serde v1.0.94 Compiling rand v0.4.6 warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:868:40 | 868 | impl <'a, C> BufferedReader for Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 868 - impl <'a, C> BufferedReader for Box + 'a> { 868 + impl <'a, C> BufferedReader for Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:802:54 | 802 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 802 - fn into_inner<'a>(self: Box) -> Option + 'a>> 802 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:812:42 | 812 | fn get_mut(&mut self) -> Option<&mut BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 812 - fn get_mut(&mut self) -> Option<&mut BufferedReader>; 812 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:815:34 | 815 | fn get_ref(&self) -> Option<&BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 815 - fn get_ref(&self) -> Option<&BufferedReader>; 815 + fn get_ref(&self) -> Option<&dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:927:42 | 927 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 927 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 927 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:932:34 | 932 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 932 - fn get_ref(&self) -> Option<&BufferedReader> { 932 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:937:54 | 937 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 937 - fn into_inner<'b>(self: Box) -> Option + 'b>> 937 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:9:17 | 9 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 9 - reader: Box<'a + BufferedReader>, 9 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:13:17 | 13 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 13 - reader: Box<'a + BufferedReader>, 13 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:14:17 | 14 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 - reader: Box<'a + BufferedReader>, 14 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:255:42 | 255 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 255 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 255 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:259:34 | 259 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn get_ref(&self) -> Option<&BufferedReader> { 259 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:263:54 | 263 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 263 - fn into_inner<'b>(self: Box) -> Option + 'b>> 263 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:110:42 | 110 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 110 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 110 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:114:34 | 114 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 114 - fn get_ref(&self) -> Option<&BufferedReader> { 114 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:118:54 | 118 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 118 - fn into_inner<'b>(self: Box) -> Option + 'b>> 118 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:35:28 | 35 | pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 - pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { 35 + pub fn new(reader: Box>, limit: u64) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:45:36 | 45 | pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 45 - pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) 45 + pub fn with_cookie(reader: Box>, limit: u64, cookie: C) | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:127:42 | 127 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 127 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 127 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:131:34 | 131 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - fn get_ref(&self) -> Option<&BufferedReader> { 131 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:135:54 | 135 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 135 - fn into_inner<'b>(self: Box) -> Option + 'b>> 135 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:39:28 | 39 | pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { 39 + pub fn new(reader: Box>, reserve: usize) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:49:36 | 49 | pub fn with_cookie(reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 49 - pub fn with_cookie(reader: Box<'a + BufferedReader>, 49 + pub fn with_cookie(reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:129:42 | 129 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 129 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 129 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:133:34 | 133 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - fn get_ref(&self) -> Option<&BufferedReader> { 133 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:137:54 | 137 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - fn into_inner<'b>(self: Box) -> Option + 'b>> 137 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:43:28 | 43 | pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 43 - pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { 43 + pub fn new(reader: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:53:36 | 53 | pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 53 - pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { 53 + pub fn with_cookie(reader: Box>, cookie: C) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:124:42 | 124 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 124 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:128:34 | 128 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn get_ref(&self) -> Option<&BufferedReader> { 128 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:132:54 | 132 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - fn into_inner<'b>(self: Box) -> Option + 'b>> 132 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:75:54 | 75 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - fn into_inner<'a>(self: Box) -> Option + 'a>> 75 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:81:42 | 81 | fn get_mut(&mut self) -> Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 81 - fn get_mut(&mut self) -> Option<&mut BufferedReader> 81 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:86:34 | 86 | fn get_ref(&self) -> Option<&BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 86 - fn get_ref(&self) -> Option<&BufferedReader> 86 + fn get_ref(&self) -> Option<&dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:74:42 | 74 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 74 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 74 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:78:34 | 78 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 78 - fn get_ref(&self) -> Option<&BufferedReader> { 78 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:82:54 | 82 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 82 - fn into_inner<'b>(self: Box) -> Option + 'b>> 82 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:207:42 | 207 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 207 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 207 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:211:34 | 211 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 211 - fn get_ref(&self) -> Option<&BufferedReader> { 211 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:215:54 | 215 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn into_inner<'b>(self: Box) -> Option + 'b>> 215 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: `buffered-reader` (lib) generated 40 warnings warning: unnecessary trailing semicolon --> rfc2822/src/component.rs:138:10 | 138 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337053:5 | 337053 | (__0) | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 337053 - (__0) 337053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337064:5 | 337064 | (__0) | ^ ^ | help: remove these parentheses | 337064 - (__0) 337064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337075:5 | 337075 | (__0) | ^ ^ | help: remove these parentheses | 337075 - (__0) 337075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337086:5 | 337086 | (__0) | ^ ^ | help: remove these parentheses | 337086 - (__0) 337086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337097:5 | 337097 | (__0) | ^ ^ | help: remove these parentheses | 337097 - (__0) 337097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337108:5 | 337108 | (__0) | ^ ^ | help: remove these parentheses | 337108 - (__0) 337108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337119:5 | 337119 | (__0) | ^ ^ | help: remove these parentheses | 337119 - (__0) 337119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337130:5 | 337130 | (__0) | ^ ^ | help: remove these parentheses | 337130 - (__0) 337130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337141:5 | 337141 | (__0) | ^ ^ | help: remove these parentheses | 337141 - (__0) 337141 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337152:5 | 337152 | (__0) | ^ ^ | help: remove these parentheses | 337152 - (__0) 337152 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337163:5 | 337163 | (__0) | ^ ^ | help: remove these parentheses | 337163 - (__0) 337163 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337174:5 | 337174 | (__0) | ^ ^ | help: remove these parentheses | 337174 - (__0) 337174 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337185:5 | 337185 | (__0) | ^ ^ | help: remove these parentheses | 337185 - (__0) 337185 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337196:5 | 337196 | (__0) | ^ ^ | help: remove these parentheses | 337196 - (__0) 337196 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337207:5 | 337207 | (__0) | ^ ^ | help: remove these parentheses | 337207 - (__0) 337207 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337218:5 | 337218 | (__0) | ^ ^ | help: remove these parentheses | 337218 - (__0) 337218 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337229:5 | 337229 | (__0) | ^ ^ | help: remove these parentheses | 337229 - (__0) 337229 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337240:5 | 337240 | (__0) | ^ ^ | help: remove these parentheses | 337240 - (__0) 337240 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337251:5 | 337251 | (__0) | ^ ^ | help: remove these parentheses | 337251 - (__0) 337251 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337262:5 | 337262 | (__0) | ^ ^ | help: remove these parentheses | 337262 - (__0) 337262 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337273:5 | 337273 | (__0) | ^ ^ | help: remove these parentheses | 337273 - (__0) 337273 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337284:5 | 337284 | (__0) | ^ ^ | help: remove these parentheses | 337284 - (__0) 337284 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337295:5 | 337295 | (__0) | ^ ^ | help: remove these parentheses | 337295 - (__0) 337295 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337318:5 | 337318 | (__0) | ^ ^ | help: remove these parentheses | 337318 - (__0) 337318 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337329:5 | 337329 | (__0) | ^ ^ | help: remove these parentheses | 337329 - (__0) 337329 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337340:5 | 337340 | (__0) | ^ ^ | help: remove these parentheses | 337340 - (__0) 337340 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337351:5 | 337351 | (__0) | ^ ^ | help: remove these parentheses | 337351 - (__0) 337351 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337362:5 | 337362 | (__0) | ^ ^ | help: remove these parentheses | 337362 - (__0) 337362 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337373:5 | 337373 | (__0) | ^ ^ | help: remove these parentheses | 337373 - (__0) 337373 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337384:5 | 337384 | (__0) | ^ ^ | help: remove these parentheses | 337384 - (__0) 337384 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337395:5 | 337395 | (__0) | ^ ^ | help: remove these parentheses | 337395 - (__0) 337395 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337406:5 | 337406 | (__0) | ^ ^ | help: remove these parentheses | 337406 - (__0) 337406 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337417:5 | 337417 | (__0) | ^ ^ | help: remove these parentheses | 337417 - (__0) 337417 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337428:5 | 337428 | (__0) | ^ ^ | help: remove these parentheses | 337428 - (__0) 337428 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337439:5 | 337439 | (__0) | ^ ^ | help: remove these parentheses | 337439 - (__0) 337439 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337450:5 | 337450 | (__0) | ^ ^ | help: remove these parentheses | 337450 - (__0) 337450 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337461:5 | 337461 | (__0) | ^ ^ | help: remove these parentheses | 337461 - (__0) 337461 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337472:5 | 337472 | (__0) | ^ ^ | help: remove these parentheses | 337472 - (__0) 337472 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337483:5 | 337483 | (__0) | ^ ^ | help: remove these parentheses | 337483 - (__0) 337483 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337494:5 | 337494 | (__0) | ^ ^ | help: remove these parentheses | 337494 - (__0) 337494 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337505:5 | 337505 | (__0) | ^ ^ | help: remove these parentheses | 337505 - (__0) 337505 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337517:5 | 337517 | (__0) | ^ ^ | help: remove these parentheses | 337517 - (__0) 337517 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337528:5 | 337528 | (__0) | ^ ^ | help: remove these parentheses | 337528 - (__0) 337528 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337551:5 | 337551 | (__0) | ^ ^ | help: remove these parentheses | 337551 - (__0) 337551 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337562:5 | 337562 | (__0) | ^ ^ | help: remove these parentheses | 337562 - (__0) 337562 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337573:5 | 337573 | (__0) | ^ ^ | help: remove these parentheses | 337573 - (__0) 337573 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337584:5 | 337584 | (__0) | ^ ^ | help: remove these parentheses | 337584 - (__0) 337584 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337595:5 | 337595 | (__0) | ^ ^ | help: remove these parentheses | 337595 - (__0) 337595 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337606:5 | 337606 | (__0) | ^ ^ | help: remove these parentheses | 337606 - (__0) 337606 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337617:5 | 337617 | (__0) | ^ ^ | help: remove these parentheses | 337617 - (__0) 337617 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337628:5 | 337628 | (__0) | ^ ^ | help: remove these parentheses | 337628 - (__0) 337628 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337639:5 | 337639 | (__0) | ^ ^ | help: remove these parentheses | 337639 - (__0) 337639 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337650:5 | 337650 | (__0) | ^ ^ | help: remove these parentheses | 337650 - (__0) 337650 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337661:5 | 337661 | (__0) | ^ ^ | help: remove these parentheses | 337661 - (__0) 337661 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337672:5 | 337672 | (__0) | ^ ^ | help: remove these parentheses | 337672 - (__0) 337672 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337683:5 | 337683 | (__0) | ^ ^ | help: remove these parentheses | 337683 - (__0) 337683 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337737:5 | 337737 | (__0) | ^ ^ | help: remove these parentheses | 337737 - (__0) 337737 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337998:5 | 337998 | (__0) | ^ ^ | help: remove these parentheses | 337998 - (__0) 337998 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338009:5 | 338009 | (__0) | ^ ^ | help: remove these parentheses | 338009 - (__0) 338009 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338020:5 | 338020 | (__0) | ^ ^ | help: remove these parentheses | 338020 - (__0) 338020 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338031:5 | 338031 | (__0) | ^ ^ | help: remove these parentheses | 338031 - (__0) 338031 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338042:5 | 338042 | (__0) | ^ ^ | help: remove these parentheses | 338042 - (__0) 338042 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338053:5 | 338053 | (__0) | ^ ^ | help: remove these parentheses | 338053 - (__0) 338053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338064:5 | 338064 | (__0) | ^ ^ | help: remove these parentheses | 338064 - (__0) 338064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338075:5 | 338075 | (__0) | ^ ^ | help: remove these parentheses | 338075 - (__0) 338075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338086:5 | 338086 | (__0) | ^ ^ | help: remove these parentheses | 338086 - (__0) 338086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338097:5 | 338097 | (__0) | ^ ^ | help: remove these parentheses | 338097 - (__0) 338097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338108:5 | 338108 | (__0) | ^ ^ | help: remove these parentheses | 338108 - (__0) 338108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338119:5 | 338119 | (__0) | ^ ^ | help: remove these parentheses | 338119 - (__0) 338119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338130:5 | 338130 | (__0) | ^ ^ | help: remove these parentheses | 338130 - (__0) 338130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338314:5 | 338314 | (__0) | ^ ^ | help: remove these parentheses | 338314 - (__0) 338314 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338325:5 | 338325 | (__0) | ^ ^ | help: remove these parentheses | 338325 - (__0) 338325 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338689:5 | 338689 | (__0) | ^ ^ | help: remove these parentheses | 338689 - (__0) 338689 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338735:5 | 338735 | (__0) | ^ ^ | help: remove these parentheses | 338735 - (__0) 338735 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338746:5 | 338746 | (__0) | ^ ^ | help: remove these parentheses | 338746 - (__0) 338746 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338768:5 | 338768 | (__0) | ^ ^ | help: remove these parentheses | 338768 - (__0) 338768 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338779:5 | 338779 | (__0) | ^ ^ | help: remove these parentheses | 338779 - (__0) 338779 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338889:5 | 338889 | (__0) | ^ ^ | help: remove these parentheses | 338889 - (__0) 338889 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338900:5 | 338900 | (__0) | ^ ^ | help: remove these parentheses | 338900 - (__0) 338900 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338911:5 | 338911 | (__0) | ^ ^ | help: remove these parentheses | 338911 - (__0) 338911 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338922:5 | 338922 | (__0) | ^ ^ | help: remove these parentheses | 338922 - (__0) 338922 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338933:5 | 338933 | (__0) | ^ ^ | help: remove these parentheses | 338933 - (__0) 338933 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338944:5 | 338944 | (__0) | ^ ^ | help: remove these parentheses | 338944 - (__0) 338944 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338955:5 | 338955 | (__0) | ^ ^ | help: remove these parentheses | 338955 - (__0) 338955 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338966:5 | 338966 | (__0) | ^ ^ | help: remove these parentheses | 338966 - (__0) 338966 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338977:5 | 338977 | (__0) | ^ ^ | help: remove these parentheses | 338977 - (__0) 338977 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338988:5 | 338988 | (__0) | ^ ^ | help: remove these parentheses | 338988 - (__0) 338988 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338999:5 | 338999 | (__0) | ^ ^ | help: remove these parentheses | 338999 - (__0) 338999 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339010:5 | 339010 | (__0) | ^ ^ | help: remove these parentheses | 339010 - (__0) 339010 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339021:5 | 339021 | (__0) | ^ ^ | help: remove these parentheses | 339021 - (__0) 339021 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339032:5 | 339032 | (__0) | ^ ^ | help: remove these parentheses | 339032 - (__0) 339032 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339043:5 | 339043 | (__0) | ^ ^ | help: remove these parentheses | 339043 - (__0) 339043 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339514:5 | 339514 | (__0) | ^ ^ | help: remove these parentheses | 339514 - (__0) 339514 + __0 | warning: `sequoia-rfc2822` (lib) generated 94 warnings warning: unnecessary parentheses around block return value --> openpgp/src/armor.rs:141:9 | 141 | (5 // CRC | ^ ... 145 | + 2 // CR NL | _____________^ 146 | | ) | |_________^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 141 ~ 5 // CRC 142 | + 4 // CR NL CR NL 143 | + 18 // "-----END PGP -----" 144 | + self.blurb().len() 145 ~ + 2 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:11:17 | 11 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = note: `#[warn(anonymous_parameters)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:43:17 | 43 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:87:13 | 87 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here | = note: `#[warn(unused_imports)]` on by default warning: the item `rsa` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:216:13 | 3 | use nettle::{dsa, ecc, ecdsa, ed25519, rsa, Yarrow}; | --- the item `rsa` is already imported here ... 216 | use nettle::rsa; | ^^^^^^^^^^^ warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/ecdh.rs:175:9 | 175 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:162:14 | 162 | 0...1024 => 1024, | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:163:17 | 163 | 1025...2048 => hash_bytes as u32, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:164:22 | 164 | 0x3e00001...usize::MAX => 0x3e00000, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:209:14 | 209 | 0...10 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:214:15 | 214 | 11...32 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:22 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:33 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:145:23 | 145 | 0 ... 0xFF => PacketLengthType::OneOctet, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:147:28 | 147 | 0x1_00 ... 0xFF_FF => PacketLengthType::TwoOctets, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/tag.rs:80:15 | 80 | 60...63 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/signature/subpacket.rs:210:16 | 210 | 100...110 => SubpacketTag::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:270:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 270 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:310:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 310 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `HashAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:25 | 15 | use HashAlgorithm; | ------------- the item `HashAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^ warning: the item `SymmetricAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:40 | 14 | use SymmetricAlgorithm; | ------------------ the item `SymmetricAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^^^^^^ warning: the item `Curve` is imported redundantly --> openpgp/src/packet/key.rs:311:60 | 16 | use constants::Curve; | ---------------- the item `Curve` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^ warning: the item `Error` is imported redundantly --> openpgp/src/packet/key.rs:313:13 | 8 | use Error; | ----- the item `Error` is already imported here ... 313 | use Error; | ^^^^^ warning: the item `SecretKey` is imported redundantly --> openpgp/src/packet/key.rs:544:13 | 544 | use packet::key::SecretKey; | ^^^^^^^^^^^^^^^^^^^^^^ ... 569 | / pub enum SecretKey { 570 | | /// Unencrypted secret key. Can be used as-is. 571 | | Unencrypted(Unencrypted), 572 | | /// The secret key is encrypted with a password. 573 | | Encrypted(Encrypted), 574 | | } | |_- the item `SecretKey` is already defined here warning: `...` range patterns are deprecated --> openpgp/src/packet/user_attribute.rs:154:28 | 154 | n @ 100...110 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/literal.rs:124:14 | 124 | 1...255 => Some(filename.to_vec()), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:148:14 | 148 | 0...191 => // One octet. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:150:16 | 150 | 192...223 => { // Two octets length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:155:16 | 155 | 224...254 => // Partial body length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:91:20 | 91 | '0'...'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:96:32 | 96 | ... '0'...'9' => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:751:5 | 751 | (__0) | ^ ^ | help: remove these parentheses | 751 - (__0) 751 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:760:5 | 760 | (__0) | ^ ^ | help: remove these parentheses | 760 - (__0) 760 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:769:5 | 769 | (__0) | ^ ^ | help: remove these parentheses | 769 - (__0) 769 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:823:5 | 823 | (__0) | ^ ^ | help: remove these parentheses | 823 - (__0) 823 + __0 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/parse/stream.rs:371:35 | 371 | fn get_public_keys(&mut self, &[KeyID]) -> Result>; | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[KeyID]` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:741:16 | 741 | 100...110 => S2K::Private(s2k), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:1356:18 | 1356 | 1...253 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1041:5 | 1041 | (__0) | ^ ^ | help: remove these parentheses | 1041 - (__0) 1041 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1177:5 | 1177 | (__0) | ^ ^ | help: remove these parentheses | 1177 - (__0) 1177 + __0 | warning: the item `SignatureType` is imported redundantly --> openpgp/src/tpk/builder.rs:378:13 | 17 | SignatureType, | ------------- the item `SignatureType` is already imported here ... 378 | use SignatureType; | ^^^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:283:23 | 283 | 0 ... 0xFF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:286:28 | 286 | 0x1_00 ... 0xFF_FF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `Tag` is imported redundantly --> openpgp/src/serialize/mod.rs:2045:13 | 33 | use packet::prelude::*; | ------------------ the item `Tag` is already imported here ... 2045 | use packet::Tag; | ^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:103:16 | 103 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:391:16 | 391 | 100...110 => SymmetricAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:499:16 | 499 | 100...110 => AEADAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:578:16 | 578 | 100...110 => CompressionAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:653:16 | 653 | 100...110 => HashAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:896:16 | 896 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:398:17 | 398 | source: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 398 - source: Box<'a + BufferedReader<()>>, 398 + source: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:26:24 | 26 | pub struct Context(Box); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 26 - pub struct Context(Box); 26 + pub struct Context(Box); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:131:12 | 131 | h: Box, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - h: Box, 131 + h: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:137:14 | 137 | dec: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - dec: Box, 137 + dec: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:401:17 | 401 | cipher: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 401 - cipher: Box, 401 + cipher: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:39:14 | 39 | bio: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - bio: Box<'a + BufferedReader>, 39 + bio: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:712:17 | 712 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 712 - reader: Box<'a + BufferedReader<()>>, 712 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2173:17 | 2173 | reader: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2173 - reader: Box + 'a>, 2173 + reader: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2215:14 | 2215 | EOF((Box + 'a>, PacketParserState, Vec)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2215 - EOF((Box + 'a>, PacketParserState, Vec)), 2215 + EOF((Box + 'a>, PacketParserState, Vec)), | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/lexer.rs:131:15 | 131 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - iter: Box + 'input>, 131 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1158:21 | 1158 | filter: Vec bool + 'a>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1158 - filter: Vec bool + 'a>>, 1158 + filter: Vec bool + 'a>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:73:39 | 73 | pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 73 - pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; 73 + pub(crate) type BoxStack<'a, C> = Box>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/tpk.rs:213:24 | 213 | filter: Option bool>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 213 - filter: Option bool>>, 213 + filter: Option bool>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/message/lexer.rs:60:15 | 60 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 60 - iter: Box + 'input>, 60 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:525:20 | 525 | inner: Box<'a + BufferedReader>, mode: M) -> Self | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 525 - inner: Box<'a + BufferedReader>, mode: M) -> Self 525 + inner: Box>, mode: M) -> Self | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:44:34 | 44 | -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 44 - -> Result> { 44 + -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:128:55 | 128 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn hash_associated_data(&mut self, aead: &mut Box, 128 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:143:43 | 143 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 143 - fn make_aead(&mut self) -> Result> { 143 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:482:42 | 482 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 482 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 482 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:486:34 | 486 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 486 - fn get_ref(&self) -> Option<&BufferedReader> { 486 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:491:27 | 491 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 491 - -> Option + 'b>> where Self: 'b { 491 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:561:55 | 561 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 561 - fn hash_associated_data(&mut self, aead: &mut Box, 561 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:576:43 | 576 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 576 - fn make_aead(&mut self) -> Result> { 576 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:138:19 | 138 | fn new(h: Box, prefix: &str) -> Self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 138 - fn new(h: Box, prefix: &str) -> Self { 138 + fn new(h: Box, prefix: &str) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:179:32 | 179 | fn box_clone(&self) -> Box { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - fn box_clone(&self) -> Box { 179 + fn box_clone(&self) -> Box { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:56:61 | 56 | pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 56 - pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { 56 + pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:94:61 | 94 | pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 94 - pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { 94 + pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:371:42 | 371 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 371 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 371 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:375:34 | 375 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 375 - fn get_ref(&self) -> Option<&BufferedReader> { 375 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:380:27 | 380 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 380 - -> Option + 'b>> where Self: 'b { 380 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:117:60 | 117 | pub fn sign_primary_key_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 117 - pub fn sign_primary_key_binding(mut self, signer: &mut Signer, 117 + pub fn sign_primary_key_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:133:55 | 133 | pub fn sign_userid_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - pub fn sign_userid_binding(mut self, signer: &mut Signer, 133 + pub fn sign_userid_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:148:55 | 148 | pub fn sign_subkey_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn sign_subkey_binding(mut self, signer: &mut Signer, 148 + pub fn sign_subkey_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:163:63 | 163 | pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 163 - pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, 163 + pub fn sign_user_attribute_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:180:45 | 180 | pub fn sign_hash(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - pub fn sign_hash(mut self, signer: &mut Signer, 180 + pub fn sign_hash(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:200:48 | 200 | pub fn sign_message(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 200 - pub fn sign_message(mut self, signer: &mut Signer, 200 + pub fn sign_message(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:219:32 | 219 | fn sign(self, signer: &mut Signer, digest: Vec) -> Result { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 219 - fn sign(self, signer: &mut Signer, digest: Vec) -> Result { 219 + fn sign(self, signer: &mut dyn Signer, digest: Vec) -> Result { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/pkesk.rs:148:43 | 148 | pub fn decrypt(&self, decryptor: &mut Decryptor) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn decrypt(&self, decryptor: &mut Decryptor) 148 + pub fn decrypt(&self, decryptor: &mut dyn Decryptor) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:638:21 | 638 | mut reader: Box + 'a>, depth: isize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 638 - mut reader: Box + 'a>, depth: isize) 638 + mut reader: Box + 'a>, depth: isize) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:639:26 | 639 | -> Result<(bool, Box + 'a>)> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 639 - -> Result<(bool, Box + 'a>)> 639 + -> Result<(bool, Box + 'a>)> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:215:23 | 215 | fn new(inner: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn new(inner: Box<'a + BufferedReader>, 215 + fn new(inner: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:244:29 | 244 | fn new_naked(inner: Box<'a + BufferedReader>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 244 - fn new_naked(inner: Box<'a + BufferedReader>) -> Self { 244 + fn new_naked(inner: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:590:29 | 590 | fn hashing(reader: &mut BufferedReader, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 590 - fn hashing(reader: &mut BufferedReader, 590 + fn hashing(reader: &mut dyn BufferedReader, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:616:22 | 616 | fn dump(reader: &BufferedReader) { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 616 - fn dump(reader: &BufferedReader) { 616 + fn dump(reader: &dyn BufferedReader) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2450:49 | 2450 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2450 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 2450 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2460:38 | 2460 | fn take_reader(&mut self) -> Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2460 - fn take_reader(&mut self) -> Box + 'a> { 2460 + fn take_reader(&mut self) -> Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2469:42 | 2469 | fn set_reader(&mut self, reader: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2469 - fn set_reader(&mut self, reader: Box + 'a>) 2469 + fn set_reader(&mut self, reader: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2470:16 | 2470 | -> Box + 'a> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2470 - -> Box + 'a> 2470 + -> Box + 'a> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2476:38 | 2476 | fn mut_reader(&mut self) -> &mut BufferedReader { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2476 - fn mut_reader(&mut self) -> &mut BufferedReader { 2476 + fn mut_reader(&mut self) -> &mut dyn BufferedReader { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2630:27 | 2630 | fn parse(mut bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2630 - fn parse(mut bio: Box + 'a>, 2630 + fn parse(mut bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3256:42 | 3256 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3256 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 3256 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3260:34 | 3260 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3260 - fn get_ref(&self) -> Option<&BufferedReader> { 3260 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3265:27 | 3265 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3265 - -> Option + 'b>> 3265 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:378:42 | 378 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 378 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 378 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:382:34 | 382 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 382 - fn get_ref(&self) -> Option<&BufferedReader> { 382 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:386:54 | 386 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 386 - fn into_inner<'b>(self: Box) -> Option + 'b>> 386 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_pile_parser.rs:132:49 | 132 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 132 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:197:42 | 197 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 197 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 197 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:201:34 | 201 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 201 - fn get_ref(&self) -> Option<&BufferedReader> { 201 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:206:27 | 206 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 206 - -> Option + 'b>> 206 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:75:53 | 75 | pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) 75 + pub(crate) fn from_buffered_reader(mut bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:466:49 | 466 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 466 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 466 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:724:32 | 724 | fn new<'b>(signatures: Box<'b + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 724 - fn new<'b>(signatures: Box<'b + BufferedReader>, 724 + fn new<'b>(signatures: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:725:30 | 725 | mut data: Box<'a + BufferedReader<()>>) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 725 - mut data: Box<'a + BufferedReader<()>>) 725 + mut data: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1004:29 | 1004 | (signature_bio: Box + 's>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1004 - (signature_bio: Box + 's>, 1004 + (signature_bio: Box + 's>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1005:22 | 1005 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1005 - reader: Box<'a + BufferedReader<()>>, 1005 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1207:49 | 1207 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1207 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 1207 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1768:47 | 1768 | pub fn revoke(&self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1768 - pub fn revoke(&self, primary_signer: &mut Signer, 1768 + pub fn revoke(&self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1828:55 | 1828 | pub fn revoke_in_place(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1828 - pub fn revoke_in_place(self, primary_signer: &mut Signer, 1828 + pub fn revoke_in_place(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1879:52 | 1879 | fn set_expiry_as_of(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1879 - fn set_expiry_as_of(self, primary_signer: &mut Signer, 1879 + fn set_expiry_as_of(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1914:50 | 1914 | pub fn set_expiry(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1914 - pub fn set_expiry(self, primary_signer: &mut Signer, 1914 + pub fn set_expiry(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:51:43 | 51 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 51 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 51 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:113:45 | 113 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 113 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 113 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:169:43 | 169 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 169 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 169 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:237:49 | 237 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 237 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 237 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:307:45 | 307 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 307 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 307 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:368:43 | 368 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 368 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 368 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:441:49 | 441 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 441 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 441 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:516:45 | 516 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 516 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 516 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1165:33 | 1165 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1165 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1165 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1195:33 | 1195 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1195 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1195 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1202:37 | 1202 | fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1202 - fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) 1202 + fn serialize_key(&self, o: &mut dyn io::Write, serialize_secrets: bool) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:208:44 | 208 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 208 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { 208 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:215:36 | 215 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { 215 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:167:21 | 167 | where F: FnMut(&Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 167 - where F: FnMut(&Stackable) -> bool { 167 + where F: FnMut(&dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:166:32 | 166 | pub(crate) fn map(head: &Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 166 - pub(crate) fn map(head: &Stackable, mut fun: F) 166 + pub(crate) fn map(head: &dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:180:25 | 180 | where F: FnMut(&mut Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - where F: FnMut(&mut Stackable) -> bool { 180 + where F: FnMut(&mut dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:179:40 | 179 | pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) 179 + pub(crate) fn map_mut(head: &mut dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:192:30 | 192 | pub(crate) fn dump(head: &Stackable) { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 192 - pub(crate) fn dump(head: &Stackable) { 192 + pub(crate) fn dump(head: &dyn Stackable) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:100:44 | 100 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 100 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; 100 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:103:36 | 103 | fn inner_ref(&self) -> Option<&Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 103 - fn inner_ref(&self) -> Option<&Stackable<'a, C>>; 103 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:147:44 | 147 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 147 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 147 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:150:36 | 150 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 150 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 150 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:252:36 | 252 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 252 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:259:44 | 259 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 259 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:326:44 | 326 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 326 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 326 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:329:36 | 329 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 329 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 329 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:392:44 | 392 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 392 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 392 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:395:36 | 395 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 395 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 395 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:460:44 | 460 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 460 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 460 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:463:36 | 463 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 463 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 463 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:87:23 | 87 | impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 87 - impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { 87 + impl<'a> From<&'a mut dyn io::Write> for writer::Stack<'a, Cookie> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:88:24 | 88 | fn from(w: &'a mut io::Write) -> Self { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 88 - fn from(w: &'a mut io::Write) -> Self { 88 + fn from(w: &'a mut dyn io::Write) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:165:36 | 165 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 165 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 165 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:168:44 | 168 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 168 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 168 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:493:44 | 493 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 493 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 493 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:500:36 | 500 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 500 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 500 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:672:36 | 672 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 672 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 672 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:675:44 | 675 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 675 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 675 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:798:36 | 798 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 798 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 798 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:801:44 | 801 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 801 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 801 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1141:36 | 1141 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1141 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 1141 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1148:44 | 1148 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1148 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 1148 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet_pile.rs:275:53 | 275 | pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 275 - pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) 275 + pub(crate) fn from_buffered_reader<'a>(bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:444:25 | 444 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 444 - let mut cipher: Box = match algo { 444 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:530:25 | 530 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 530 - let mut cipher: Box = match algo { 530 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:91:27 | 91 | let c: Result> = match self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 91 - let c: Result> = match self { 91 + let c: Result> = match self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:104:27 | 104 | c.map(|c: Box| { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 104 - c.map(|c: Box| { 104 + c.map(|c: Box| { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:592:38 | 592 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 592 - let mut reader : Option<&mut BufferedReader> 592 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:618:34 | 618 | let mut reader : Option<&BufferedReader> = Some(reader); | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 618 - let mut reader : Option<&BufferedReader> = Some(reader); 618 + let mut reader : Option<&dyn BufferedReader> = Some(reader); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1085:42 | 1085 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1085 - let mut reader : Option<&mut BufferedReader> 1085 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1872:37 | 1872 | let mut r : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1872 - let mut r : Option<&mut BufferedReader> 1872 + let mut r : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2742:23 | 2742 | let bio : Box> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2742 - let bio : Box> 2742 + let bio : Box> | warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:36:21 | 36 | let mut v: Protected = | ----^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:300:17 | 300 | let mut m = aes_key_unwrap(*sym, &Z, key)?; | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/packet/key.rs:320:21 | 320 | let mut private: Protected = | ----^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:415:21 | 415 | let mut hash = self.hash.clone(); | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1087:17 | 1087 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1089:17 | 1089 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:137:21 | 137 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:270:21 | 270 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:348:21 | 348 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:455:21 | 455 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:587:52 | 587 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:769:21 | 769 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:783:21 | 783 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:1380:52 | 1380 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:277:17 | 277 | let mut inner = Box::new(self.reader).into_inner().unwrap(); | ----^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1363:25 | 1363 | let mut cipher = php_try!(php.parse_bytes_eof("encrypted_mpis")); | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1879:33 | 1879 | ... let mut h = state.sig_group_mut().hashes | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:2061:38 | 2061 | PacketParserResult::Some(mut pp) => { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:3456:25 | 3456 | let mut dec = aead::Decryptor::new( | ----^^^ | | | help: remove this `mut` warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 --> openpgp/src/armor.rs:577:67 | 577 | ... Tag::CompressedData, Tag::Literal ].into_iter() { | ^^^^^^^^^ | = note: `#[warn(array_into_iter)]` on by default = warning: this changes meaning in Rust 2021 = note: for more information, see help: use `.iter()` instead of `.into_iter()` to avoid ambiguity | 577 | Tag::CompressedData, Tag::Literal ].iter() { | ~~~~ help: or remove `.into_iter()` to iterate by value | 577 - Tag::CompressedData, Tag::Literal ].into_iter() { 577 + Tag::CompressedData, Tag::Literal ] { | warning: unused borrow that must be used --> openpgp/src/armor.rs:932:9 | 932 | &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 932 | let _ = &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1043:13 | 1043 | &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1043 | let _ = &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1050:13 | 1050 | / &mut buf[read..read + decoded.len() - spill].copy_from_slice( 1051 | | &decoded[..decoded.len() - spill]); | |__________________________________________________^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1050 | let _ = &mut buf[read..read + decoded.len() - spill].copy_from_slice( | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:188:13 | 188 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 188 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:349:9 | 349 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 349 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:99:17 | 99 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:252:21 | 252 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:483:17 | 483 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 483 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:493:17 | 493 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 493 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:569:17 | 569 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 569 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:579:17 | 579 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 579 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/keygrip.rs:42:9 | 42 | &mut digest[..].copy_from_slice(&bytes[..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 42 | let _ = &mut digest[..].copy_from_slice(&bytes[..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:205:13 | 205 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 205 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:274:9 | 274 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 274 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:666:13 | 666 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 666 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:831:25 | 831 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 831 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:841:25 | 841 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 841 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:861:9 | 861 | &mut buf[..n].copy_from_slice(&self.buffer[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 861 | let _ = &mut buf[..n].copy_from_slice(&self.buffer[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:1498:13 | 1498 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1498 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: `sequoia-openpgp` (lib) generated 212 warnings Compiling num-traits v0.1.43 Compiling winconsole v0.10.0 Compiling colored v1.8.0 Compiling serde_json v1.0.40 Compiling assert_cli v0.6.3 Compiling sequoia-sqv v0.9.0 (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv) Finished release [optimized + debuginfo] target(s) in 16.46s Running unittests src/sqv-usage.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/sqv-109398d91d45b86c) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running tests/bad-subkey.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/bad_subkey-83836de1ed3b7a58) running 1 test test integration::bad_subkey ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s Running tests/duplicate-signatures.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/duplicate_signatures-4601b62f47af85c4) running 1 test test ignore_duplicates ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s Running tests/multiple-signatures.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/multiple_signatures-25b092d33aee3940) running 1 test test ignore_multiple_signatures ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s Running tests/not-before-after.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/not_before_after-db7b125f6a19545c) running 4 tests test integration::unconstrained ... ok test integration::before ... ok test integration::after ... ok test integration::in_interval ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s Running tests/revoked-key.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/revoked_key-2e3bc8250b1dd38d) running 3 tests test integration::valid_at_signature_ctime ... ok test integration::revoked_at_signature_ctime ... ok test integration::valid_now ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s Running tests/wrong-key-flags.rs (/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/deps/wrong_key_flags-fb77edb237d5fc42) running 1 test test integration::not_signing_capable_subkey ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s sqv 0.9.0 >>> sequoia-sqv: Entering fakeroot... make: Entering directory '/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv' CARGO_TARGET_DIR=/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target \ cargo build --release --package sequoia-sqv warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:868:40 | 868 | impl <'a, C> BufferedReader for Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 868 - impl <'a, C> BufferedReader for Box + 'a> { 868 + impl <'a, C> BufferedReader for Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:802:54 | 802 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 802 - fn into_inner<'a>(self: Box) -> Option + 'a>> 802 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:812:42 | 812 | fn get_mut(&mut self) -> Option<&mut BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 812 - fn get_mut(&mut self) -> Option<&mut BufferedReader>; 812 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:815:34 | 815 | fn get_ref(&self) -> Option<&BufferedReader>; | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 815 - fn get_ref(&self) -> Option<&BufferedReader>; 815 + fn get_ref(&self) -> Option<&dyn BufferedReader>; | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:927:42 | 927 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 927 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 927 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:932:34 | 932 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 932 - fn get_ref(&self) -> Option<&BufferedReader> { 932 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/lib.rs:937:54 | 937 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 937 - fn into_inner<'b>(self: Box) -> Option + 'b>> 937 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:9:17 | 9 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 9 - reader: Box<'a + BufferedReader>, 9 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:13:17 | 13 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 13 - reader: Box<'a + BufferedReader>, 13 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:14:17 | 14 | reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 14 - reader: Box<'a + BufferedReader>, 14 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:255:42 | 255 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 255 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 255 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:259:34 | 259 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn get_ref(&self) -> Option<&BufferedReader> { 259 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/generic.rs:263:54 | 263 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 263 - fn into_inner<'b>(self: Box) -> Option + 'b>> 263 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:110:42 | 110 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 110 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 110 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:114:34 | 114 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 114 - fn get_ref(&self) -> Option<&BufferedReader> { 114 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/memory.rs:118:54 | 118 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 118 - fn into_inner<'b>(self: Box) -> Option + 'b>> 118 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:35:28 | 35 | pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 - pub fn new(reader: Box<'a + BufferedReader<()>>, limit: u64) -> Self { 35 + pub fn new(reader: Box>, limit: u64) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:45:36 | 45 | pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 45 - pub fn with_cookie(reader: Box<'a + BufferedReader>, limit: u64, cookie: C) 45 + pub fn with_cookie(reader: Box>, limit: u64, cookie: C) | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:127:42 | 127 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 127 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 127 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:131:34 | 131 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - fn get_ref(&self) -> Option<&BufferedReader> { 131 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/limitor.rs:135:54 | 135 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 135 - fn into_inner<'b>(self: Box) -> Option + 'b>> 135 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:39:28 | 39 | pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - pub fn new(reader: Box<'a + BufferedReader<()>>, reserve: usize) -> Self { 39 + pub fn new(reader: Box>, reserve: usize) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:49:36 | 49 | pub fn with_cookie(reader: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 49 - pub fn with_cookie(reader: Box<'a + BufferedReader>, 49 + pub fn with_cookie(reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:129:42 | 129 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 129 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 129 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:133:34 | 133 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - fn get_ref(&self) -> Option<&BufferedReader> { 133 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/reserve.rs:137:54 | 137 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - fn into_inner<'b>(self: Box) -> Option + 'b>> 137 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:43:28 | 43 | pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 43 - pub fn new(reader: Box<'a + BufferedReader<()>>) -> Self { 43 + pub fn new(reader: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:53:36 | 53 | pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 53 - pub fn with_cookie(reader: Box<'a + BufferedReader>, cookie: C) -> Self { 53 + pub fn with_cookie(reader: Box>, cookie: C) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:124:42 | 124 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 124 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:128:34 | 128 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn get_ref(&self) -> Option<&BufferedReader> { 128 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/dup.rs:132:54 | 132 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - fn into_inner<'b>(self: Box) -> Option + 'b>> 132 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:75:54 | 75 | fn into_inner<'a>(self: Box) -> Option + 'a>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - fn into_inner<'a>(self: Box) -> Option + 'a>> 75 + fn into_inner<'a>(self: Box) -> Option + 'a>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:81:42 | 81 | fn get_mut(&mut self) -> Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 81 - fn get_mut(&mut self) -> Option<&mut BufferedReader> 81 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/eof.rs:86:34 | 86 | fn get_ref(&self) -> Option<&BufferedReader> | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 86 - fn get_ref(&self) -> Option<&BufferedReader> 86 + fn get_ref(&self) -> Option<&dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:74:42 | 74 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 74 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 74 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:78:34 | 78 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 78 - fn get_ref(&self) -> Option<&BufferedReader> { 78 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_generic.rs:82:54 | 82 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 82 - fn into_inner<'b>(self: Box) -> Option + 'b>> 82 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:207:42 | 207 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 207 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 207 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:211:34 | 211 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 211 - fn get_ref(&self) -> Option<&BufferedReader> { 211 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> buffered-reader/src/file_unix.rs:215:54 | 215 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn into_inner<'b>(self: Box) -> Option + 'b>> 215 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: `buffered-reader` (lib) generated 40 warnings warning: unnecessary trailing semicolon --> rfc2822/src/component.rs:138:10 | 138 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337053:5 | 337053 | (__0) | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 337053 - (__0) 337053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337064:5 | 337064 | (__0) | ^ ^ | help: remove these parentheses | 337064 - (__0) 337064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337075:5 | 337075 | (__0) | ^ ^ | help: remove these parentheses | 337075 - (__0) 337075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337086:5 | 337086 | (__0) | ^ ^ | help: remove these parentheses | 337086 - (__0) 337086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337097:5 | 337097 | (__0) | ^ ^ | help: remove these parentheses | 337097 - (__0) 337097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337108:5 | 337108 | (__0) | ^ ^ | help: remove these parentheses | 337108 - (__0) 337108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337119:5 | 337119 | (__0) | ^ ^ | help: remove these parentheses | 337119 - (__0) 337119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337130:5 | 337130 | (__0) | ^ ^ | help: remove these parentheses | 337130 - (__0) 337130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337141:5 | 337141 | (__0) | ^ ^ | help: remove these parentheses | 337141 - (__0) 337141 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337152:5 | 337152 | (__0) | ^ ^ | help: remove these parentheses | 337152 - (__0) 337152 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337163:5 | 337163 | (__0) | ^ ^ | help: remove these parentheses | 337163 - (__0) 337163 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337174:5 | 337174 | (__0) | ^ ^ | help: remove these parentheses | 337174 - (__0) 337174 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337185:5 | 337185 | (__0) | ^ ^ | help: remove these parentheses | 337185 - (__0) 337185 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337196:5 | 337196 | (__0) | ^ ^ | help: remove these parentheses | 337196 - (__0) 337196 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337207:5 | 337207 | (__0) | ^ ^ | help: remove these parentheses | 337207 - (__0) 337207 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337218:5 | 337218 | (__0) | ^ ^ | help: remove these parentheses | 337218 - (__0) 337218 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337229:5 | 337229 | (__0) | ^ ^ | help: remove these parentheses | 337229 - (__0) 337229 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337240:5 | 337240 | (__0) | ^ ^ | help: remove these parentheses | 337240 - (__0) 337240 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337251:5 | 337251 | (__0) | ^ ^ | help: remove these parentheses | 337251 - (__0) 337251 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337262:5 | 337262 | (__0) | ^ ^ | help: remove these parentheses | 337262 - (__0) 337262 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337273:5 | 337273 | (__0) | ^ ^ | help: remove these parentheses | 337273 - (__0) 337273 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337284:5 | 337284 | (__0) | ^ ^ | help: remove these parentheses | 337284 - (__0) 337284 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337295:5 | 337295 | (__0) | ^ ^ | help: remove these parentheses | 337295 - (__0) 337295 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337318:5 | 337318 | (__0) | ^ ^ | help: remove these parentheses | 337318 - (__0) 337318 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337329:5 | 337329 | (__0) | ^ ^ | help: remove these parentheses | 337329 - (__0) 337329 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337340:5 | 337340 | (__0) | ^ ^ | help: remove these parentheses | 337340 - (__0) 337340 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337351:5 | 337351 | (__0) | ^ ^ | help: remove these parentheses | 337351 - (__0) 337351 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337362:5 | 337362 | (__0) | ^ ^ | help: remove these parentheses | 337362 - (__0) 337362 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337373:5 | 337373 | (__0) | ^ ^ | help: remove these parentheses | 337373 - (__0) 337373 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337384:5 | 337384 | (__0) | ^ ^ | help: remove these parentheses | 337384 - (__0) 337384 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337395:5 | 337395 | (__0) | ^ ^ | help: remove these parentheses | 337395 - (__0) 337395 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337406:5 | 337406 | (__0) | ^ ^ | help: remove these parentheses | 337406 - (__0) 337406 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337417:5 | 337417 | (__0) | ^ ^ | help: remove these parentheses | 337417 - (__0) 337417 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337428:5 | 337428 | (__0) | ^ ^ | help: remove these parentheses | 337428 - (__0) 337428 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337439:5 | 337439 | (__0) | ^ ^ | help: remove these parentheses | 337439 - (__0) 337439 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337450:5 | 337450 | (__0) | ^ ^ | help: remove these parentheses | 337450 - (__0) 337450 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337461:5 | 337461 | (__0) | ^ ^ | help: remove these parentheses | 337461 - (__0) 337461 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337472:5 | 337472 | (__0) | ^ ^ | help: remove these parentheses | 337472 - (__0) 337472 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337483:5 | 337483 | (__0) | ^ ^ | help: remove these parentheses | 337483 - (__0) 337483 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337494:5 | 337494 | (__0) | ^ ^ | help: remove these parentheses | 337494 - (__0) 337494 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337505:5 | 337505 | (__0) | ^ ^ | help: remove these parentheses | 337505 - (__0) 337505 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337517:5 | 337517 | (__0) | ^ ^ | help: remove these parentheses | 337517 - (__0) 337517 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337528:5 | 337528 | (__0) | ^ ^ | help: remove these parentheses | 337528 - (__0) 337528 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337551:5 | 337551 | (__0) | ^ ^ | help: remove these parentheses | 337551 - (__0) 337551 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337562:5 | 337562 | (__0) | ^ ^ | help: remove these parentheses | 337562 - (__0) 337562 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337573:5 | 337573 | (__0) | ^ ^ | help: remove these parentheses | 337573 - (__0) 337573 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337584:5 | 337584 | (__0) | ^ ^ | help: remove these parentheses | 337584 - (__0) 337584 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337595:5 | 337595 | (__0) | ^ ^ | help: remove these parentheses | 337595 - (__0) 337595 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337606:5 | 337606 | (__0) | ^ ^ | help: remove these parentheses | 337606 - (__0) 337606 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337617:5 | 337617 | (__0) | ^ ^ | help: remove these parentheses | 337617 - (__0) 337617 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337628:5 | 337628 | (__0) | ^ ^ | help: remove these parentheses | 337628 - (__0) 337628 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337639:5 | 337639 | (__0) | ^ ^ | help: remove these parentheses | 337639 - (__0) 337639 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337650:5 | 337650 | (__0) | ^ ^ | help: remove these parentheses | 337650 - (__0) 337650 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337661:5 | 337661 | (__0) | ^ ^ | help: remove these parentheses | 337661 - (__0) 337661 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337672:5 | 337672 | (__0) | ^ ^ | help: remove these parentheses | 337672 - (__0) 337672 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337683:5 | 337683 | (__0) | ^ ^ | help: remove these parentheses | 337683 - (__0) 337683 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337737:5 | 337737 | (__0) | ^ ^ | help: remove these parentheses | 337737 - (__0) 337737 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:337998:5 | 337998 | (__0) | ^ ^ | help: remove these parentheses | 337998 - (__0) 337998 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338009:5 | 338009 | (__0) | ^ ^ | help: remove these parentheses | 338009 - (__0) 338009 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338020:5 | 338020 | (__0) | ^ ^ | help: remove these parentheses | 338020 - (__0) 338020 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338031:5 | 338031 | (__0) | ^ ^ | help: remove these parentheses | 338031 - (__0) 338031 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338042:5 | 338042 | (__0) | ^ ^ | help: remove these parentheses | 338042 - (__0) 338042 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338053:5 | 338053 | (__0) | ^ ^ | help: remove these parentheses | 338053 - (__0) 338053 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338064:5 | 338064 | (__0) | ^ ^ | help: remove these parentheses | 338064 - (__0) 338064 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338075:5 | 338075 | (__0) | ^ ^ | help: remove these parentheses | 338075 - (__0) 338075 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338086:5 | 338086 | (__0) | ^ ^ | help: remove these parentheses | 338086 - (__0) 338086 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338097:5 | 338097 | (__0) | ^ ^ | help: remove these parentheses | 338097 - (__0) 338097 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338108:5 | 338108 | (__0) | ^ ^ | help: remove these parentheses | 338108 - (__0) 338108 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338119:5 | 338119 | (__0) | ^ ^ | help: remove these parentheses | 338119 - (__0) 338119 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338130:5 | 338130 | (__0) | ^ ^ | help: remove these parentheses | 338130 - (__0) 338130 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338314:5 | 338314 | (__0) | ^ ^ | help: remove these parentheses | 338314 - (__0) 338314 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338325:5 | 338325 | (__0) | ^ ^ | help: remove these parentheses | 338325 - (__0) 338325 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338689:5 | 338689 | (__0) | ^ ^ | help: remove these parentheses | 338689 - (__0) 338689 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338735:5 | 338735 | (__0) | ^ ^ | help: remove these parentheses | 338735 - (__0) 338735 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338746:5 | 338746 | (__0) | ^ ^ | help: remove these parentheses | 338746 - (__0) 338746 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338768:5 | 338768 | (__0) | ^ ^ | help: remove these parentheses | 338768 - (__0) 338768 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338779:5 | 338779 | (__0) | ^ ^ | help: remove these parentheses | 338779 - (__0) 338779 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338889:5 | 338889 | (__0) | ^ ^ | help: remove these parentheses | 338889 - (__0) 338889 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338900:5 | 338900 | (__0) | ^ ^ | help: remove these parentheses | 338900 - (__0) 338900 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338911:5 | 338911 | (__0) | ^ ^ | help: remove these parentheses | 338911 - (__0) 338911 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338922:5 | 338922 | (__0) | ^ ^ | help: remove these parentheses | 338922 - (__0) 338922 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338933:5 | 338933 | (__0) | ^ ^ | help: remove these parentheses | 338933 - (__0) 338933 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338944:5 | 338944 | (__0) | ^ ^ | help: remove these parentheses | 338944 - (__0) 338944 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338955:5 | 338955 | (__0) | ^ ^ | help: remove these parentheses | 338955 - (__0) 338955 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338966:5 | 338966 | (__0) | ^ ^ | help: remove these parentheses | 338966 - (__0) 338966 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338977:5 | 338977 | (__0) | ^ ^ | help: remove these parentheses | 338977 - (__0) 338977 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338988:5 | 338988 | (__0) | ^ ^ | help: remove these parentheses | 338988 - (__0) 338988 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:338999:5 | 338999 | (__0) | ^ ^ | help: remove these parentheses | 338999 - (__0) 338999 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339010:5 | 339010 | (__0) | ^ ^ | help: remove these parentheses | 339010 - (__0) 339010 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339021:5 | 339021 | (__0) | ^ ^ | help: remove these parentheses | 339021 - (__0) 339021 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339032:5 | 339032 | (__0) | ^ ^ | help: remove these parentheses | 339032 - (__0) 339032 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339043:5 | 339043 | (__0) | ^ ^ | help: remove these parentheses | 339043 - (__0) 339043 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-rfc2822-e41454e56330751f/out/grammar.rs:339514:5 | 339514 | (__0) | ^ ^ | help: remove these parentheses | 339514 - (__0) 339514 + __0 | warning: `sequoia-rfc2822` (lib) generated 94 warnings warning: unnecessary parentheses around block return value --> openpgp/src/armor.rs:141:9 | 141 | (5 // CRC | ^ ... 145 | + 2 // CR NL | _____________^ 146 | | ) | |_________^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 141 ~ 5 // CRC 142 | + 4 // CR NL CR NL 143 | + 18 // "-----END PGP -----" 144 | + self.blurb().len() 145 ~ + 2 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:11:17 | 11 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = note: `#[warn(anonymous_parameters)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/conversions.rs:43:17 | 43 | fn from_pgp(u32) -> Self; | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:87:13 | 87 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here | = note: `#[warn(unused_imports)]` on by default warning: the item `rsa` is imported redundantly --> openpgp/src/crypto/asymmetric.rs:216:13 | 3 | use nettle::{dsa, ecc, ecdsa, ed25519, rsa, Yarrow}; | --- the item `rsa` is already imported here ... 216 | use nettle::rsa; | ^^^^^^^^^^^ warning: the item `memsec` is imported redundantly --> openpgp/src/crypto/ecdh.rs:175:9 | 175 | use memsec; | ^^^^^^ | ::: openpgp/src/lib.rs:50:1 | 50 | extern crate memsec; | -------------------- the item `memsec` is already imported here warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:162:14 | 162 | 0...1024 => 1024, | ^^^ help: use `..=` for an inclusive range | = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:163:17 | 163 | 1025...2048 => hash_bytes as u32, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:164:22 | 164 | 0x3e00001...usize::MAX => 0x3e00000, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:209:14 | 209 | 0...10 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/s2k.rs:214:15 | 214 | 11...32 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:22 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/crypto/sexp.rs:312:33 | 312 | 0...31 | 128...255 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:145:23 | 145 | 0 ... 0xFF => PacketLengthType::OneOctet, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/ctb.rs:147:28 | 147 | 0x1_00 ... 0xFF_FF => PacketLengthType::TwoOctets, | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/tag.rs:80:15 | 80 | 60...63 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/signature/subpacket.rs:210:16 | 210 | 100...110 => SubpacketTag::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:270:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 270 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `mpis` is imported redundantly --> openpgp/src/packet/key.rs:310:28 | 9 | use crypto::{self, mem::Protected, mpis, hash::Hash, KeyPair}; | ---- the item `mpis` is already imported here ... 310 | use crypto::mpis::{self, MPI, PublicKey}; | ^^^^ warning: the item `HashAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:25 | 15 | use HashAlgorithm; | ------------- the item `HashAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^ warning: the item `SymmetricAlgorithm` is imported redundantly --> openpgp/src/packet/key.rs:311:40 | 14 | use SymmetricAlgorithm; | ------------------ the item `SymmetricAlgorithm` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^^^^^^^^^^^^^^ warning: the item `Curve` is imported redundantly --> openpgp/src/packet/key.rs:311:60 | 16 | use constants::Curve; | ---------------- the item `Curve` is already imported here ... 311 | use constants::{HashAlgorithm, SymmetricAlgorithm, Curve}; | ^^^^^ warning: the item `Error` is imported redundantly --> openpgp/src/packet/key.rs:313:13 | 8 | use Error; | ----- the item `Error` is already imported here ... 313 | use Error; | ^^^^^ warning: the item `SecretKey` is imported redundantly --> openpgp/src/packet/key.rs:544:13 | 544 | use packet::key::SecretKey; | ^^^^^^^^^^^^^^^^^^^^^^ ... 569 | / pub enum SecretKey { 570 | | /// Unencrypted secret key. Can be used as-is. 571 | | Unencrypted(Unencrypted), 572 | | /// The secret key is encrypted with a password. 573 | | Encrypted(Encrypted), 574 | | } | |_- the item `SecretKey` is already defined here warning: `...` range patterns are deprecated --> openpgp/src/packet/user_attribute.rs:154:28 | 154 | n @ 100...110 => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/literal.rs:124:14 | 124 | 1...255 => Some(filename.to_vec()), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:148:14 | 148 | 0...191 => // One octet. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:150:16 | 150 | 192...223 => { // Two octets length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/packet/mod.rs:155:16 | 155 | 224...254 => // Partial body length. | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:91:20 | 91 | '0'...'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/sexp/lexer.rs:96:32 | 96 | ... '0'...'9' => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:751:5 | 751 | (__0) | ^ ^ | help: remove these parentheses | 751 - (__0) 751 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:760:5 | 760 | (__0) | ^ ^ | help: remove these parentheses | 760 - (__0) 760 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:769:5 | 769 | (__0) | ^ ^ | help: remove these parentheses | 769 - (__0) 769 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/parse/sexp/grammar.rs:823:5 | 823 | (__0) | ^ ^ | help: remove these parentheses | 823 - (__0) 823 + __0 | warning: anonymous parameters are deprecated and will be removed in the next edition --> openpgp/src/parse/stream.rs:371:35 | 371 | fn get_public_keys(&mut self, &[KeyID]) -> Result>; | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[KeyID]` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:741:16 | 741 | 100...110 => S2K::Private(s2k), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/parse/parse.rs:1356:18 | 1356 | 1...253 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1041:5 | 1041 | (__0) | ^ ^ | help: remove these parentheses | 1041 - (__0) 1041 + __0 | warning: unnecessary parentheses around block return value --> /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/build/sequoia-openpgp-7568ae9bde951ecf/out/tpk/grammar.rs:1177:5 | 1177 | (__0) | ^ ^ | help: remove these parentheses | 1177 - (__0) 1177 + __0 | warning: the item `SignatureType` is imported redundantly --> openpgp/src/tpk/builder.rs:378:13 | 17 | SignatureType, | ------------- the item `SignatureType` is already imported here ... 378 | use SignatureType; | ^^^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:283:23 | 283 | 0 ... 0xFF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/serialize/mod.rs:286:28 | 286 | 0x1_00 ... 0xFF_FF => | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: the item `Tag` is imported redundantly --> openpgp/src/serialize/mod.rs:2045:13 | 33 | use packet::prelude::*; | ------------------ the item `Tag` is already imported here ... 2045 | use packet::Tag; | ^^^^^^^^^^^ warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:103:16 | 103 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:391:16 | 391 | 100...110 => SymmetricAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:499:16 | 499 | 100...110 => AEADAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:578:16 | 578 | 100...110 => CompressionAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:653:16 | 653 | 100...110 => HashAlgorithm::Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> openpgp/src/constants.rs:896:16 | 896 | 100...110 => Private(u), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:398:17 | 398 | source: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 398 - source: Box<'a + BufferedReader<()>>, 398 + source: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:26:24 | 26 | pub struct Context(Box); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 26 - pub struct Context(Box); 26 + pub struct Context(Box); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:131:12 | 131 | h: Box, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - h: Box, 131 + h: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:137:14 | 137 | dec: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 137 - dec: Box, 137 + dec: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:401:17 | 401 | cipher: Box, | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 401 - cipher: Box, 401 + cipher: Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:39:14 | 39 | bio: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 - bio: Box<'a + BufferedReader>, 39 + bio: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:712:17 | 712 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 712 - reader: Box<'a + BufferedReader<()>>, 712 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2173:17 | 2173 | reader: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2173 - reader: Box + 'a>, 2173 + reader: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2215:14 | 2215 | EOF((Box + 'a>, PacketParserState, Vec)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2215 - EOF((Box + 'a>, PacketParserState, Vec)), 2215 + EOF((Box + 'a>, PacketParserState, Vec)), | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/lexer.rs:131:15 | 131 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 131 - iter: Box + 'input>, 131 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1158:21 | 1158 | filter: Vec bool + 'a>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1158 - filter: Vec bool + 'a>>, 1158 + filter: Vec bool + 'a>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:73:39 | 73 | pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 73 - pub(crate) type BoxStack<'a, C> = Box<'a + Stackable<'a, C>>; 73 + pub(crate) type BoxStack<'a, C> = Box>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/tpk.rs:213:24 | 213 | filter: Option bool>>, | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 213 - filter: Option bool>>, 213 + filter: Option bool>>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/message/lexer.rs:60:15 | 60 | iter: Box + 'input>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 60 - iter: Box + 'input>, 60 + iter: Box + 'input>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/armor.rs:525:20 | 525 | inner: Box<'a + BufferedReader>, mode: M) -> Self | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 525 - inner: Box<'a + BufferedReader>, mode: M) -> Self 525 + inner: Box>, mode: M) -> Self | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:44:34 | 44 | -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 44 - -> Result> { 44 + -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:128:55 | 128 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 128 - fn hash_associated_data(&mut self, aead: &mut Box, 128 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:143:43 | 143 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 143 - fn make_aead(&mut self) -> Result> { 143 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:482:42 | 482 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 482 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 482 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:486:34 | 486 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 486 - fn get_ref(&self) -> Option<&BufferedReader> { 486 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:491:27 | 491 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 491 - -> Option + 'b>> where Self: 'b { 491 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:561:55 | 561 | fn hash_associated_data(&mut self, aead: &mut Box, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 561 - fn hash_associated_data(&mut self, aead: &mut Box, 561 + fn hash_associated_data(&mut self, aead: &mut Box, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/aead.rs:576:43 | 576 | fn make_aead(&mut self) -> Result> { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 576 - fn make_aead(&mut self) -> Result> { 576 + fn make_aead(&mut self) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:138:19 | 138 | fn new(h: Box, prefix: &str) -> Self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 138 - fn new(h: Box, prefix: &str) -> Self { 138 + fn new(h: Box, prefix: &str) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:179:32 | 179 | fn box_clone(&self) -> Box { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - fn box_clone(&self) -> Box { 179 + fn box_clone(&self) -> Box { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:56:61 | 56 | pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 56 - pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { 56 + pub fn make_encrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:94:61 | 94 | pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 94 - pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { 94 + pub fn make_decrypt_cfb(self, key: &[u8]) -> Result> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:371:42 | 371 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 371 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 371 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:375:34 | 375 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 375 - fn get_ref(&self) -> Option<&BufferedReader> { 375 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/symmetric.rs:380:27 | 380 | -> Option + 'b>> where Self: 'b { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 380 - -> Option + 'b>> where Self: 'b { 380 + -> Option + 'b>> where Self: 'b { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:117:60 | 117 | pub fn sign_primary_key_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 117 - pub fn sign_primary_key_binding(mut self, signer: &mut Signer, 117 + pub fn sign_primary_key_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:133:55 | 133 | pub fn sign_userid_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 133 - pub fn sign_userid_binding(mut self, signer: &mut Signer, 133 + pub fn sign_userid_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:148:55 | 148 | pub fn sign_subkey_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn sign_subkey_binding(mut self, signer: &mut Signer, 148 + pub fn sign_subkey_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:163:63 | 163 | pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 163 - pub fn sign_user_attribute_binding(mut self, signer: &mut Signer, 163 + pub fn sign_user_attribute_binding(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:180:45 | 180 | pub fn sign_hash(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - pub fn sign_hash(mut self, signer: &mut Signer, 180 + pub fn sign_hash(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:200:48 | 200 | pub fn sign_message(mut self, signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 200 - pub fn sign_message(mut self, signer: &mut Signer, 200 + pub fn sign_message(mut self, signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/signature/mod.rs:219:32 | 219 | fn sign(self, signer: &mut Signer, digest: Vec) -> Result { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 219 - fn sign(self, signer: &mut Signer, digest: Vec) -> Result { 219 + fn sign(self, signer: &mut dyn Signer, digest: Vec) -> Result { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet/pkesk.rs:148:43 | 148 | pub fn decrypt(&self, decryptor: &mut Decryptor) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 - pub fn decrypt(&self, decryptor: &mut Decryptor) 148 + pub fn decrypt(&self, decryptor: &mut dyn Decryptor) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:638:21 | 638 | mut reader: Box + 'a>, depth: isize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 638 - mut reader: Box + 'a>, depth: isize) 638 + mut reader: Box + 'a>, depth: isize) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:639:26 | 639 | -> Result<(bool, Box + 'a>)> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 639 - -> Result<(bool, Box + 'a>)> 639 + -> Result<(bool, Box + 'a>)> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:215:23 | 215 | fn new(inner: Box<'a + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn new(inner: Box<'a + BufferedReader>, 215 + fn new(inner: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:244:29 | 244 | fn new_naked(inner: Box<'a + BufferedReader>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 244 - fn new_naked(inner: Box<'a + BufferedReader>) -> Self { 244 + fn new_naked(inner: Box>) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:590:29 | 590 | fn hashing(reader: &mut BufferedReader, | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 590 - fn hashing(reader: &mut BufferedReader, 590 + fn hashing(reader: &mut dyn BufferedReader, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:616:22 | 616 | fn dump(reader: &BufferedReader) { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 616 - fn dump(reader: &BufferedReader) { 616 + fn dump(reader: &dyn BufferedReader) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2450:49 | 2450 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2450 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 2450 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2460:38 | 2460 | fn take_reader(&mut self) -> Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2460 - fn take_reader(&mut self) -> Box + 'a> { 2460 + fn take_reader(&mut self) -> Box + 'a> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2469:42 | 2469 | fn set_reader(&mut self, reader: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2469 - fn set_reader(&mut self, reader: Box + 'a>) 2469 + fn set_reader(&mut self, reader: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2470:16 | 2470 | -> Box + 'a> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2470 - -> Box + 'a> 2470 + -> Box + 'a> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2476:38 | 2476 | fn mut_reader(&mut self) -> &mut BufferedReader { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2476 - fn mut_reader(&mut self) -> &mut BufferedReader { 2476 + fn mut_reader(&mut self) -> &mut dyn BufferedReader { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2630:27 | 2630 | fn parse(mut bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2630 - fn parse(mut bio: Box + 'a>, 2630 + fn parse(mut bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3256:42 | 3256 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3256 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 3256 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3260:34 | 3260 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3260 - fn get_ref(&self) -> Option<&BufferedReader> { 3260 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:3265:27 | 3265 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 3265 - -> Option + 'b>> 3265 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:378:42 | 378 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 378 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 378 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:382:34 | 382 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 382 - fn get_ref(&self) -> Option<&BufferedReader> { 382 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/partial_body.rs:386:54 | 386 | fn into_inner<'b>(self: Box) -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 386 - fn into_inner<'b>(self: Box) -> Option + 'b>> 386 + fn into_inner<'b>(self: Box) -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_pile_parser.rs:132:49 | 132 | pub(crate) fn from_buffered_reader(bio: Box + 'a>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 - pub(crate) fn from_buffered_reader(bio: Box + 'a>) 132 + pub(crate) fn from_buffered_reader(bio: Box + 'a>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:197:42 | 197 | fn get_mut(&mut self) -> Option<&mut BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 197 - fn get_mut(&mut self) -> Option<&mut BufferedReader> { 197 + fn get_mut(&mut self) -> Option<&mut dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:201:34 | 201 | fn get_ref(&self) -> Option<&BufferedReader> { | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 201 - fn get_ref(&self) -> Option<&BufferedReader> { 201 + fn get_ref(&self) -> Option<&dyn BufferedReader> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/hashed_reader.rs:206:27 | 206 | -> Option + 'b>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 206 - -> Option + 'b>> 206 + -> Option + 'b>> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/packet_parser_builder.rs:75:53 | 75 | pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 75 - pub(crate) fn from_buffered_reader(mut bio: Box<'a + BufferedReader>) 75 + pub(crate) fn from_buffered_reader(mut bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:466:49 | 466 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 466 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 466 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:724:32 | 724 | fn new<'b>(signatures: Box<'b + BufferedReader>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 724 - fn new<'b>(signatures: Box<'b + BufferedReader>, 724 + fn new<'b>(signatures: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:725:30 | 725 | mut data: Box<'a + BufferedReader<()>>) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 725 - mut data: Box<'a + BufferedReader<()>>) 725 + mut data: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1004:29 | 1004 | (signature_bio: Box + 's>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1004 - (signature_bio: Box + 's>, 1004 + (signature_bio: Box + 's>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1005:22 | 1005 | reader: Box<'a + BufferedReader<()>>, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1005 - reader: Box<'a + BufferedReader<()>>, 1005 + reader: Box>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/stream.rs:1207:49 | 1207 | pub(crate) fn from_buffered_reader(bio: Box + 'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1207 - pub(crate) fn from_buffered_reader(bio: Box + 'a>, 1207 + pub(crate) fn from_buffered_reader(bio: Box + 'a>, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1768:47 | 1768 | pub fn revoke(&self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1768 - pub fn revoke(&self, primary_signer: &mut Signer, 1768 + pub fn revoke(&self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1828:55 | 1828 | pub fn revoke_in_place(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1828 - pub fn revoke_in_place(self, primary_signer: &mut Signer, 1828 + pub fn revoke_in_place(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1879:52 | 1879 | fn set_expiry_as_of(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1879 - fn set_expiry_as_of(self, primary_signer: &mut Signer, 1879 + fn set_expiry_as_of(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/mod.rs:1914:50 | 1914 | pub fn set_expiry(self, primary_signer: &mut Signer, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1914 - pub fn set_expiry(self, primary_signer: &mut Signer, 1914 + pub fn set_expiry(self, primary_signer: &mut dyn Signer, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:51:43 | 51 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 51 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 51 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:113:45 | 113 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 113 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 113 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:169:43 | 169 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 169 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 169 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:237:49 | 237 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 237 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 237 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:307:45 | 307 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 307 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 307 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:368:43 | 368 | pub fn bind(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 368 - pub fn bind(&self, signer: &mut Signer, tpk: &TPK, 368 + pub fn bind(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:441:49 | 441 | pub fn certify(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 441 - pub fn certify(&self, signer: &mut Signer, tpk: &TPK, 441 + pub fn certify(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/tpk/bindings.rs:516:45 | 516 | pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 516 - pub fn revoke(&self, signer: &mut Signer, tpk: &TPK, 516 + pub fn revoke(&self, signer: &mut dyn Signer, tpk: &TPK, | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1165:33 | 1165 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1165 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1165 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1195:33 | 1195 | fn serialize(&self, o: &mut io::Write) -> Result<()> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1195 - fn serialize(&self, o: &mut io::Write) -> Result<()> { 1195 + fn serialize(&self, o: &mut dyn io::Write) -> Result<()> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/mod.rs:1202:37 | 1202 | fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1202 - fn serialize_key(&self, o: &mut io::Write, serialize_secrets: bool) 1202 + fn serialize_key(&self, o: &mut dyn io::Write, serialize_secrets: bool) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:208:44 | 208 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 208 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, C>> { 208 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/partial_body.rs:215:36 | 215 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 215 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, C>> { 215 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:167:21 | 167 | where F: FnMut(&Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 167 - where F: FnMut(&Stackable) -> bool { 167 + where F: FnMut(&dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:166:32 | 166 | pub(crate) fn map(head: &Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 166 - pub(crate) fn map(head: &Stackable, mut fun: F) 166 + pub(crate) fn map(head: &dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:180:25 | 180 | where F: FnMut(&mut Stackable) -> bool { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 - where F: FnMut(&mut Stackable) -> bool { 180 + where F: FnMut(&mut dyn Stackable) -> bool { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:179:40 | 179 | pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 179 - pub(crate) fn map_mut(head: &mut Stackable, mut fun: F) 179 + pub(crate) fn map_mut(head: &mut dyn Stackable, mut fun: F) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:192:30 | 192 | pub(crate) fn dump(head: &Stackable) { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 192 - pub(crate) fn dump(head: &Stackable) { 192 + pub(crate) fn dump(head: &dyn Stackable) { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:100:44 | 100 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 100 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>>; 100 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:103:36 | 103 | fn inner_ref(&self) -> Option<&Stackable<'a, C>>; | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 103 - fn inner_ref(&self) -> Option<&Stackable<'a, C>>; 103 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>>; | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:147:44 | 147 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 147 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 147 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:150:36 | 150 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 150 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 150 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:252:36 | 252 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 252 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:259:44 | 259 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 259 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 259 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:326:44 | 326 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 326 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 326 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:329:36 | 329 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 329 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 329 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:392:44 | 392 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 392 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 392 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:395:36 | 395 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 395 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 395 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:460:44 | 460 | fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 460 - fn inner_mut(&mut self) -> Option<&mut Stackable<'a, C>> { 460 + fn inner_mut(&mut self) -> Option<&mut dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/writer/mod.rs:463:36 | 463 | fn inner_ref(&self) -> Option<&Stackable<'a, C>> { | ^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 463 - fn inner_ref(&self) -> Option<&Stackable<'a, C>> { 463 + fn inner_ref(&self) -> Option<&dyn Stackable<'a, C>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:87:23 | 87 | impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 87 - impl<'a> From<&'a mut io::Write> for writer::Stack<'a, Cookie> { 87 + impl<'a> From<&'a mut dyn io::Write> for writer::Stack<'a, Cookie> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:88:24 | 88 | fn from(w: &'a mut io::Write) -> Self { | ^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 88 - fn from(w: &'a mut io::Write) -> Self { 88 + fn from(w: &'a mut dyn io::Write) -> Self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:165:36 | 165 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 165 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 165 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:168:44 | 168 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 168 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 168 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:493:44 | 493 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 493 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 493 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:500:36 | 500 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 500 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 500 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:672:36 | 672 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 672 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 672 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:675:44 | 675 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 675 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 675 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:798:36 | 798 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 798 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 798 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:801:44 | 801 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 801 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 801 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1141:36 | 1141 | fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1141 - fn inner_ref(&self) -> Option<&writer::Stackable<'a, Cookie>> { 1141 + fn inner_ref(&self) -> Option<&dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/serialize/stream.rs:1148:44 | 1148 | fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1148 - fn inner_mut(&mut self) -> Option<&mut writer::Stackable<'a, Cookie>> { 1148 + fn inner_mut(&mut self) -> Option<&mut dyn writer::Stackable<'a, Cookie>> { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/packet_pile.rs:275:53 | 275 | pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 275 - pub(crate) fn from_buffered_reader<'a>(bio: Box<'a + BufferedReader>) 275 + pub(crate) fn from_buffered_reader<'a>(bio: Box>) | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:444:25 | 444 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 444 - let mut cipher: Box = match algo { 444 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/ecdh.rs:530:25 | 530 | let mut cipher: Box = match algo { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 530 - let mut cipher: Box = match algo { 530 + let mut cipher: Box = match algo { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:91:27 | 91 | let c: Result> = match self { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 91 - let c: Result> = match self { 91 + let c: Result> = match self { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/crypto/hash.rs:104:27 | 104 | c.map(|c: Box| { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 104 - c.map(|c: Box| { 104 + c.map(|c: Box| { | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:592:38 | 592 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 592 - let mut reader : Option<&mut BufferedReader> 592 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:618:34 | 618 | let mut reader : Option<&BufferedReader> = Some(reader); | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 618 - let mut reader : Option<&BufferedReader> = Some(reader); 618 + let mut reader : Option<&dyn BufferedReader> = Some(reader); | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1085:42 | 1085 | let mut reader : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1085 - let mut reader : Option<&mut BufferedReader> 1085 + let mut reader : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:1872:37 | 1872 | let mut r : Option<&mut BufferedReader> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1872 - let mut r : Option<&mut BufferedReader> 1872 + let mut r : Option<&mut dyn BufferedReader> | warning: trait objects without an explicit `dyn` are deprecated --> openpgp/src/parse/parse.rs:2742:23 | 2742 | let bio : Box> | ^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 2742 - let bio : Box> 2742 + let bio : Box> | warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:36:21 | 36 | let mut v: Protected = | ----^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> openpgp/src/crypto/ecdh.rs:300:17 | 300 | let mut m = aes_key_unwrap(*sym, &Z, key)?; | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/packet/key.rs:320:21 | 320 | let mut private: Protected = | ----^^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:415:21 | 415 | let mut hash = self.hash.clone(); | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1087:17 | 1087 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/serialize/stream.rs:1089:17 | 1089 | let mut w = w.into_inner()?.unwrap(); | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:137:21 | 137 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:270:21 | 270 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:348:21 | 348 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/mpis.rs:455:21 | 455 | let mut rest = php.parse_bytes_eof("rest")?; | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:587:52 | 587 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:769:21 | 769 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:783:21 | 783 | let mut lit = Literal::new(DataFormat::Binary); | ----^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/stream.rs:1380:52 | 1380 | while let PacketParserResult::Some(mut pp) = ppr { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:277:17 | 277 | let mut inner = Box::new(self.reader).into_inner().unwrap(); | ----^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1363:25 | 1363 | let mut cipher = php_try!(php.parse_bytes_eof("encrypted_mpis")); | ----^^^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:1879:33 | 1879 | ... let mut h = state.sig_group_mut().hashes | ----^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:2061:38 | 2061 | PacketParserResult::Some(mut pp) => { | ----^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> openpgp/src/parse/parse.rs:3456:25 | 3456 | let mut dec = aead::Decryptor::new( | ----^^^ | | | help: remove this `mut` warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 --> openpgp/src/armor.rs:577:67 | 577 | ... Tag::CompressedData, Tag::Literal ].into_iter() { | ^^^^^^^^^ | = note: `#[warn(array_into_iter)]` on by default = warning: this changes meaning in Rust 2021 = note: for more information, see help: use `.iter()` instead of `.into_iter()` to avoid ambiguity | 577 | Tag::CompressedData, Tag::Literal ].iter() { | ~~~~ help: or remove `.into_iter()` to iterate by value | 577 - Tag::CompressedData, Tag::Literal ].into_iter() { 577 + Tag::CompressedData, Tag::Literal ] { | warning: unused borrow that must be used --> openpgp/src/armor.rs:932:9 | 932 | &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 932 | let _ = &mut buf[..amount].copy_from_slice(&self.buffer[..amount]); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1043:13 | 1043 | &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1043 | let _ = &mut buf[read..read + decoded.len()].copy_from_slice(&decoded); | +++++++ warning: unused borrow that must be used --> openpgp/src/armor.rs:1050:13 | 1050 | / &mut buf[read..read + decoded.len() - spill].copy_from_slice( 1051 | | &decoded[..decoded.len() - spill]); | |__________________________________________________^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1050 | let _ = &mut buf[read..read + decoded.len() - spill].copy_from_slice( | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:188:13 | 188 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 188 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/aead.rs:349:9 | 349 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 349 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:99:17 | 99 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `from` that must be used --> openpgp/src/crypto/ecdh.rs:252:21 | 252 | Protected::from(Sy); // Just a precaution. | ^^^^^^^^^^^^^^^^^^^^ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:483:17 | 483 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 483 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:493:17 | 493 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 493 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:569:17 | 569 | &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 569 | let _ = &mut tmp[8..].copy_from_slice(&r[8 * i..8 * (i + 1)]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/ecdh.rs:579:17 | 579 | &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 579 | let _ = &mut r[8 * i..8 * (i + 1)].copy_from_slice(&b[8..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/keygrip.rs:42:9 | 42 | &mut digest[..].copy_from_slice(&bytes[..]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 42 | let _ = &mut digest[..].copy_from_slice(&bytes[..]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:205:13 | 205 | &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 205 | let _ = &plaintext[..to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/crypto/symmetric.rs:274:9 | 274 | &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 274 | let _ = &plaintext[pos..pos + to_copy].copy_from_slice(&self.buffer[..to_copy]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:666:13 | 666 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 666 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:831:25 | 831 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 831 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:841:25 | 841 | &mut self.buffer[l..].copy_from_slice(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 841 | let _ = &mut self.buffer[l..].copy_from_slice(data); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:861:9 | 861 | &mut buf[..n].copy_from_slice(&self.buffer[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 861 | let _ = &mut buf[..n].copy_from_slice(&self.buffer[..n]); | +++++++ warning: unused borrow that must be used --> openpgp/src/parse/stream.rs:1498:13 | 1498 | &mut buf[..n].copy_from_slice(&reserve[..n]); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value | help: use `let _ = ...` to ignore the resulting value | 1498 | let _ = &mut buf[..n].copy_from_slice(&reserve[..n]); | +++++++ warning: `sequoia-openpgp` (lib) generated 212 warnings Finished release [optimized + debuginfo] target(s) in 0.29s install -d /home/buildozer/aports/testing/sequoia-sqv/pkg/sequoia-sqv/bin install -t /home/buildozer/aports/testing/sequoia-sqv/pkg/sequoia-sqv/bin /home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/target/release/sqv make: Leaving directory '/home/buildozer/aports/testing/sequoia-sqv/src/sequoia-v0.9.0/sqv' >>> sequoia-sqv*: Running postcheck for sequoia-sqv >>> sequoia-sqv*: Preparing package sequoia-sqv... >>> sequoia-sqv*: Stripping binaries >>> sequoia-sqv*: Scanning shared objects >>> sequoia-sqv*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libgcc_s.so.1 so:libgmp.so.10 so:libhogweed.so.6 so:libnettle.so.8 >>> sequoia-sqv*: Package size: 1.0 MB >>> sequoia-sqv*: Compressing data... >>> sequoia-sqv*: Create checksum... >>> sequoia-sqv*: Create sequoia-sqv-0.9.0-r5.apk >>> sequoia-sqv: Build complete at Wed, 03 Aug 2022 19:44:50 +0000 elapsed time 0h 4m 37s >>> sequoia-sqv: Cleaning up srcdir >>> sequoia-sqv: Cleaning up pkgdir >>> sequoia-sqv: Uninstalling dependencies... (1/45) Purging .makedepends-sequoia-sqv (20220803.194014) (2/45) Purging capnproto-dev (0.10.2-r0) (3/45) Purging libucontext-dev (1.2-r0) (4/45) Purging cargo (1.62.1-r2) (5/45) Purging rust (1.62.1-r2) (6/45) Purging rust-stdlib (1.62.1-r2) (7/45) Purging clang-dev (14.0.6-r1) (8/45) Purging clang (14.0.6-r1) (9/45) Purging clang-extra-tools (14.0.6-r1) (10/45) Purging clang-libs (14.0.6-r1) (11/45) Purging nettle-dev (3.8.1-r0) (12/45) Purging gmp-dev (6.2.1-r2) (13/45) Purging libgmpxx (6.2.1-r2) (14/45) Purging nettle (3.8.1-r0) (15/45) Purging openssl-dev (3.0.5-r1) (16/45) Purging py3-cffi (1.15.1-r0) (17/45) Purging py3-cparser (2.20-r2) (18/45) Purging py3-pytest (7.1.2-r1) (19/45) Purging py3-atomicwrites (1.4.1-r0) (20/45) Purging py3-attrs (21.4.0-r0) (21/45) Purging py3-iniconfig (1.1.1-r3) (22/45) Purging py3-pluggy (1.0.0-r0) (23/45) Purging py3-py (1.10.0-r2) (24/45) Purging py3-pygments (2.11.2-r0) (25/45) Purging py3-tomli (2.0.1-r1) (26/45) Purging py3-wcwidth (0.2.5-r2) (27/45) Purging py3-setuptools (59.4.0-r0) (28/45) Purging py3-appdirs (1.4.4-r4) (29/45) Purging py3-more-itertools (8.13.0-r0) (30/45) Purging py3-ordered-set (4.0.2-r4) (31/45) Purging py3-packaging (21.3-r1) (32/45) Purging py3-six (1.16.0-r2) (33/45) Purging py3-parsing (3.0.9-r0) (34/45) Purging python3-dev (3.10.5-r2) (35/45) Purging python3 (3.10.5-r2) (36/45) Purging sqlite-dev (3.39.2-r0) (37/45) Purging sqlite-libs (3.39.2-r0) (38/45) Purging capnproto (0.10.2-r0) (39/45) Purging libucontext (1.2-r0) (40/45) Purging llvm14-libs (14.0.6-r2) (41/45) Purging libffi (3.4.2-r1) (42/45) Purging libxml2 (2.9.14-r1) (43/45) Purging gdbm (1.23-r0) (44/45) Purging mpdecimal (2.5.1-r1) (45/45) Purging readline (8.1.2-r0) Executing busybox-1.35.0-r22.trigger OK: 260 MiB in 102 packages >>> sequoia-sqv: Updating the testing/armv7 repository index... >>> sequoia-sqv: Signing the index...