[INFO] fetching crate rust-crypto-wasm 0.3.1... [INFO] checking rust-crypto-wasm-0.3.1 against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] extracting crate rust-crypto-wasm 0.3.1 into /workspace/builds/worker-72/source [INFO] validating manifest of crates.io crate rust-crypto-wasm 0.3.1 on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-crypto-wasm 0.3.1 [INFO] finished tweaking crates.io crate rust-crypto-wasm 0.3.1 [INFO] tweaked toml for crates.io crate rust-crypto-wasm 0.3.1 written to /workspace/builds/worker-72/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf6aaf956b895e423372357ff6084d1f3c58311c77197d081b1fa723178b33ec [INFO] running `Command { std: "docker" "start" "-a" "cf6aaf956b895e423372357ff6084d1f3c58311c77197d081b1fa723178b33ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf6aaf956b895e423372357ff6084d1f3c58311c77197d081b1fa723178b33ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf6aaf956b895e423372357ff6084d1f3c58311c77197d081b1fa723178b33ec", kill_on_drop: false }` [INFO] [stdout] cf6aaf956b895e423372357ff6084d1f3c58311c77197d081b1fa723178b33ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c66ea3f37cc33771a7bbf4476ff68c7a1d69cc251d8c17cfb4157126af656a5a [INFO] running `Command { std: "docker" "start" "-a" "c66ea3f37cc33771a7bbf4476ff68c7a1d69cc251d8c17cfb4157126af656a5a", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking base64 v0.5.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rust-crypto-wasm v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cfg = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | let mut config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cfg = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/blockmodes.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/blockmodes.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fortuna.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | const MAX_GEN_SIZE: usize = (1 << 20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - const MAX_GEN_SIZE: usize = (1 << 20); [INFO] [stdout] 63 + const MAX_GEN_SIZE: usize = 1 << 20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pbkdf2.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rng = try!(OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scrypt.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | let mut rng = try!(OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/blockmodes.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/blockmodes.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 243 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/blockmodes.rs:1160:13 [INFO] [stdout] | [INFO] [stdout] 1160 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/chacha20.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/chacha20.rs:466:10 [INFO] [stdout] | [INFO] [stdout] 466 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ghash.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | let mut result: [u8; 16] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ghash.rs:166:53 [INFO] [stdout] | [INFO] [stdout] 166 | let mut table: [Gf128; 128] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/fortuna.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | const MAX_GEN_SIZE: usize = (1 << 20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 63 - const MAX_GEN_SIZE: usize = (1 << 20); [INFO] [stdout] 63 + const MAX_GEN_SIZE: usize = 1 << 20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pbkdf2.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rng = try!(OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scrypt.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | let mut rng = try!(OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SynchronousStreamCipher for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl SynchronousStreamCipher for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 51 + impl SynchronousStreamCipher for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | impl Encryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - impl Encryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 58 + impl Encryptor for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | impl Decryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - impl Decryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 65 + impl Decryptor for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/util.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | val: libc::uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | let mut k: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | let mut block: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let mut state: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | let mut l: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes_gcm.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | cipher: Box<SynchronousStreamCipher + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - cipher: Box<SynchronousStreamCipher + 'a>, [INFO] [stdout] 15 + cipher: Box<dyn SynchronousStreamCipher + 'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | padding: X) -> Box<Encryptor> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - padding: X) -> Box<Encryptor> { [INFO] [stdout] 29 + padding: X) -> Box<dyn Encryptor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | padding: X) -> Box<Decryptor> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - padding: X) -> Box<Decryptor> { [INFO] [stdout] 85 + padding: X) -> Box<dyn Decryptor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | padding: X) -> Box<Encryptor + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - padding: X) -> Box<Encryptor + 'static> { [INFO] [stdout] 142 + padding: X) -> Box<dyn Encryptor + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | padding: X) -> Box<Decryptor + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 - padding: X) -> Box<Decryptor + 'static> { [INFO] [stdout] 200 + padding: X) -> Box<dyn Decryptor + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | iv: &[u8]) -> Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - iv: &[u8]) -> Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 257 + iv: &[u8]) -> Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/cryptoutil.rs:171:33 [INFO] [stdout] | [INFO] [stdout] 171 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ghash.rs:47:50 [INFO] [stdout] | [INFO] [stdout] 47 | let mut result: [u8; 16] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ghash.rs:166:53 [INFO] [stdout] | [INFO] [stdout] 166 | let mut table: [Gf128; 128] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SynchronousStreamCipher for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl SynchronousStreamCipher for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 51 + impl SynchronousStreamCipher for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | impl Encryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - impl Encryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 58 + impl Encryptor for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | impl Decryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - impl Decryptor for Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 65 + impl Decryptor for Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/util.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | val: libc::uint8_t, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | use std::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:153:36 [INFO] [stdout] | [INFO] [stdout] 153 | let mut k: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | let mut block: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:155:40 [INFO] [stdout] | [INFO] [stdout] 155 | let mut state: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/whirlpool.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | let mut l: [u64; 8] = unsafe { uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/whirlpool.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes_gcm.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | cipher: Box<SynchronousStreamCipher + 'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - cipher: Box<SynchronousStreamCipher + 'a>, [INFO] [stdout] 15 + cipher: Box<dyn SynchronousStreamCipher + 'a>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | padding: X) -> Box<Encryptor> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - padding: X) -> Box<Encryptor> { [INFO] [stdout] 29 + padding: X) -> Box<dyn Encryptor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | padding: X) -> Box<Decryptor> { [INFO] [stdout] | ^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - padding: X) -> Box<Decryptor> { [INFO] [stdout] 85 + padding: X) -> Box<dyn Decryptor> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | padding: X) -> Box<Encryptor + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - padding: X) -> Box<Encryptor + 'static> { [INFO] [stdout] 142 + padding: X) -> Box<dyn Encryptor + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | padding: X) -> Box<Decryptor + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 200 - padding: X) -> Box<Decryptor + 'static> { [INFO] [stdout] 200 + padding: X) -> Box<dyn Decryptor + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/aes.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | iv: &[u8]) -> Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - iv: &[u8]) -> Box<SynchronousStreamCipher + 'static> { [INFO] [stdout] 257 + iv: &[u8]) -> Box<dyn SynchronousStreamCipher + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digest::Digest` [INFO] [stdout] --> src/hmac.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | use digest::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/whirlpool.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/symmetriccipher.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/symmetriccipher.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "c66ea3f37cc33771a7bbf4476ff68c7a1d69cc251d8c17cfb4157126af656a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66ea3f37cc33771a7bbf4476ff68c7a1d69cc251d8c17cfb4157126af656a5a", kill_on_drop: false }` [INFO] [stdout] c66ea3f37cc33771a7bbf4476ff68c7a1d69cc251d8c17cfb4157126af656a5a