[INFO] fetching crate bip_bencode 0.4.4... [INFO] checking bip_bencode-0.4.4 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate bip_bencode 0.4.4 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate bip_bencode 0.4.4 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bip_bencode 0.4.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bip_bencode 0.4.4 [INFO] tweaked toml for crates.io crate bip_bencode 0.4.4 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d2a52e41d0e7006a57f5051cc9f5844b75462655a88dc1db130cc8eb317a977 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5d2a52e41d0e7006a57f5051cc9f5844b75462655a88dc1db130cc8eb317a977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d2a52e41d0e7006a57f5051cc9f5844b75462655a88dc1db130cc8eb317a977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d2a52e41d0e7006a57f5051cc9f5844b75462655a88dc1db130cc8eb317a977", kill_on_drop: false }` [INFO] [stdout] 5d2a52e41d0e7006a57f5051cc9f5844b75462655a88dc1db130cc8eb317a977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da3d43bec0088b4c2f5dfbe813a963af90dd4d04b211184e402e1f0b802fa7e5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "da3d43bec0088b4c2f5dfbe813a963af90dd4d04b211184e402e1f0b802fa7e5", kill_on_drop: false }` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking bip_bencode v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | List(&'a BListAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Dict(&'a BDictAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn list(&self) -> Option<&BListAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn dict(&self) -> Option<&BDictAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | fn list(&self) -> Option<&BListAccess> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | fn dict(&self) -> Option<&BDictAccess> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | List(&'a mut BListAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | Dict(&'a mut BDictAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn list_mut(&mut self) -> Option<&mut BListAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | fn dict_mut(&mut self) -> Option<&mut BDictAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | self.convert_bytes_ext(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookup_and_convert_bytes_ext<'a, B, K1, K2>(&self, dictionary: &BDictAccess, key: K2) -> Result<&'a [u8], Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | self.convert_str_ext(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:35:70 [INFO] [stdout] | [INFO] [stdout] 35 | fn lookup_and_convert_str_ext<'a, B, K1, K2>(&self, dictionary: &BDictAccess, key: K2) -> Result<&'a str, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:85:82 [INFO] [stdout] | [INFO] [stdout] 85 | fn convert_list<'a, B, E>(&self, bencode: &'a B, error_key: E) -> Result<&'a BListAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | fn convert_dict<'a, B, E>(&self, bencode: &'a B, error_key: E) -> Result<&'a BDictAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:105:53 [INFO] [stdout] | [INFO] [stdout] 105 | fn lookup<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a B, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | self.convert_int(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:117:62 [INFO] [stdout] | [INFO] [stdout] 117 | fn lookup_and_convert_int(&self, dictionary: &BDictAccess, key: K2) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | self.convert_bytes(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:124:71 [INFO] [stdout] | [INFO] [stdout] 124 | fn lookup_and_convert_bytes<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a [u8], Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | self.convert_str(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 131 | fn lookup_and_convert_str<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a str, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | self.convert_list(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:138:70 [INFO] [stdout] | [INFO] [stdout] 138 | fn lookup_and_convert_list<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a BListAccess, Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:138:113 [INFO] [stdout] | [INFO] [stdout] 138 | ...ss, key: K2) -> Result<&'a BListAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | self.convert_dict(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | fn lookup_and_convert_dict<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:145:113 [INFO] [stdout] | [INFO] [stdout] 145 | ..., key: K2) -> Result<&'a BDictAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, V: 'a> Index for &'a BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a, V: 'a> Index for &'a mut BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, V: 'a> IndexMut for &'a mut BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a, V: 'a> IntoIterator for &'a BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | access: &'a BListAccess [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | fn list(&self) -> Option<&BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | fn dict(&self) -> Option<&BDictAccess, BencodeMut<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess, BencodeMut<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | fn list_mut(&mut self) -> Option<&mut BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn dict_mut(&mut self) -> Option<&mut BDictAccess, BencodeMut<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess, BencodeMut<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/encode.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn encode_list(list: &BListAccess, bytes: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/encode.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | fn encode_dict<'a, K, V>(dict: &BDictAccess, bytes: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/bencode_ref.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let (bencode, end_pos) = try!(decode::decode(bytes, 0, opts, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference/bencode_ref.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn list(&self) -> Option<&BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference/bencode_ref.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | fn dict(&self) -> Option<&BDictAccess<&'a [u8], BencodeRef<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess<&'a [u8], BencodeRef<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let curr_byte = try!(peek_byte(bytes, pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (bencode, next_pos) = try!(decode_int(bytes, pos + 1, ::BEN_END)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | let (bencode, next_pos) = try!(decode_list(bytes, pos + 1, opts, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (bencode, next_pos) = try!(decode_dict(bytes, pos + 1, opts, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | let (bencode, next_pos) = try!(decode_bytes(bytes, pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/reference/decode.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | ::BYTE_LEN_LOW...::BYTE_LEN_HIGH => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let (num_bytes, start_pos) = try!(decode_int(bytes, pos, ::BYTE_LEN_END)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let mut curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | let (bencode, next_pos) = try!(decode(bytes, curr_pos, opts, depth + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let mut curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | let (key_bytes, next_pos) = try!(decode_bytes(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let (value, next_pos) = try!(decode(bytes, curr_pos, opts, depth + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | List(&'a BListAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Dict(&'a BDictAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | fn list(&self) -> Option<&BListAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | fn dict(&self) -> Option<&BDictAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | fn list(&self) -> Option<&BListAccess> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | fn dict(&self) -> Option<&BDictAccess> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | List(&'a mut BListAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | Dict(&'a mut BDictAccess), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn list_mut(&mut self) -> Option<&mut BListAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/bencode.rs:115:43 [INFO] [stdout] | [INFO] [stdout] 115 | fn dict_mut(&mut self) -> Option<&mut BDictAccess>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | self.convert_bytes_ext(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookup_and_convert_bytes_ext<'a, B, K1, K2>(&self, dictionary: &BDictAccess, key: K2) -> Result<&'a [u8], Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | self.convert_str_ext(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:35:70 [INFO] [stdout] | [INFO] [stdout] 35 | fn lookup_and_convert_str_ext<'a, B, K1, K2>(&self, dictionary: &BDictAccess, key: K2) -> Result<&'a str, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:85:82 [INFO] [stdout] | [INFO] [stdout] 85 | fn convert_list<'a, B, E>(&self, bencode: &'a B, error_key: E) -> Result<&'a BListAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:96:82 [INFO] [stdout] | [INFO] [stdout] 96 | fn convert_dict<'a, B, E>(&self, bencode: &'a B, error_key: E) -> Result<&'a BDictAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:105:53 [INFO] [stdout] | [INFO] [stdout] 105 | fn lookup<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a B, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | self.convert_int(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:117:62 [INFO] [stdout] | [INFO] [stdout] 117 | fn lookup_and_convert_int(&self, dictionary: &BDictAccess, key: K2) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | self.convert_bytes(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:124:71 [INFO] [stdout] | [INFO] [stdout] 124 | fn lookup_and_convert_bytes<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a [u8], Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | self.convert_str(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:131:69 [INFO] [stdout] | [INFO] [stdout] 131 | fn lookup_and_convert_str<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a str, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | self.convert_list(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:138:70 [INFO] [stdout] | [INFO] [stdout] 138 | fn lookup_and_convert_list<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a BListAccess, Se... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:138:113 [INFO] [stdout] | [INFO] [stdout] 138 | ...ss, key: K2) -> Result<&'a BListAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/access/convert.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | self.convert_dict(try!(self.lookup(dictionary, &key)), &key) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:145:70 [INFO] [stdout] | [INFO] [stdout] 145 | fn lookup_and_convert_dict<'a, B, K1, K2>(&self, dictionary: &'a BDictAccess, key: K2) -> Result<&'a BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/convert.rs:145:113 [INFO] [stdout] | [INFO] [stdout] 145 | ..., key: K2) -> Result<&'a BDictAccess, Self::Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a, V: 'a> Index for &'a BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a, V: 'a> Index for &'a mut BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a, V: 'a> IndexMut for &'a mut BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a, V: 'a> IntoIterator for &'a BListAccess { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/access/list.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | access: &'a BListAccess [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | fn list(&self) -> Option<&BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | fn dict(&self) -> Option<&BDictAccess, BencodeMut<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess, BencodeMut<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:128:43 [INFO] [stdout] | [INFO] [stdout] 128 | fn list_mut(&mut self) -> Option<&mut BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/bencode_mut.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn dict_mut(&mut self) -> Option<&mut BDictAccess, BencodeMut<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess, BencodeMut<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/encode.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn encode_list(list: &BListAccess, bytes: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable/encode.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | fn encode_dict<'a, K, V>(dict: &BDictAccess, bytes: &mut Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/bencode_ref.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | let (bencode, end_pos) = try!(decode::decode(bytes, 0, opts, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference/bencode_ref.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn list(&self) -> Option<&BListAccess>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BListAccess>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reference/bencode_ref.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | fn dict(&self) -> Option<&BDictAccess<&'a [u8], BencodeRef<'a>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BDictAccess<&'a [u8], BencodeRef<'a>>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let curr_byte = try!(peek_byte(bytes, pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:17:39 [INFO] [stdout] | [INFO] [stdout] 17 | let (bencode, next_pos) = try!(decode_int(bytes, pos + 1, ::BEN_END)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | let (bencode, next_pos) = try!(decode_list(bytes, pos + 1, opts, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | let (bencode, next_pos) = try!(decode_dict(bytes, pos + 1, opts, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | let (bencode, next_pos) = try!(decode_bytes(bytes, pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/reference/decode.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | ::BYTE_LEN_LOW...::BYTE_LEN_HIGH => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let (num_bytes, start_pos) = try!(decode_int(bytes, pos, ::BYTE_LEN_END)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let mut curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | let (bencode, next_pos) = try!(decode(bytes, curr_pos, opts, depth + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let mut curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | let (key_bytes, next_pos) = try!(decode_bytes(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | let (value, next_pos) = try!(decode(bytes, curr_pos, opts, depth + 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reference/decode.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | curr_byte = try!(peek_byte(bytes, curr_pos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.26s [INFO] running `Command { std: "docker" "inspect" "da3d43bec0088b4c2f5dfbe813a963af90dd4d04b211184e402e1f0b802fa7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3d43bec0088b4c2f5dfbe813a963af90dd4d04b211184e402e1f0b802fa7e5", kill_on_drop: false }` [INFO] [stdout] da3d43bec0088b4c2f5dfbe813a963af90dd4d04b211184e402e1f0b802fa7e5