[INFO] fetching crate shaman 0.1.0... [INFO] checking shaman-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate shaman 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate shaman 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shaman 0.1.0 [INFO] finished tweaking crates.io crate shaman 0.1.0 [INFO] tweaked toml for crates.io crate shaman 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5089d4aef9c0b0b35973a2595184e9ac3297ca155e8abaedb7242749564cf3 [INFO] running `Command { std: "docker" "start" "-a" "cf5089d4aef9c0b0b35973a2595184e9ac3297ca155e8abaedb7242749564cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5089d4aef9c0b0b35973a2595184e9ac3297ca155e8abaedb7242749564cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5089d4aef9c0b0b35973a2595184e9ac3297ca155e8abaedb7242749564cf3", kill_on_drop: false }` [INFO] [stdout] cf5089d4aef9c0b0b35973a2595184e9ac3297ca155e8abaedb7242749564cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06d019596f0352a8e22ba37cbabcf576fbfafdf5e29ed95d7a480c179e5597dc [INFO] running `Command { std: "docker" "start" "-a" "06d019596f0352a8e22ba37cbabcf576fbfafdf5e29ed95d7a480c179e5597dc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking shaman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | for _ in (0..input.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - for _ in (0..input.len()) { [INFO] [stdout] 47 + for _ in 0..input.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - for _ in (0..dst.len()) { [INFO] [stdout] 99 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - for _ in (0..dst.len()) { [INFO] [stdout] 115 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - for _ in (0..dst.len()) { [INFO] [stdout] 131 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - for _ in (0..dst.len()) { [INFO] [stdout] 147 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | for i in (0isize..plaintext.len() as isize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - for i in (0isize..plaintext.len() as isize) { [INFO] [stdout] 186 + for i in 0isize..plaintext.len() as isize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `with-bench` [INFO] [stdout] --> src/sha1.rs:534:17 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg(all(test, feature = "with-bench"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `with-bench` [INFO] [stdout] --> src/sha2.rs:1403:17 [INFO] [stdout] | [INFO] [stdout] 1403 | #[cfg(all(test, feature = "with-bench"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::IsaacRng` [INFO] [stdout] --> src/cryptoutil.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | use rand::IsaacRng; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `IsaacRng` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stdout] --> src/cryptoutil.rs:514:31 [INFO] [stdout] | [INFO] [stdout] 514 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stdout] | | [INFO] [stdout] | no `IndependentSample` in `distributions` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::collections::btree_map::Range [INFO] [stdout] std::collections::btree_set::Range [INFO] [stdout] std::ops::Range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | for _ in (0..input.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - for _ in (0..input.len()) { [INFO] [stdout] 47 + for _ in 0..input.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - for _ in (0..dst.len()) { [INFO] [stdout] 99 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - for _ in (0..dst.len()) { [INFO] [stdout] 115 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 131 - for _ in (0..dst.len()) { [INFO] [stdout] 131 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | for _ in (0..dst.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - for _ in (0..dst.len()) { [INFO] [stdout] 147 + for _ in 0..dst.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/cryptoutil.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | for i in (0isize..plaintext.len() as isize) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 186 - for i in (0isize..plaintext.len() as isize) { [INFO] [stdout] 186 + for i in 0isize..plaintext.len() as isize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `with-bench` [INFO] [stdout] --> src/sha1.rs:534:17 [INFO] [stdout] | [INFO] [stdout] 534 | #[cfg(all(test, feature = "with-bench"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `with-bench` [INFO] [stdout] --> src/sha2.rs:1403:17 [INFO] [stdout] | [INFO] [stdout] 1403 | #[cfg(all(test, feature = "with-bench"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-bench` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [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] = note: `#[warn(deprecated)]` on by default [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/cryptoutil.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/symmetriccipher.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | impl SynchronousStreamCipher for Box { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | impl SynchronousStreamCipher for Box { [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 { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | impl SynchronousStreamCipher for Box { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | impl Encryptor for Box { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | impl Decryptor for Box { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | impl Encryptor for Box { [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 { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | impl Decryptor for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `simd_eq` is never used [INFO] [stdout] --> src/simd.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SimdExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 10 | fn simd_eq(self, rhs: Self) -> Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step_up` is never used [INFO] [stdout] --> src/step_by.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait RangeExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 37 | fn step_up(self, ammount: T) -> StepUp; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockEncryptor` is never used [INFO] [stdout] --> src/symmetriccipher.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait BlockEncryptor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockEncryptorX8` is never used [INFO] [stdout] --> src/symmetriccipher.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait BlockEncryptorX8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockDecryptor` is never used [INFO] [stdout] --> src/symmetriccipher.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait BlockDecryptor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BlockDecryptorX8` is never used [INFO] [stdout] --> src/symmetriccipher.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait BlockDecryptorX8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/symmetriccipher.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Encryptor { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 37 | fn encrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrypt` is never used [INFO] [stdout] --> src/symmetriccipher.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Decryptor { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 42 | fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, eof: bool) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | let mut tmp: u64 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/cryptoutil.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let mut tmp: u32 = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shaman` (lib test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06d019596f0352a8e22ba37cbabcf576fbfafdf5e29ed95d7a480c179e5597dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06d019596f0352a8e22ba37cbabcf576fbfafdf5e29ed95d7a480c179e5597dc", kill_on_drop: false }` [INFO] [stdout] 06d019596f0352a8e22ba37cbabcf576fbfafdf5e29ed95d7a480c179e5597dc