[INFO] fetching crate i2p_snow 0.5.1... [INFO] testing i2p_snow-0.5.1 against 1.55.0 for beta-1.56-1 [INFO] extracting crate i2p_snow 0.5.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate i2p_snow 0.5.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3eac88b788687d9ffa6e674d9533333f9fe33f6b3dec1615b0f4698e1fc10d6 [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" "c3eac88b788687d9ffa6e674d9533333f9fe33f6b3dec1615b0f4698e1fc10d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3eac88b788687d9ffa6e674d9533333f9fe33f6b3dec1615b0f4698e1fc10d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3eac88b788687d9ffa6e674d9533333f9fe33f6b3dec1615b0f4698e1fc10d6", kill_on_drop: false }` [INFO] [stdout] c3eac88b788687d9ffa6e674d9533333f9fe33f6b3dec1615b0f4698e1fc10d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bec6ed2cba76c7f9482f647372fb32d8fb7a4cda1559b45980e5829aa49235b [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" "3bec6ed2cba76c7f9482f647372fb32d8fb7a4cda1559b45980e5829aa49235b", kill_on_drop: false }` [INFO] [stderr] Compiling static_slice v0.0.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling chacha20-poly1305-aead v0.1.2 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling i2p_snow v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Compiling x25519-dalek v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling 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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.49s [INFO] running `Command { std: "docker" "inspect" "3bec6ed2cba76c7f9482f647372fb32d8fb7a4cda1559b45980e5829aa49235b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bec6ed2cba76c7f9482f647372fb32d8fb7a4cda1559b45980e5829aa49235b", kill_on_drop: false }` [INFO] [stdout] 3bec6ed2cba76c7f9482f647372fb32d8fb7a4cda1559b45980e5829aa49235b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec389dbb6b44456bda13751cec6d5cd07690aab0f5d22047005d8852f7447ac0 [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" "ec389dbb6b44456bda13751cec6d5cd07690aab0f5d22047005d8852f7447ac0", kill_on_drop: false }` [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.3.1 [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling i2p_snow v0.5.1 (/opt/rustwide/workdir) [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] [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: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.10s [INFO] running `Command { std: "docker" "inspect" "ec389dbb6b44456bda13751cec6d5cd07690aab0f5d22047005d8852f7447ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec389dbb6b44456bda13751cec6d5cd07690aab0f5d22047005d8852f7447ac0", kill_on_drop: false }` [INFO] [stdout] ec389dbb6b44456bda13751cec6d5cd07690aab0f5d22047005d8852f7447ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c74d0eb9f9211d9a9faca3ecbb739debe07f69cb668f5e543bbd342115af9f59 [INFO] running `Command { std: "docker" "start" "-a" "c74d0eb9f9211d9a9faca3ecbb739debe07f69cb668f5e543bbd342115af9f59", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cipherstate.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | cipher : Box, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cipherstate.rs:12:28 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(cipher: Box) -> Self { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cipherstate.rs:102:18 [INFO] [stderr] | [INFO] [stderr] 102 | cipher : Box, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cipherstate.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn new(cipher: Box) -> Self { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/symmetricstate.rs:37:54 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn new(cipherstate: CipherState, hasher: Box, enable_ask: bool) -> SymmetricState { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) rng : Box, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:22:46 [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) s : Toggle>, [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:23:46 [INFO] [stderr] | [INFO] [stderr] 23 | pub(crate) e : Toggle>, [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:30:46 [INFO] [stderr] | [INFO] [stderr] 30 | pub(crate) obfse : Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:40:31 [INFO] [stderr] | [INFO] [stderr] 40 | rng : Box, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:42:31 [INFO] [stderr] | [INFO] [stderr] 42 | hasher : Box, [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:43:38 [INFO] [stderr] | [INFO] [stderr] 43 | s : Toggle>, [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:44:38 [INFO] [stderr] | [INFO] [stderr] 44 | e : Toggle>, [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handshakestate.rs:52:38 [INFO] [stderr] | [INFO] [stderr] 52 | obfse : Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/builder.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | resolver: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/builder.rs:75:61 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn with_resolver(params: NoiseParams, resolver: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/types.rs:24:38 [INFO] [stderr] | [INFO] [stderr] 24 | fn generate(&mut self, rng: &mut Random); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:34:41 [INFO] [stderr] | [INFO] [stderr] 34 | fn resolve_rng(&self) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:41:59 [INFO] [stderr] | [INFO] [stderr] 41 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:48:63 [INFO] [stderr] | [INFO] [stderr] 48 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:57:67 [INFO] [stderr] | [INFO] [stderr] 57 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:64:67 [INFO] [stderr] | [INFO] [stderr] 64 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/default.rs:138:38 [INFO] [stderr] | [INFO] [stderr] 138 | fn generate(&mut self, rng: &mut Random) { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | fn resolve_rng(&self) -> Option>; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:24:59 [INFO] [stderr] | [INFO] [stderr] 24 | fn resolve_dh(&self, choice: &DHChoice) -> Option>; [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:27:63 [INFO] [stderr] | [INFO] [stderr] 27 | fn resolve_hash(&self, choice: &HashChoice) -> Option>; [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:30:67 [INFO] [stderr] | [INFO] [stderr] 30 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option>; [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:33:67 [INFO] [stderr] | [INFO] [stderr] 33 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | preferred: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:41:19 [INFO] [stderr] | [INFO] [stderr] 41 | fallback: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:46:31 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:46:62 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new(preferred: Box, fallback: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn CryptoResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | fn resolve_rng(&self) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:56:59 [INFO] [stderr] | [INFO] [stderr] 56 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:60:63 [INFO] [stderr] | [INFO] [stderr] 60 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:64:67 [INFO] [stderr] | [INFO] [stderr] 64 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/resolvers/mod.rs:68:67 [INFO] [stderr] | [INFO] [stderr] 68 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `i2p_snow` (lib) generated 37 warnings [INFO] [stderr] warning: `i2p_snow` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/general.rs:67:41 [INFO] [stderr] | [INFO] [stderr] 67 | fn resolve_rng(&self) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Random` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/general.rs:72:59 [INFO] [stderr] | [INFO] [stderr] 72 | fn resolve_dh(&self, choice: &DHChoice) -> Option> { [INFO] [stderr] | ^^ help: use `dyn`: `dyn Dh` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/general.rs:76:63 [INFO] [stderr] | [INFO] [stderr] 76 | fn resolve_hash(&self, choice: &HashChoice) -> Option> { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Hash` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/general.rs:80:67 [INFO] [stderr] | [INFO] [stderr] 80 | fn resolve_cipher(&self, choice: &CipherChoice) -> Option> { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Cipher` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/general.rs:84:67 [INFO] [stderr] | [INFO] [stderr] 84 | fn resolve_obfusc(&self, choice: &ObfuscChoice) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Obfusc + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `i2p_snow` (test "general") generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/i2p_snow-819460b4cdb760ee) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test params::tests::test_fallback_mod ... ok [INFO] [stdout] test params::tests::test_modified_psk_handshake ... ok [INFO] [stdout] test resolvers::default::tests::test_blake2b ... ok [INFO] [stdout] test params::tests::test_multi_psk_mod ... ok [INFO] [stdout] test params::tests::test_simple_handshake ... ok [INFO] [stdout] test params::tests::test_modified_multi_psk_handshake ... ok [INFO] [stdout] test params::tests::test_psk_fallback_mod ... ok [INFO] [stdout] test resolvers::default::tests::test_curve25519 ... ok [INFO] [stdout] test params::tests::test_basic_deferred ... ok [INFO] [stdout] test params::tests::test_single_psk_mod ... ok [INFO] [stdout] test params::tests::test_aesobfse_mod ... ok [INFO] [stdout] test resolvers::default::tests::test_aes256_gcm ... ok [INFO] [stdout] test builder::tests::test_builder ... ok [INFO] [stdout] test params::tests::test_basic ... ok [INFO] [stdout] test resolvers::default::tests::test_chachapoly_empty ... ok [INFO] [stdout] test resolvers::default::tests::test_blake2s ... ok [INFO] [stdout] test resolvers::default::tests::test_hmac_sha256_sha512 ... ok [INFO] [stdout] test builder::tests::test_builder_keygen ... ok [INFO] [stdout] test resolvers::default::tests::test_sha256 ... ok [INFO] [stdout] test resolvers::default::tests::test_chachapoly_known_answer ... ok [INFO] [stdout] test resolvers::default::tests::test_chachapoly_nonempty ... ok [INFO] [stdout] test resolvers::default::tests::test_poly1305 ... ok [INFO] [stdout] test builder::tests::test_builder_missing_prereqs ... ok [INFO] [stdout] test builder::tests::test_builder_bad_spec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/general.rs (/opt/rustwide/target/debug/deps/general-1c1da9fa81b05695) [INFO] [stdout] [INFO] [stdout] running 26 tests [INFO] [stdout] test test_Npsk0_expected_value ... ok [INFO] [stdout] test test_handshake_message_undersized_output_buffer ... ok [INFO] [stdout] test test_buffer_issues ... ok [INFO] [stdout] test test_buffer_issues_encrypted_handshake ... ok [INFO] [stdout] test test_protocol_name ... ok [INFO] [stdout] test test_rekey ... ok [INFO] [stdout] test test_oneway_responder_enforcements ... ok [INFO] [stdout] test test_Xpsk0_expected_value ... ok [INFO] [stdout] test test_oneway_initiator_enforcements ... ok [INFO] [stdout] test test_ask ... ok [INFO] [stdout] test test_NNpsk0_sanity_session ... ok [INFO] [stdout] test test_handshake_message_exceeds_max_len ... ok [INFO] [stdout] test test_rekey_manually ... ok [INFO] [stdout] test test_stateless_seperation ... ok [INFO] [stdout] test test_transport_message_undersized_output_buffer ... ok [INFO] [stdout] test test_transport_message_exceeds_max_len ... ok [INFO] [stdout] test test_stateless_sanity_session ... ok [INFO] [stdout] test test_read_buffer_issues ... ok [INFO] [stdout] test test_noise_session_transition_change ... ok [INFO] [stdout] test test_send_trait ... ok [INFO] [stdout] test test_sanity_session ... ok [INFO] [stdout] test test_checkpointing ... ok [INFO] [stdout] test test_XXpsk3_sanity_session ... ok [INFO] [stdout] test test_XXpsk0_expected_value ... ok [INFO] [stdout] test test_get_remote_static ... ok [INFO] [stderr] Running tests/vectors.rs (/opt/rustwide/target/debug/deps/vectors-2cded3d50de5ce65) [INFO] [stdout] test test_set_psk ... ok [INFO] [stderr] Doc-tests i2p_snow [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/session.rs - session::Session::into_stateless_transport_mode (line 401) ... ignored [INFO] [stdout] test src/session.rs - session::Session::into_transport_mode (line 366) ... ignored [INFO] [stdout] test src/session.rs - session::Session::is_handshake_finished (line 56) ... ignored [INFO] [stdout] test src/session.rs - session::Session::was_write_payload_encrypted (line 35) ... ignored [INFO] [stdout] test src/params/mod.rs - params::NoiseParams (line 126) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] test src/builder.rs - builder::Builder (line 26) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 3.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c74d0eb9f9211d9a9faca3ecbb739debe07f69cb668f5e543bbd342115af9f59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74d0eb9f9211d9a9faca3ecbb739debe07f69cb668f5e543bbd342115af9f59", kill_on_drop: false }` [INFO] [stdout] c74d0eb9f9211d9a9faca3ecbb739debe07f69cb668f5e543bbd342115af9f59