[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnomaxg%2Fcryptopals" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nomaxg/cryptopals on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f01039c4b2626829b43940c13bf1a77de2aa67ee5b698a51e7eeea4bf2ce4673
[INFO] running `Command { std: "docker" "start" "-a" "f01039c4b2626829b43940c13bf1a77de2aa67ee5b698a51e7eeea4bf2ce4673", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f01039c4b2626829b43940c13bf1a77de2aa67ee5b698a51e7eeea4bf2ce4673", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f01039c4b2626829b43940c13bf1a77de2aa67ee5b698a51e7eeea4bf2ce4673", kill_on_drop: false }`
[INFO] [stdout] f01039c4b2626829b43940c13bf1a77de2aa67ee5b698a51e7eeea4bf2ce4673
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 4d6585f4c8c61e0d47920a716d2a2419f5b8d90eff8772428f9178923ff047a1
[INFO] running `Command { std: "docker" "start" "-a" "4d6585f4c8c61e0d47920a716d2a2419f5b8d90eff8772428f9178923ff047a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling libc v0.2.139
[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 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)]` (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 5.88s
[INFO] running `Command { std: "docker" "inspect" "4d6585f4c8c61e0d47920a716d2a2419f5b8d90eff8772428f9178923ff047a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d6585f4c8c61e0d47920a716d2a2419f5b8d90eff8772428f9178923ff047a1", kill_on_drop: false }`
[INFO] [stdout] 4d6585f4c8c61e0d47920a716d2a2419f5b8d90eff8772428f9178923ff047a1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9624cd0db6fb26b0342b636bf673e5c0342495bdfbf3fab58b8f8f0d3195bac2
[INFO] running `Command { std: "docker" "start" "-a" "9624cd0db6fb26b0342b636bf673e5c0342495bdfbf3fab58b8f8f0d3195bac2", 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.35s
[INFO] running `Command { std: "docker" "inspect" "9624cd0db6fb26b0342b636bf673e5c0342495bdfbf3fab58b8f8f0d3195bac2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9624cd0db6fb26b0342b636bf673e5c0342495bdfbf3fab58b8f8f0d3195bac2", kill_on_drop: false }`
[INFO] [stdout] 9624cd0db6fb26b0342b636bf673e5c0342495bdfbf3fab58b8f8f0d3195bac2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d16c0d8a90c3bcfb0af0966974ef52e0f339b8019a9274a660c70c6f83382def
[INFO] running `Command { std: "docker" "start" "-a" "d16c0d8a90c3bcfb0af0966974ef52e0f339b8019a9274a660c70c6f83382def", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stdout] 
[INFO] [stderr]  --> src/third_set.rs:3:9
[INFO] [stdout] running 24 tests
[INFO] [stderr]   |
[INFO] [stdout] test second_set::second_set::cbc_bitflipping_attacks ... ok
[INFO] [stderr] 3 |     use std::collections::HashMap;
[INFO] [stdout] test second_set::second_set::cbc_test ... ok
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] test second_set::second_set::implement_cbc_mode ... ok
[INFO] [stderr]   |
[INFO] [stdout] test second_set::second_set::ecb_cbc_detection ... ok
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] test solutions::first_set::single_byte_xor ... ok
[INFO] [stderr] 
[INFO] [stdout] test second_set::second_set::test_collision ... ok
[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] [stdout] test solutions::first_set::aes_ecb_mode ... ok
[INFO] [stderr]   --> src/third_set.rs:6:41
[INFO] [stdout] test solutions::first_set::fixed_xor ... ok
[INFO] [stderr]    |
[INFO] [stdout] test solutions::first_set::hex_to_base64 ... ok
[INFO] [stderr]  6 |         aes::{aes_decrypt, aes_encrypt, ctr_decrypt, ctr_encrypt},
[INFO] [stdout] test solutions::first_set::repeating_key_xor ... ok
[INFO] [stderr]    |                                         ^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] test second_set::second_set::cut_and_paste ... ok
[INFO] [stderr]  7 |         constants::PLAINTEXTS,
[INFO] [stdout] test solutions::first_set::break_repeating_key_xor ... ok
[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.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/cryptopals/3e8e6d4107cc58e1/deps/cryptopals-3e8e6d4107cc58e1)
[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::implement_ctr ... ok
[INFO] [stdout] test third_set::third_set::test_untemper ... ok
[INFO] [stdout] test third_set::third_set::clone_rng ... ok
[INFO] [stdout] test solutions::first_set::detect_single_char_xor ... ok
[INFO] [stdout] test third_set::third_set::cbc_padding_oracle ... ok
[INFO] [stdout] test third_set::third_set::twister ... ok
[INFO] [stdout] test second_set::second_set::ecb_decryption ... ok
[INFO] [stdout] test second_set::second_set::padding_validation ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] test solutions::first_set::detect_aes_in_ecb ... 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' (30) 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:     0x5b465f62b332 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5b465f62b332 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5b465f62b332 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5b465f62b332 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5b465f6403ea - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5b465f6403ea - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x5b465f630216 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5b465f630216 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5b465f6097ff - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5b465f6097ff - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5b465f623669 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5b465f56b20e - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5b465f56b20e - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5b465f623822 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5b465f623822 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5b465f6098ea - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x5b465f601259 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5b465f60a70d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5b465f640abc - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5b465f640a82 - core[8f93d80df273fe75]::panicking::panic
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x5b465f54ff5d - cryptopals[8316a997d9574e7]::second_set::second_set::padding_validation
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:183:9
[INFO] [stdout]   21:     0x5b465f54be97 - cryptopals[8316a997d9574e7]::second_set::second_set::padding_validation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/second_set.rs:173:32
[INFO] [stdout]   22:     0x5b465f557e26 - <cryptopals[8316a997d9574e7]::second_set::second_set::padding_validation::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5b465f55f5bb - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5b465f55f5bb - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x5b465f56be1a - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x5b465f56be1a - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x5b465f56be1a - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x5b465f56be1a - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x5b465f56be1a - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5b465f56be1a - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x5b465f56be1a - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x5b465f5662e4 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x5b465f5662e4 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x5b465f56e912 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x5b465f56e912 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x5b465f56e912 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x5b465f56e912 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x5b465f56e912 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5b465f56e912 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x5b465f56e912 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5b465f62abdf - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   42:     0x5b465f62abdf - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   43:     0x7bf2710a8aa4 - <unknown>
[INFO] [stdout]   44:     0x7bf271135a64 - 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.15s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d16c0d8a90c3bcfb0af0966974ef52e0f339b8019a9274a660c70c6f83382def", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d16c0d8a90c3bcfb0af0966974ef52e0f339b8019a9274a660c70c6f83382def", kill_on_drop: false }`
[INFO] [stdout] d16c0d8a90c3bcfb0af0966974ef52e0f339b8019a9274a660c70c6f83382def
