[INFO] fetching crate shaman 0.1.0... [INFO] testing shaman-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate shaman 0.1.0 into /workspace/builds/worker-19/source [INFO] validating manifest of crates.io crate shaman 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-19/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f32180c7c51117d86d442b0ddc980f9f772d0670d4ddfe80227278205f9a170 [INFO] running `Command { std: "docker" "start" "-a" "6f32180c7c51117d86d442b0ddc980f9f772d0670d4ddfe80227278205f9a170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f32180c7c51117d86d442b0ddc980f9f772d0670d4ddfe80227278205f9a170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f32180c7c51117d86d442b0ddc980f9f772d0670d4ddfe80227278205f9a170", kill_on_drop: false }` [INFO] [stdout] 6f32180c7c51117d86d442b0ddc980f9f772d0670d4ddfe80227278205f9a170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2637d7cf1c025d7bbf5782973a31d79dc93f21fb65389c77c7574f9758ca2624 [INFO] running `Command { std: "docker" "start" "-a" "2637d7cf1c025d7bbf5782973a31d79dc93f21fb65389c77c7574f9758ca2624", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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: 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl SynchronousStreamCipher for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - impl Encryptor for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - impl Decryptor for Box { [INFO] [stdout] 65 + impl Decryptor for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "2637d7cf1c025d7bbf5782973a31d79dc93f21fb65389c77c7574f9758ca2624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2637d7cf1c025d7bbf5782973a31d79dc93f21fb65389c77c7574f9758ca2624", kill_on_drop: false }` [INFO] [stdout] 2637d7cf1c025d7bbf5782973a31d79dc93f21fb65389c77c7574f9758ca2624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ad2561b4c130c725fbe375620c072a52a132fb9717d4271d675ef62052d3b09 [INFO] running `Command { std: "docker" "start" "-a" "3ad2561b4c130c725fbe375620c072a52a132fb9717d4271d675ef62052d3b09", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl SynchronousStreamCipher for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - impl Encryptor for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - impl Decryptor for Box { [INFO] [stdout] 65 + impl Decryptor for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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] [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: 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] = 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - impl SynchronousStreamCipher for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - impl Encryptor for Box { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - impl Decryptor for Box { [INFO] [stdout] 65 + impl Decryptor for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 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` due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ad2561b4c130c725fbe375620c072a52a132fb9717d4271d675ef62052d3b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ad2561b4c130c725fbe375620c072a52a132fb9717d4271d675ef62052d3b09", kill_on_drop: false }` [INFO] [stdout] 3ad2561b4c130c725fbe375620c072a52a132fb9717d4271d675ef62052d3b09