[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-2026-03-05 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nomaxg/cryptopals on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6707c7cba670eb0b841ba9646004ca6938ec84fe779039d4c39557359db89082
[INFO] running `Command { std: "docker" "start" "-a" "6707c7cba670eb0b841ba9646004ca6938ec84fe779039d4c39557359db89082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6707c7cba670eb0b841ba9646004ca6938ec84fe779039d4c39557359db89082", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6707c7cba670eb0b841ba9646004ca6938ec84fe779039d4c39557359db89082", kill_on_drop: false }`
[INFO] [stdout] 6707c7cba670eb0b841ba9646004ca6938ec84fe779039d4c39557359db89082
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a526f4ddadb1b8f623976fe3a93fe57632d8b87dcc3c57881451eb2795ab01e1
[INFO] running `Command { std: "docker" "start" "-a" "a526f4ddadb1b8f623976fe3a93fe57632d8b87dcc3c57881451eb2795ab01e1", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling cpufeatures v0.2.5
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[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 inout v0.1.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling rand v0.8.5
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 6.40s
[INFO] running `Command { std: "docker" "inspect" "a526f4ddadb1b8f623976fe3a93fe57632d8b87dcc3c57881451eb2795ab01e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a526f4ddadb1b8f623976fe3a93fe57632d8b87dcc3c57881451eb2795ab01e1", kill_on_drop: false }`
[INFO] [stdout] a526f4ddadb1b8f623976fe3a93fe57632d8b87dcc3c57881451eb2795ab01e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c994b2c82a72233d0f8b40b13971254927a0f28c9e87f579a17162d37f3dfc7
[INFO] running `Command { std: "docker" "start" "-a" "0c994b2c82a72233d0f8b40b13971254927a0f28c9e87f579a17162d37f3dfc7", kill_on_drop: false }`
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) 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.40s
[INFO] running `Command { std: "docker" "inspect" "0c994b2c82a72233d0f8b40b13971254927a0f28c9e87f579a17162d37f3dfc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c994b2c82a72233d0f8b40b13971254927a0f28c9e87f579a17162d37f3dfc7", kill_on_drop: false }`
[INFO] [stdout] 0c994b2c82a72233d0f8b40b13971254927a0f28c9e87f579a17162d37f3dfc7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2c07b930ef03732e9ed36c1dc0f794bc4b674f9f1333c4d0b58dc7ac15bc26f5
[INFO] running `Command { std: "docker" "start" "-a" "2c07b930ef03732e9ed36c1dc0f794bc4b674f9f1333c4d0b58dc7ac15bc26f5", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `cryptopals` (lib) generated 7 warnings (run `cargo fix --lib -p cryptopals` to apply 4 suggestions)
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[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.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cryptopals-0396860b0d7b102d)
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test second_set::second_set::cbc_test ... ok
[INFO] [stdout] test second_set::second_set::cbc_bitflipping_attacks ... ok
[INFO] [stdout] test second_set::second_set::cut_and_paste ... ok
[INFO] [stdout] test second_set::second_set::ecb_cbc_detection ... ok
[INFO] [stdout] test second_set::second_set::implement_cbc_mode ... ok
[INFO] [stdout] test solutions::first_set::aes_ecb_mode ... ok
[INFO] [stdout] test second_set::second_set::test_collision ... ok
[INFO] [stdout] test solutions::first_set::hex_to_base64 ... ok
[INFO] [stdout] test solutions::first_set::fixed_xor ... ok
[INFO] [stdout] test solutions::first_set::repeating_key_xor ... ok
[INFO] [stdout] test solutions::first_set::single_byte_xor ... ok
[INFO] [stdout] test solutions::first_set::break_repeating_key_xor ... ok
[INFO] [stdout] test solutions::first_set::test_hamming_distance ... ok
[INFO] [stdout] test third_set::third_set::break_ctr_substitution ... ok
[INFO] [stdout] test third_set::third_set::break_ctr_statistically ... ok
[INFO] [stdout] test third_set::third_set::clone_rng ... ok
[INFO] [stdout] test third_set::third_set::implement_ctr ... ok
[INFO] [stdout] test third_set::third_set::twister ... ok
[INFO] [stdout] test third_set::third_set::test_untemper ... 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] 
[INFO] [stdout] thread 'second_set::second_set::padding_validation' (22) 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:     0x62af1f29843a - std[b80a194dd3c418bb]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x62af1f29843a - std[b80a194dd3c418bb]::backtrace_rs::backtrace::trace_unsynchronized::<std[b80a194dd3c418bb]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x62af1f29843a - std[b80a194dd3c418bb]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x62af1f29843a - <<std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[10b6fa85044e1869]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x62af1f2ac95a - <core[10b6fa85044e1869]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x62af1f2ac95a - core[10b6fa85044e1869]::fmt::write
[INFO] [stdout]    6:     0x62af1f29cd72 - std[b80a194dd3c418bb]::io::default_write_fmt::<alloc[dd269455e567d8e9]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x62af1f29cd72 - <alloc[dd269455e567d8e9]::vec::Vec<u8> as std[b80a194dd3c418bb]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x62af1f27764f - <std[b80a194dd3c418bb]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x62af1f27764f - std[b80a194dd3c418bb]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x62af1f2909a9 - std[b80a194dd3c418bb]::panicking::default_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x62af1f1d9e1c - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x62af1f1d9e1c - test[826cbc6ef54ab466]::test_main_with_exit_callback::<test[826cbc6ef54ab466]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x62af1f290b62 - <alloc[dd269455e567d8e9]::boxed::Box<dyn for<'a, 'b> core[10b6fa85044e1869]::ops::function::Fn<(&'a std[b80a194dd3c418bb]::panic::PanicHookInfo<'b>,), Output = ()> + core[10b6fa85044e1869]::marker::Sync + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::Fn<(&std[b80a194dd3c418bb]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x62af1f290b62 - std[b80a194dd3c418bb]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x62af1f27773a - std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x62af1f26f079 - std[b80a194dd3c418bb]::sys::backtrace::__rust_end_short_backtrace::<std[b80a194dd3c418bb]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x62af1f27841d - __rustc[9698a3e60dd14283]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x62af1f2ad1cc - core[10b6fa85044e1869]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x62af1f2ad192 - core[10b6fa85044e1869]::panicking::panic
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x62af1f1af0dd - cryptopals::second_set::second_set::padding_validation::h824cdfeaa709b134
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:183:9
[INFO] [stdout]   21:     0x62af1f1af337 - cryptopals::second_set::second_set::padding_validation::{{closure}}::h1b83196de1fed1f6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:173:32
[INFO] [stdout]   22:     0x62af1f1c4cc6 - core::ops::function::FnOnce::call_once::h2d1366b2c8fc49d5
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x62af1f1cdefb - <fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x62af1f1cdefb - test[826cbc6ef54ab466]::__rust_begin_short_backtrace::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, fn() -> core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x62af1f1da8eb - test[826cbc6ef54ab466]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x62af1f1da8eb - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x62af1f1da8eb - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x62af1f1da8eb - std[b80a194dd3c418bb]::panicking::catch_unwind::<core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>, core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x62af1f1da8eb - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<test[826cbc6ef54ab466]::run_test_in_process::{closure#0}>, core[10b6fa85044e1869]::result::Result<(), alloc[dd269455e567d8e9]::string::String>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x62af1f1da8eb - test[826cbc6ef54ab466]::run_test_in_process
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x62af1f1da8eb - test[826cbc6ef54ab466]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x62af1f1d6004 - test[826cbc6ef54ab466]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x62af1f1d6004 - std[b80a194dd3c418bb]::sys::backtrace::__rust_begin_short_backtrace::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x62af1f1dd4f2 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x62af1f1dd4f2 - <core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x62af1f1dd4f2 - std[b80a194dd3c418bb]::panicking::catch_unwind::do_call::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x62af1f1dd4f2 - std[b80a194dd3c418bb]::panicking::catch_unwind::<(), core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x62af1f1dd4f2 - std[b80a194dd3c418bb]::panic::catch_unwind::<core[10b6fa85044e1869]::panic::unwind_safe::AssertUnwindSafe<std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x62af1f1dd4f2 - std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked::<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x62af1f1dd4f2 - <std[b80a194dd3c418bb]::thread::lifecycle::spawn_unchecked<test[826cbc6ef54ab466]::run_test::{closure#1}, ()>::{closure#1} as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x62af1f297d4f - <alloc[dd269455e567d8e9]::boxed::Box<dyn core[10b6fa85044e1869]::ops::function::FnOnce<(), Output = ()> + core[10b6fa85044e1869]::marker::Send> as core[10b6fa85044e1869]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   42:     0x62af1f297d4f - <std[b80a194dd3c418bb]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/ad726b5063362ec9897ef3d67452fc5606ee70fa/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   43:     0x7e26fa75daa4 - <unknown>
[INFO] [stdout]   44:     0x7e26fa7eaa64 - 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.20s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "2c07b930ef03732e9ed36c1dc0f794bc4b674f9f1333c4d0b58dc7ac15bc26f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c07b930ef03732e9ed36c1dc0f794bc4b674f9f1333c4d0b58dc7ac15bc26f5", kill_on_drop: false }`
[INFO] [stdout] 2c07b930ef03732e9ed36c1dc0f794bc4b674f9f1333c4d0b58dc7ac15bc26f5
