[INFO] cloning repository https://github.com/ralphrecto/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ralphrecto/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 734eccb7eb850acd5ce835cab6e7193fd12f49f2
[INFO] testing ralphrecto/cryptopals against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fcryptopals" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ralphrecto/cryptopals
[INFO] finished tweaking git repo https://github.com/ralphrecto/cryptopals
[INFO] tweaked toml for git repo https://github.com/ralphrecto/cryptopals written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ralphrecto/cryptopals on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ralphrecto/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] testing ralphrecto/cryptopals against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fcryptopals" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ralphrecto/cryptopals
[INFO] finished tweaking git repo https://github.com/ralphrecto/cryptopals
[INFO] tweaked toml for git repo https://github.com/ralphrecto/cryptopals written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ralphrecto/cryptopals on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ralphrecto/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.108
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e69dbe2ce94b60018a220e49f7a954b787a341f724c70149662518a39a1c236b
[INFO] running `Command { std: "docker" "start" "-a" "e69dbe2ce94b60018a220e49f7a954b787a341f724c70149662518a39a1c236b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e69dbe2ce94b60018a220e49f7a954b787a341f724c70149662518a39a1c236b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e69dbe2ce94b60018a220e49f7a954b787a341f724c70149662518a39a1c236b", kill_on_drop: false }`
[INFO] [stdout] e69dbe2ce94b60018a220e49f7a954b787a341f724c70149662518a39a1c236b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2bdfcc1c71e5248a1e31e6f5d3af97de3acdbc1fa063f1f336ef0bbb441066b
[INFO] running `Command { std: "docker" "start" "-a" "b2bdfcc1c71e5248a1e31e6f5d3af97de3acdbc1fa063f1f336ef0bbb441066b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling byteorder v1.1.0
[INFO] [stderr]    Compiling safemem v0.2.0
[INFO] [stderr]    Compiling base64 v0.7.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Block`
[INFO] [stdout]  --> src/cryptopals/set1.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aes::{Aes128, Block};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCipher` and `BlockEncrypt`
[INFO] [stdout]  --> src/cryptopals/set1.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     BlockCipher, BlockEncrypt, BlockDecrypt, NewBlockCipher,
[INFO] [stdout]   |     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |         0...9 => (0x30 + b) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     for i in (0..8) {
[INFO] [stdout]    |              ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -     for i in (0..8) {
[INFO] [stdout] 65 +     for i in 0..8 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cryptopals::hexutils`
[INFO] [stdout]  --> src/cryptopals/xorutils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cryptopals::hexutils;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ascii::AsciiExt;
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ciphertext_block` is never read
[INFO] [stdout]    --> src/cryptopals/set1.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut ciphertext_block: GenericArray<u8, U16> = GenericArray::clone_from_slice(&[0u8; 16]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/cryptopals/blockutils.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..num_blocks {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge1` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn challenge1() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge2` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn challenge2() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chi_square_printer` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn chi_square_printer(word: &str, keyword_and_keys: &Vec<(String, u8)>) -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge3` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn challenge3() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge4` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn challenge4() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge5` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn challenge5() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge6` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn challenge6() -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_nibble` is never used
[INFO] [stdout]  --> src/cryptopals/hexutils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn hex_to_nibble(s: char) -> u8 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nibble_to_hex` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn nibble_to_hex(b: u8) -> char {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_to_bytevec` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn str_to_bytevec(s: &str) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hexstr_to_bytevec` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn hexstr_to_bytevec(s: &str) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytevec_to_hexstr` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn bytevec_to_hexstr(v: &Vec<u8>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_set_bits` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn count_set_bits(v: u8) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `letter_freq` is never used
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn letter_freq(c: char) -> Option<f64> {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_chars` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn count_chars(text: &str) -> HashMap<char, u32> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chi_square` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn chi_square(text: &str) -> Option<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `space_freq` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn space_freq(text: &str) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/cryptopals/fileutils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn read_lines(pathstr: &str) -> io::Result<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytexor_keygen` is never used
[INFO] [stdout]  --> src/cryptopals/xorutils.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn bytexor_keygen(v: &Vec<u8>) -> Vec<(String, u8)> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rolling_xor` is never used
[INFO] [stdout]   --> src/cryptopals/xorutils.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn rolling_xor(v: &Vec<u8>, key: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hamming_dist` is never used
[INFO] [stdout]  --> src/cryptopals/strutils.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn hamming_dist(v1: &Vec<u8>, v2: &Vec<u8>) -> u32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transpose_blocks` is never used
[INFO] [stdout]  --> src/cryptopals/blockutils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn transpose_blocks(bytes: &Vec<u8>, num_blocks: usize) -> Vec<Vec<u8>> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     cryptopals::set1::challenge7();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let _ = cryptopals::set1::challenge7();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]  --> src/cryptopals/hexutils.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]   = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]   |
[INFO] [stdout] 7 -         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stdout] 7 +         None => panic!("Given char {} was not a hex char.", s),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.06s
[INFO] running `Command { std: "docker" "inspect" "b2bdfcc1c71e5248a1e31e6f5d3af97de3acdbc1fa063f1f336ef0bbb441066b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2bdfcc1c71e5248a1e31e6f5d3af97de3acdbc1fa063f1f336ef0bbb441066b", kill_on_drop: false }`
[INFO] [stdout] b2bdfcc1c71e5248a1e31e6f5d3af97de3acdbc1fa063f1f336ef0bbb441066b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3416fc529c411963f2ef3e0e465ddb538ed29c4215a229c0137f4793b10ce4e
[INFO] running `Command { std: "docker" "start" "-a" "f3416fc529c411963f2ef3e0e465ddb538ed29c4215a229c0137f4793b10ce4e", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Block`
[INFO] [stdout]  --> src/cryptopals/set1.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use aes::{Aes128, Block};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BlockCipher` and `BlockEncrypt`
[INFO] [stdout]  --> src/cryptopals/set1.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     BlockCipher, BlockEncrypt, BlockDecrypt, NewBlockCipher,
[INFO] [stdout]   |     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |         0...9 => (0x30 + b) as char,
[INFO] [stdout]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     for i in (0..8) {
[INFO] [stdout]    |              ^    ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -     for i in (0..8) {
[INFO] [stdout] 65 +     for i in 0..8 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ascii::AsciiExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ascii::AsciiExt;
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ciphertext_block` is never read
[INFO] [stdout]    --> src/cryptopals/set1.rs:170:13
[INFO] [stdout]     |
[INFO] [stdout] 170 |     let mut ciphertext_block: GenericArray<u8, U16> = GenericArray::clone_from_slice(&[0u8; 16]);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plaintexts`
[INFO] [stdout]   --> src/cryptopals/xorutils.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let plaintexts = bytexor_keygen(&vec![0, 0, 0]);
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintexts`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]  --> src/cryptopals/blockutils.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     for i in 0..num_blocks {
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge1` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn challenge1() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge2` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn challenge2() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chi_square_printer` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn chi_square_printer(word: &str, keyword_and_keys: &Vec<(String, u8)>) -> () {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge3` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn challenge3() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge4` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn challenge4() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge5` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn challenge5() -> () {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `challenge6` is never used
[INFO] [stdout]   --> src/cryptopals/set1.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn challenge6() -> io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nibble_to_hex` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn nibble_to_hex(b: u8) -> char {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `str_to_bytevec` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn str_to_bytevec(s: &str) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytevec_to_hexstr` is never used
[INFO] [stdout]   --> src/cryptopals/hexutils.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn bytevec_to_hexstr(v: &Vec<u8>) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `letter_freq` is never used
[INFO] [stdout]  --> src/cryptopals/freq_analysis.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn letter_freq(c: char) -> Option<f64> {
[INFO] [stdout]   |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_chars` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn count_chars(text: &str) -> HashMap<char, u32> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chi_square` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn chi_square(text: &str) -> Option<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `space_freq` is never used
[INFO] [stdout]   --> src/cryptopals/freq_analysis.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn space_freq(text: &str) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_lines` is never used
[INFO] [stdout]   --> src/cryptopals/fileutils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn read_lines(pathstr: &str) -> io::Result<Vec<String>> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     cryptopals::set1::challenge7();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let _ = cryptopals::set1::challenge7();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]  --> src/cryptopals/hexutils.rs:7:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]   = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]   |
[INFO] [stdout] 7 -         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stdout] 7 +         None => panic!("Given char {} was not a hex char.", s),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s
[INFO] running `Command { std: "docker" "inspect" "f3416fc529c411963f2ef3e0e465ddb538ed29c4215a229c0137f4793b10ce4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3416fc529c411963f2ef3e0e465ddb538ed29c4215a229c0137f4793b10ce4e", kill_on_drop: false }`
[INFO] [stdout] f3416fc529c411963f2ef3e0e465ddb538ed29c4215a229c0137f4793b10ce4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4707921e5d5ed71e8956b6e1ac654c32893e0998111e34e440b16821a7fe540b
[INFO] running `Command { std: "docker" "start" "-a" "4707921e5d5ed71e8956b6e1ac654c32893e0998111e34e440b16821a7fe540b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused import: `Block`
[INFO] [stdout] 
[INFO] [stderr]  --> src/cryptopals/set1.rs:1:19
[INFO] [stdout] running 6 tests
[INFO] [stderr]   |
[INFO] [stdout] test cryptopals::blockutils::test_transpose_blocks ... ok
[INFO] [stderr] 1 | use aes::{Aes128, Block};
[INFO] [stdout] test cryptopals::xorutils::test_rolling_xor_ids ... ok
[INFO] [stderr]   |                   ^^^^^
[INFO] [stdout] test cryptopals::xorutils::test_rolling_xor_ice ... ok
[INFO] [stderr]   |
[INFO] [stdout] test cryptopals::xorutils::test_bytexor_keygen_identity ... ok
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BlockCipher` and `BlockEncrypt`
[INFO] [stderr]  --> src/cryptopals/set1.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     BlockCipher, BlockEncrypt, BlockDecrypt, NewBlockCipher,
[INFO] [stderr]   |     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> src/cryptopals/hexutils.rs:16:10
[INFO] [stderr]    |
[INFO] [stderr] 16 |         0...9 => (0x30 + b) as char,
[INFO] [stderr]    |          ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]   --> src/cryptopals/hexutils.rs:65:14
[INFO] [stderr]    |
[INFO] [stderr] 65 |     for i in (0..8) {
[INFO] [stderr]    |              ^    ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 65 -     for i in (0..8) {
[INFO] [stderr] 65 +     for i in 0..8 {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ascii::AsciiExt`
[INFO] [stderr]  --> src/cryptopals/freq_analysis.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::ascii::AsciiExt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead
[INFO] [stderr]  --> src/cryptopals/freq_analysis.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::ascii::AsciiExt;
[INFO] [stderr]   |                 ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ciphertext_block` is never read
[INFO] [stderr]    --> src/cryptopals/set1.rs:170:13
[INFO] [stderr]     |
[INFO] [stderr] 170 |     let mut ciphertext_block: GenericArray<u8, U16> = GenericArray::clone_from_slice(&[0u8; 16]);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plaintexts`
[INFO] [stderr]   --> src/cryptopals/xorutils.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 28 |     let plaintexts = bytexor_keygen(&vec![0, 0, 0]);
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plaintexts`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]  --> src/cryptopals/blockutils.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     for i in 0..num_blocks {
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge1` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn challenge1() -> () {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge2` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:22:8
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub fn challenge2() -> () {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `chi_square_printer` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:37:4
[INFO] [stderr]    |
[INFO] [stderr] 37 | fn chi_square_printer(word: &str, keyword_and_keys: &Vec<(String, u8)>) -> () {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge3` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:48:8
[INFO] [stderr]    |
[INFO] [stderr] 48 | pub fn challenge3() -> () {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge4` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:55:8
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub fn challenge4() -> () {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge5` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:66:8
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub fn challenge5() -> () {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `challenge6` is never used
[INFO] [stderr]   --> src/cryptopals/set1.rs:75:8
[INFO] [stderr]    |
[INFO] [stderr] 75 | pub fn challenge6() -> io::Result<()> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `nibble_to_hex` is never used
[INFO] [stderr]   --> src/cryptopals/hexutils.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn nibble_to_hex(b: u8) -> char {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `str_to_bytevec` is never used
[INFO] [stderr]   --> src/cryptopals/hexutils.rs:29:8
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub fn str_to_bytevec(s: &str) -> Vec<u8> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `bytevec_to_hexstr` is never used
[INFO] [stderr]   --> src/cryptopals/hexutils.rs:52:8
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub fn bytevec_to_hexstr(v: &Vec<u8>) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `letter_freq` is never used
[INFO] [stderr]  --> src/cryptopals/freq_analysis.rs:4:4
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn letter_freq(c: char) -> Option<f64> {
[INFO] [stderr]   |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `count_chars` is never used
[INFO] [stderr]   --> src/cryptopals/freq_analysis.rs:45:4
[INFO] [stderr]    |
[INFO] [stderr] 45 | fn count_chars(text: &str) -> HashMap<char, u32> {
[INFO] [stderr]    |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `chi_square` is never used
[INFO] [stderr]   --> src/cryptopals/freq_analysis.rs:57:8
[INFO] [stderr]    |
[INFO] [stderr] 57 | pub fn chi_square(text: &str) -> Option<f64> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `space_freq` is never used
[INFO] [stderr]   --> src/cryptopals/freq_analysis.rs:73:8
[INFO] [stderr]    |
[INFO] [stderr] 73 | pub fn space_freq(text: &str) -> f64 {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `read_lines` is never used
[INFO] [stderr]   --> src/cryptopals/fileutils.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn read_lines(pathstr: &str) -> io::Result<Vec<String>> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 |     cryptopals::set1::challenge7();
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let _ = cryptopals::set1::challenge7();
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]  --> src/cryptopals/hexutils.rs:7:24
[INFO] [stderr]   |
[INFO] [stderr] 7 |         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stderr]   |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]   = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]   |
[INFO] [stderr] 7 -         None => panic!(format!("Given char {} was not a hex char.", s)),
[INFO] [stderr] 7 +         None => panic!("Given char {} was not a hex char.", s),
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `cryptopals` (bin "cryptopals" test) generated 26 warnings (run `cargo fix --bin "cryptopals" --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cryptopals-f5f8e3b484892b37)
[INFO] [stdout] test cryptopals::xorutils::test_bytexor_keygen_length ... ok
[INFO] [stdout] test cryptopals::strutils::test_hamming_dist ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4707921e5d5ed71e8956b6e1ac654c32893e0998111e34e440b16821a7fe540b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4707921e5d5ed71e8956b6e1ac654c32893e0998111e34e440b16821a7fe540b", kill_on_drop: false }`
[INFO] [stdout] 4707921e5d5ed71e8956b6e1ac654c32893e0998111e34e440b16821a7fe540b
