[INFO] fetching crate i2p_snow 0.5.1... [INFO] checking i2p_snow-0.5.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate i2p_snow 0.5.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate i2p_snow 0.5.1 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 i2p_snow 0.5.1 [INFO] finished tweaking crates.io crate i2p_snow 0.5.1 [INFO] tweaked toml for crates.io crate i2p_snow 0.5.1 written to /workspace/builds/worker-0/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] Downloading crates ... [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded clear_on_drop v0.2.4 [INFO] [stderr] Downloaded curve25519-dalek v1.2.6 [INFO] [stderr] Downloaded static_slice v0.0.3 [INFO] [stderr] Downloaded hacl-star v0.0.13 [INFO] [stderr] Downloaded hacl-star-sys v0.0.7 [INFO] [stderr] Downloaded x25519-dalek v0.4.5 [INFO] [stderr] Downloaded chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Downloaded untrusted v0.6.2 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded ring v0.14.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 3efeecafb6fdad6afe22591e971029a4f7522ca34ed0d34073f420220b02713b [INFO] running `Command { std: "docker" "start" "-a" "3efeecafb6fdad6afe22591e971029a4f7522ca34ed0d34073f420220b02713b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3efeecafb6fdad6afe22591e971029a4f7522ca34ed0d34073f420220b02713b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3efeecafb6fdad6afe22591e971029a4f7522ca34ed0d34073f420220b02713b", kill_on_drop: false }` [INFO] [stdout] 3efeecafb6fdad6afe22591e971029a4f7522ca34ed0d34073f420220b02713b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 51a734cab4bf364fe4a77b56bd638c3c868ea6a4fd3243720d5362826506db4a [INFO] running `Command { std: "docker" "start" "-a" "51a734cab4bf364fe4a77b56bd638c3c868ea6a4fd3243720d5362826506db4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking static_slice v0.0.3 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling i2p_snow v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking x25519-dalek v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cipherstate.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | cipher : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | cipher : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/symmetricstate.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(cipherstate: CipherState, hasher: Box, enable_ask: bool) -> SymmetricState { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/handshakestate.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) rng : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/handshakestate.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) s : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) e : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) obfse : Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/handshakestate.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | rng : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/handshakestate.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | hasher : Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/handshakestate.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | s : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | e : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | obfse : Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/builder.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | resolver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/builder.rs:75:61 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_resolver(params: NoiseParams, resolver: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/types.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(&mut self, rng: &mut Random); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/default.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/default.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/default.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/default.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/default.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/resolvers/default.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn generate(&mut self, rng: &mut Random) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn resolve_rng(&self) -> Option>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | fn resolve_dh(&self, choice: &DHChoice) -> Option>; [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/mod.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | fn resolve_hash(&self, choice: &HashChoice) -> Option>; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/mod.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/mod.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/resolvers/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | preferred: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fallback: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/mod.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/mod.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/mod.rs:68:67 [INFO] [stdout] | [INFO] [stdout] 68 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | #![cfg_attr(feature = "nightly", feature(try_from))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] error[E0463]: can't find crate for `snow` [INFO] [stdout] --> benches/benches.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate snow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2p_snow` due to 2 previous errors [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/general.rs:67:41 [INFO] [stdout] | [INFO] [stdout] 67 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/general.rs:72:59 [INFO] [stdout] | [INFO] [stdout] 72 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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] --> tests/general.rs:76:63 [INFO] [stdout] | [INFO] [stdout] 76 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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] --> tests/general.rs:80:67 [INFO] [stdout] | [INFO] [stdout] 80 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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] --> tests/general.rs:84:67 [INFO] [stdout] | [INFO] [stdout] 84 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/cipherstate.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | cipher : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | cipher : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/cipherstate.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn new(cipher: Box) -> Self { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/symmetricstate.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(cipherstate: CipherState, hasher: Box, enable_ask: bool) -> SymmetricState { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/handshakestate.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) rng : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/handshakestate.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) s : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) e : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) obfse : Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/handshakestate.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | rng : Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/handshakestate.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | hasher : Box, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/handshakestate.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | s : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | e : Toggle>, [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/handshakestate.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | obfse : Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/builder.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | resolver: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/builder.rs:75:61 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_resolver(params: NoiseParams, resolver: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/types.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | fn generate(&mut self, rng: &mut Random); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/default.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/default.rs:41:59 [INFO] [stdout] | [INFO] [stdout] 41 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/default.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/default.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/default.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/resolvers/default.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | fn generate(&mut self, rng: &mut Random) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | fn resolve_rng(&self) -> Option>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | fn resolve_dh(&self, choice: &DHChoice) -> Option>; [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/mod.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | fn resolve_hash(&self, choice: &HashChoice) -> Option>; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/mod.rs:30:67 [INFO] [stdout] | [INFO] [stdout] 30 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/mod.rs:33:67 [INFO] [stdout] | [INFO] [stdout] 33 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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/resolvers/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | preferred: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | fallback: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:46:62 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [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/resolvers/mod.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | fn resolve_rng(&self) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Random` [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/resolvers/mod.rs:56:59 [INFO] [stdout] | [INFO] [stdout] 56 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stdout] | ^^ help: use `dyn`: `dyn Dh` [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/resolvers/mod.rs:60:63 [INFO] [stdout] | [INFO] [stdout] 60 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Hash` [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/resolvers/mod.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Cipher` [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/resolvers/mod.rs:68:67 [INFO] [stdout] | [INFO] [stdout] 68 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:56:42 [INFO] [stdout] | [INFO] [stdout] 56 | #![cfg_attr(feature = "nightly", feature(try_from))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "51a734cab4bf364fe4a77b56bd638c3c868ea6a4fd3243720d5362826506db4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a734cab4bf364fe4a77b56bd638c3c868ea6a4fd3243720d5362826506db4a", kill_on_drop: false }` [INFO] [stdout] 51a734cab4bf364fe4a77b56bd638c3c868ea6a4fd3243720d5362826506db4a