[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] d7cbc0047cb21347cf2782df798aa72494d5ee01 [INFO] checking ralphrecto/cryptopals against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralphrecto%2Fcryptopals" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ralphrecto/cryptopals on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/ralphrecto/cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c9b74c23f096a6f39fe623dfc7019a06e8d5e3c2f5362a614a25aaa9f15e863 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c9b74c23f096a6f39fe623dfc7019a06e8d5e3c2f5362a614a25aaa9f15e863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c9b74c23f096a6f39fe623dfc7019a06e8d5e3c2f5362a614a25aaa9f15e863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c9b74c23f096a6f39fe623dfc7019a06e8d5e3c2f5362a614a25aaa9f15e863", kill_on_drop: false }` [INFO] [stdout] 8c9b74c23f096a6f39fe623dfc7019a06e8d5e3c2f5362a614a25aaa9f15e863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b5973d86d52d55fdfa6aec8db7f35bb7c7ca95b643122c27fbf40bfcdb9104 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "13b5973d86d52d55fdfa6aec8db7f35bb7c7ca95b643122c27fbf40bfcdb9104", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking base64 v0.7.0 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cryptopals::strutils` [INFO] [stdout] --> src/cryptopals/set1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cryptopals::strutils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] = 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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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::strutils` [INFO] [stdout] --> src/cryptopals/set1.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cryptopals::strutils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] = 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] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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:5 [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: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/cryptopals/freq_analysis.rs:2:5 [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: unused variable: `v1` [INFO] [stdout] --> src/cryptopals/set1.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let v1: Vec = hexutils::str_to_bytevec("this is a test"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/cryptopals/set1.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let v2: Vec = hexutils::str_to_bytevec("wokka wokka!!!"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge1` [INFO] [stdout] --> src/cryptopals/set1.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge1() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge2` [INFO] [stdout] --> src/cryptopals/set1.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn challenge2() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chi_square_printer` [INFO] [stdout] --> src/cryptopals/set1.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn chi_square_printer(word: &str, keyword_and_keys: &Vec<(String, u8)>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge3` [INFO] [stdout] --> src/cryptopals/set1.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn challenge3() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge4` [INFO] [stdout] --> src/cryptopals/set1.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn challenge4() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge5` [INFO] [stdout] --> src/cryptopals/set1.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn challenge5() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_to_nibble` [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 is never used: `nibble_to_hex` [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 is never used: `hexstr_to_bytevec` [INFO] [stdout] --> src/cryptopals/hexutils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn hexstr_to_bytevec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytevec_to_hexstr` [INFO] [stdout] --> src/cryptopals/hexutils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn bytevec_to_hexstr(v: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_set_bits` [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 is never used: `letter_freq` [INFO] [stdout] --> src/cryptopals/freq_analysis.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn letter_freq(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chi_square` [INFO] [stdout] --> src/cryptopals/freq_analysis.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn chi_square(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/cryptopals/fileutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_file(pathstr: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [INFO] [stdout] --> src/cryptopals/fileutils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_lines(pathstr: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytexor_keygen` [INFO] [stdout] --> src/cryptopals/xorutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bytexor_keygen(s: &str) -> Vec<(String, u8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rolling_xor` [INFO] [stdout] --> src/cryptopals/xorutils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn rolling_xor(v: &Vec, key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_dist` [INFO] [stdout] --> src/cryptopals/strutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn hamming_dist(v1: &Vec, v2: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> src/cryptopals/set1.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let v1: Vec = hexutils::str_to_bytevec("this is a test"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v2` [INFO] [stdout] --> src/cryptopals/set1.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let v2: Vec = hexutils::str_to_bytevec("wokka wokka!!!"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge1` [INFO] [stdout] --> src/cryptopals/set1.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge1() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge2` [INFO] [stdout] --> src/cryptopals/set1.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn challenge2() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chi_square_printer` [INFO] [stdout] --> src/cryptopals/set1.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn chi_square_printer(word: &str, keyword_and_keys: &Vec<(String, u8)>) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge3` [INFO] [stdout] --> src/cryptopals/set1.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn challenge3() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge4` [INFO] [stdout] --> src/cryptopals/set1.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn challenge4() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge5` [INFO] [stdout] --> src/cryptopals/set1.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn challenge5() -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_to_nibble` [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 is never used: `nibble_to_hex` [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 is never used: `hexstr_to_bytevec` [INFO] [stdout] --> src/cryptopals/hexutils.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn hexstr_to_bytevec(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytevec_to_hexstr` [INFO] [stdout] --> src/cryptopals/hexutils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn bytevec_to_hexstr(v: &Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_set_bits` [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 is never used: `letter_freq` [INFO] [stdout] --> src/cryptopals/freq_analysis.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn letter_freq(c: char) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chi_square` [INFO] [stdout] --> src/cryptopals/freq_analysis.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn chi_square(text: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_file` [INFO] [stdout] --> src/cryptopals/fileutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_file(pathstr: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_lines` [INFO] [stdout] --> src/cryptopals/fileutils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn read_lines(pathstr: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytexor_keygen` [INFO] [stdout] --> src/cryptopals/xorutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bytexor_keygen(s: &str) -> Vec<(String, u8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rolling_xor` [INFO] [stdout] --> src/cryptopals/xorutils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn rolling_xor(v: &Vec, key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_dist` [INFO] [stdout] --> src/cryptopals/strutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn hamming_dist(v1: &Vec, v2: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "13b5973d86d52d55fdfa6aec8db7f35bb7c7ca95b643122c27fbf40bfcdb9104", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b5973d86d52d55fdfa6aec8db7f35bb7c7ca95b643122c27fbf40bfcdb9104", kill_on_drop: false }` [INFO] [stdout] 13b5973d86d52d55fdfa6aec8db7f35bb7c7ca95b643122c27fbf40bfcdb9104