[INFO] cloning repository https://github.com/nomaxg/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nomaxg/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab784de0ee492af03eb57addabc04d14f6bc4985
[INFO] testing nomaxg/cryptopals against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nomaxg/cryptopals on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nomaxg/cryptopals
[INFO] finished tweaking git repo https://github.com/nomaxg/cryptopals
[INFO] tweaked toml for git repo https://github.com/nomaxg/cryptopals written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/nomaxg/cryptopals already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 57ee782695707ea3f0ff86039a8f7a981c3c09d8245378cb1a7c9055bed2adce
[INFO] running `Command { std: "docker" "start" "-a" "57ee782695707ea3f0ff86039a8f7a981c3c09d8245378cb1a7c9055bed2adce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57ee782695707ea3f0ff86039a8f7a981c3c09d8245378cb1a7c9055bed2adce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57ee782695707ea3f0ff86039a8f7a981c3c09d8245378cb1a7c9055bed2adce", kill_on_drop: false }`
[INFO] [stdout] 57ee782695707ea3f0ff86039a8f7a981c3c09d8245378cb1a7c9055bed2adce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2d8263a00636e5d47ffb3d29a3e7ccf00cefefd00f3acabc7ce54c317138acb
[INFO] running `Command { std: "docker" "start" "-a" "f2d8263a00636e5d47ffb3d29a3e7ccf00cefefd00f3acabc7ce54c317138acb", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling aes v0.8.2
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/third_set.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::collections::HashMap;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes`, `MersenneTwister`, `break_single_char_xor`, `constants::PLAINTEXTS`, `ctr_decrypt`, `ctr_encrypt`, `display`, `read_lines`, `temper`, `transpose`, `untemper`, and `xor`
[INFO] [stdout]   --> src/third_set.rs:6:41
[INFO] [stdout]    |
[INFO] [stdout] 6  |         aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt},
[INFO] [stdout]    |                                         ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 7  |         constants::PLAINTEXTS,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |         twister::{temper, untemper, MersenneTwister},
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 9  |         utils::{
[INFO] [stdout] 10 |             break_single_char_xor, display, from_base64, random_index, read_lines,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^                             ^^^^^^^^^^
[INFO] [stdout] 11 |             strip_padding_bytes, transpose, xor, Bytes,
[INFO] [stdout]    |                                  ^^^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::temp_dir`
[INFO] [stdout]  --> src/twister.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::temp_dir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONSTANT_KEY` is never used
[INFO] [stdout]  --> src/third_set.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     const CONSTANT_KEY: [u8; 16] = [16; 16];
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_cbc_encryption` is never used
[INFO] [stdout]    --> src/third_set.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn gen_random_cbc_encryption() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_padding` is never used
[INFO] [stdout]    --> src/third_set.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn verify_padding(ct: &[u8]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/utils.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |     for byte in bytes.clone().into_iter() {
[INFO] [stdout]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.74s
[INFO] running `Command { std: "docker" "inspect" "f2d8263a00636e5d47ffb3d29a3e7ccf00cefefd00f3acabc7ce54c317138acb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2d8263a00636e5d47ffb3d29a3e7ccf00cefefd00f3acabc7ce54c317138acb", kill_on_drop: false }`
[INFO] [stdout] f2d8263a00636e5d47ffb3d29a3e7ccf00cefefd00f3acabc7ce54c317138acb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6ea587c193f57f019e933e59c9d43aba4f12d71cd771769cbc39db5df1858f1e
[INFO] running `Command { std: "docker" "start" "-a" "6ea587c193f57f019e933e59c9d43aba4f12d71cd771769cbc39db5df1858f1e", kill_on_drop: false }`
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/third_set.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::collections::HashMap;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Bytes`, `MersenneTwister`, `break_single_char_xor`, `constants::PLAINTEXTS`, `ctr_decrypt`, `ctr_encrypt`, `display`, `read_lines`, `temper`, `transpose`, `untemper`, and `xor`
[INFO] [stdout]   --> src/third_set.rs:6:41
[INFO] [stdout]    |
[INFO] [stdout] 6  |         aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt},
[INFO] [stdout]    |                                         ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 7  |         constants::PLAINTEXTS,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |         twister::{temper, untemper, MersenneTwister},
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 9  |         utils::{
[INFO] [stdout] 10 |             break_single_char_xor, display, from_base64, random_index, read_lines,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^                             ^^^^^^^^^^
[INFO] [stdout] 11 |             strip_padding_bytes, transpose, xor, Bytes,
[INFO] [stdout]    |                                  ^^^^^^^^^  ^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::temp_dir`
[INFO] [stdout]  --> src/twister.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::temp_dir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CONSTANT_KEY` is never used
[INFO] [stdout]  --> src/third_set.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     const CONSTANT_KEY: [u8; 16] = [16; 16];
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_random_cbc_encryption` is never used
[INFO] [stdout]    --> src/third_set.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn gen_random_cbc_encryption() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_padding` is never used
[INFO] [stdout]    --> src/third_set.rs:165:8
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn verify_padding(ct: &[u8]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/utils.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |     for byte in bytes.clone().into_iter() {
[INFO] [stdout]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bytes`
[INFO] [stdout]   --> src/third_set.rs:11:50
[INFO] [stdout]    |
[INFO] [stdout] 11 |             strip_padding_bytes, transpose, xor, Bytes,
[INFO] [stdout]    |                                                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::temp_dir`
[INFO] [stdout]  --> src/twister.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env::temp_dir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/utils.rs:125:22
[INFO] [stdout]     |
[INFO] [stdout] 125 |     for byte in bytes.clone().into_iter() {
[INFO] [stdout]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "6ea587c193f57f019e933e59c9d43aba4f12d71cd771769cbc39db5df1858f1e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ea587c193f57f019e933e59c9d43aba4f12d71cd771769cbc39db5df1858f1e", kill_on_drop: false }`
[INFO] [stdout] 6ea587c193f57f019e933e59c9d43aba4f12d71cd771769cbc39db5df1858f1e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 432a8b6a4d5b43321b5d299dd83f79e5334a5548c5d42822faabb5055044e0d4
[INFO] running `Command { std: "docker" "start" "-a" "432a8b6a4d5b43321b5d299dd83f79e5334a5548c5d42822faabb5055044e0d4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/third_set.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     use std::collections::HashMap;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Bytes`, `MersenneTwister`, `break_single_char_xor`, `constants::PLAINTEXTS`, `ctr_decrypt`, `ctr_encrypt`, `display`, `read_lines`, `temper`, `transpose`, `untemper`, and `xor`
[INFO] [stderr]   --> src/third_set.rs:6:41
[INFO] [stderr]    |
[INFO] [stderr] 6  |         aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt},
[INFO] [stderr]    |                                         ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 7  |         constants::PLAINTEXTS,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 8  |         twister::{temper, untemper, MersenneTwister},
[INFO] [stderr]    |                   ^^^^^^  ^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 9  |         utils::{
[INFO] [stderr] 10 |             break_single_char_xor, display, from_base64, random_index, read_lines,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^                             ^^^^^^^^^^
[INFO] [stderr] 11 |             strip_padding_bytes, transpose, xor, Bytes,
[INFO] [stderr]    |                                  ^^^^^^^^^  ^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::env::temp_dir`
[INFO] [stderr]  --> src/twister.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::env::temp_dir;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `CONSTANT_KEY` is never used
[INFO] [stderr]  --> src/third_set.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 |     const CONSTANT_KEY: [u8; 16] = [16; 16];
[INFO] [stderr]   |           ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `gen_random_cbc_encryption` is never used
[INFO] [stderr]    --> src/third_set.rs:147:8
[INFO] [stderr]     |
[INFO] [stderr] 147 |     fn gen_random_cbc_encryption() -> Vec<u8> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `verify_padding` is never used
[INFO] [stderr]    --> src/third_set.rs:165:8
[INFO] [stderr]     |
[INFO] [stderr] 165 |     fn verify_padding(ct: &[u8]) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/utils.rs:125:22
[INFO] [stderr]     |
[INFO] [stderr] 125 |     for byte in bytes.clone().into_iter() {
[INFO] [stderr]     |                      ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Bytes`
[INFO] [stderr]   --> src/third_set.rs:11:50
[INFO] [stderr]    |
[INFO] [stderr] 11 |             strip_padding_bytes, transpose, xor, Bytes,
[INFO] [stderr]    |                                                  ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptopals` (lib) generated 7 warnings (run `cargo fix --lib -p cryptopals` to apply 4 suggestions)
[INFO] [stderr] warning: `cryptopals` (lib test) generated 3 warnings (2 duplicates) (run `cargo fix --lib -p cryptopals --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptopals-fcc268291c51769e)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test second_set::second_set::cbc_bitflipping_attacks ... ok
[INFO] [stdout] test second_set::second_set::cbc_test ... ok
[INFO] [stdout] test second_set::second_set::cut_and_paste ... ok
[INFO] [stdout] test second_set::second_set::test_collision ... ok
[INFO] [stdout] test second_set::second_set::implement_cbc_mode ... ok
[INFO] [stdout] test solutions::first_set::break_repeating_key_xor ... ok
[INFO] [stdout] test second_set::second_set::ecb_cbc_detection ... ok
[INFO] [stdout] test solutions::first_set::aes_ecb_mode ... ok
[INFO] [stdout] test solutions::first_set::hex_to_base64 ... ok
[INFO] [stdout] test solutions::first_set::repeating_key_xor ... ok
[INFO] [stdout] test solutions::first_set::test_hamming_distance ... ok
[INFO] [stdout] test third_set::third_set::test_untemper ... ok
[INFO] [stdout] test third_set::third_set::twister ... ok
[INFO] [stdout] test third_set::third_set::break_ctr_statistically ... ok
[INFO] [stdout] test solutions::first_set::fixed_xor ... ok
[INFO] [stdout] test third_set::third_set::clone_rng ... ok
[INFO] [stdout] test solutions::first_set::single_byte_xor ... ok
[INFO] [stdout] test third_set::third_set::break_ctr_substitution ... ok
[INFO] [stdout] test third_set::third_set::implement_ctr ... ok
[INFO] [stdout] test solutions::first_set::detect_single_char_xor ... ok
[INFO] [stdout] test second_set::second_set::padding_validation ... FAILED
[INFO] [stdout] test third_set::third_set::cbc_padding_oracle ... ok
[INFO] [stdout] test solutions::first_set::detect_aes_in_ecb ... ok
[INFO] [stdout] test second_set::second_set::ecb_decryption ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- second_set::second_set::padding_validation stdout ----
[INFO] [stdout] thread 'second_set::second_set::padding_validation' panicked at src/second_set.rs:183:9:
[INFO] [stdout] assertion failed: res4 == Ok(b"ICE ICE BABY".to_vec())
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x6335f9a7c3ea - std::backtrace_rs::backtrace::libunwind::trace::h8810477743020387
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5
[INFO] [stdout]    1:     0x6335f9a7c3ea - std::backtrace_rs::backtrace::trace_unsynchronized::h3aa55355dd6c54a6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x6335f9a7c3ea - std::sys::backtrace::_print_fmt::h8588b0f62410823f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x6335f9a7c3ea - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h98c26ac25ffe89bb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x6335f9aa1ec3 - core::fmt::rt::Argument::fmt::hf95377f4aebd453b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/rt.rs:177:76
[INFO] [stdout]    5:     0x6335f9aa1ec3 - core::fmt::write::h0dd5f6e2238c7982
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/fmt/mod.rs:1189:21
[INFO] [stdout]    6:     0x6335f9a79583 - std::io::Write::write_fmt::h03bb0ca26e6faf8c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/io/mod.rs:1884:15
[INFO] [stdout]    7:     0x6335f9a7c232 - std::sys::backtrace::BacktraceLock::print::h5c19c1c038ee186d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    8:     0x6335f9a7d86d - std::panicking::default_hook::{{closure}}::h77172f079a1fcb13
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:268:22
[INFO] [stdout]    9:     0x6335f9a7d677 - std::panicking::default_hook::he5f8e3b203ccddba
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:292:9
[INFO] [stdout]   10:     0x6335f99f1097 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h7a3c7b4a1ae77f2f
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   11:     0x6335f99f1097 - test::test_main::{{closure}}::hf0d3b69ae9b353d1
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:134:21
[INFO] [stdout]   12:     0x6335f9a7df18 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h6332e82e7b189abd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1986:9
[INFO] [stdout]   13:     0x6335f9a7df18 - std::panicking::rust_panic_with_hook::h53863d4e9018df39
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:809:13
[INFO] [stdout]   14:     0x6335f9a7dca6 - std::panicking::begin_panic_handler::{{closure}}::h67280e6fa0757873
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:667:13
[INFO] [stdout]   15:     0x6335f9a7c8c9 - std::sys::backtrace::__rust_end_short_backtrace::h1dac3f54d6fbbeb2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:170:18
[INFO] [stdout]   16:     0x6335f9a7d96c - rust_begin_unwind
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:665:5
[INFO] [stdout]   17:     0x6335f9982080 - core::panicking::panic_fmt::h6792bd1b2bf01041
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:76:14
[INFO] [stdout]   18:     0x6335f998210c - core::panicking::panic::hbb5c236a846c507c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panicking.rs:148:5
[INFO] [stdout]   19:     0x6335f99aaa7d - cryptopals::second_set::second_set::padding_validation::h8645196584263e19
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:183:9
[INFO] [stdout]   20:     0x6335f99aa797 - cryptopals::second_set::second_set::padding_validation::{{closure}}::ha44cbf55c3af19c9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:173:32
[INFO] [stdout]   21:     0x6335f9993d76 - core::ops::function::FnOnce::call_once::hfb92b8c2210bee2b
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x6335f99f5bbb - core::ops::function::FnOnce::call_once::h871bf86719ec9aa4
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x6335f99f5bbb - test::__rust_begin_short_backtrace::h2167df1e2b7d76fd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:632:18
[INFO] [stdout]   24:     0x6335f99f55a8 - test::run_test_in_process::{{closure}}::h15d92f75a3adfb79
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:60
[INFO] [stdout]   25:     0x6335f99f55a8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb6c8955835a8dbbb
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   26:     0x6335f99f55a8 - std::panicking::try::do_call::hc79d0fc888a0bd30
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   27:     0x6335f99f55a8 - std::panicking::try::hb8a7878e3a8589d6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   28:     0x6335f99f55a8 - std::panic::catch_unwind::hb8e4600ff0ff5cfa
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   29:     0x6335f99f55a8 - test::run_test_in_process::hc2900b0b18688dd6
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:655:27
[INFO] [stdout]   30:     0x6335f99f55a8 - test::run_test::{{closure}}::hac2a9cb07be3d48d
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:576:43
[INFO] [stdout]   31:     0x6335f99b904a - test::run_test::{{closure}}::h4a5b729e66a38cd8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/test/src/lib.rs:606:41
[INFO] [stdout]   32:     0x6335f99b904a - std::sys::backtrace::__rust_begin_short_backtrace::h0496fb742492f573
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/backtrace.rs:154:18
[INFO] [stdout]   33:     0x6335f99bc9c4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbb6d257c550a54bd
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:561:17
[INFO] [stdout]   34:     0x6335f99bc9c4 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h46696fe4a6832328
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   35:     0x6335f99bc9c4 - std::panicking::try::do_call::h2625a51b667bfb64
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:557:40
[INFO] [stdout]   36:     0x6335f99bc9c4 - std::panicking::try::hb956a59a1973aa4c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panicking.rs:520:19
[INFO] [stdout]   37:     0x6335f99bc9c4 - std::panic::catch_unwind::h64f3b9d1067ef6a0
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/panic.rs:358:14
[INFO] [stdout]   38:     0x6335f99bc9c4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h42b2841295b6c0b2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/thread/mod.rs:559:30
[INFO] [stdout]   39:     0x6335f99bc9c4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6127de71b8124639
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x6335f9a81e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h42f0ba71002a1b2c
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   41:     0x6335f9a81e6b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::had9e47d7a3dcecb8
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/alloc/src/boxed.rs:1972:9
[INFO] [stdout]   42:     0x6335f9a81e6b - std::sys::pal::unix::thread::Thread::new::thread_start::h48cf765408f6f5f2
[INFO] [stdout]                                at /rustc/202008a1b8de96d2e5b6bc02d379db03a877d34d/library/std/src/sys/pal/unix/thread.rs:105:17
[INFO] [stdout]   43:     0x73efdcc43ac3 - <unknown>
[INFO] [stdout]   44:     0x73efdccd4a04 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     second_set::second_set::padding_validation
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "432a8b6a4d5b43321b5d299dd83f79e5334a5548c5d42822faabb5055044e0d4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "432a8b6a4d5b43321b5d299dd83f79e5334a5548c5d42822faabb5055044e0d4", kill_on_drop: false }`
[INFO] [stdout] 432a8b6a4d5b43321b5d299dd83f79e5334a5548c5d42822faabb5055044e0d4
