[INFO] updating cached repository https://github.com/Hwatwasthat/rust_cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e37b6c3cfcb42394f9c6c9269c92431476e58c45 [INFO] testing Hwatwasthat/rust_cryptopals against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hwatwasthat/rust_cryptopals on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hwatwasthat/rust_cryptopals [INFO] finished tweaking git repo https://github.com/Hwatwasthat/rust_cryptopals [INFO] tweaked toml for git repo https://github.com/Hwatwasthat/rust_cryptopals written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Hwatwasthat/rust_cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc8cf4b03a73f1bf8a7f6a0df5f7c1560f35092991f703bf80b36ea90652602 [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" "2fc8cf4b03a73f1bf8a7f6a0df5f7c1560f35092991f703bf80b36ea90652602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc8cf4b03a73f1bf8a7f6a0df5f7c1560f35092991f703bf80b36ea90652602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc8cf4b03a73f1bf8a7f6a0df5f7c1560f35092991f703bf80b36ea90652602", kill_on_drop: false }` [INFO] [stdout] 2fc8cf4b03a73f1bf8a7f6a0df5f7c1560f35092991f703bf80b36ea90652602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 252f503fafcff1d14a2012a6de3dfd04a7ad8d8ffb5ed257e217fca1fe5ac54c [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" "252f503fafcff1d14a2012a6de3dfd04a7ad8d8ffb5ed257e217fca1fe5ac54c", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling block-modes v0.3.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `AES_BLOCKSIZE` [INFO] [stdout] --> src/challenges/set_one/challenge_eight.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const AES_BLOCKSIZE: usize = 16; // Bytes in an AES block for encryption [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_eight` [INFO] [stdout] --> src/challenges/set_one/challenge_eight.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge_eight(file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_five` [INFO] [stdout] --> src/challenges/set_one/challenge_five.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_five() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_four` [INFO] [stdout] --> src/challenges/set_one/challenge_four.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn challenge_four(file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_one` [INFO] [stdout] --> src/challenges/set_one/challenge_one.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn challenge_one() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_seven` [INFO] [stdout] --> src/challenges/set_one/challenge_seven.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge_seven(mut file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_six` [INFO] [stdout] --> src/challenges/set_one/challenge_six.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn challenge_six(mut file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_three` [INFO] [stdout] --> src/challenges/set_one/challenge_three.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_three() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_two` [INFO] [stdout] --> src/challenges/set_one/challenge_two.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_two() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_KEYSIZE` [INFO] [stdout] --> src/utility/comparison.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX_KEYSIZE: usize = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACCURACY_MOD` [INFO] [stdout] --> src/utility/comparison.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const ACCURACY_MOD: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Keysize` [INFO] [stdout] --> src/utility/comparison.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Keysize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_keysize` [INFO] [stdout] --> src/utility/comparison.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find_keysize(input: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/utility/comparison.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn hamming_distance(first: &[u8], second: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE64` [INFO] [stdout] --> src/utility/encoding/base64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / const BASE64: [char; 64] = [ [INFO] [stdout] 6 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stdout] 7 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stdout] 8 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stdout] 9 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stdout] 10 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_string_hex` [INFO] [stdout] --> src/utility/encoding/base64.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_string_hex(s: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/utility/encoding/base64.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn encode(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_bytes` [INFO] [stdout] --> src/utility/encoding/base64.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_bytes(input: String) -> Result, TransformError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `padding` [INFO] [stdout] --> src/utility/encoding/base64.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn padding(b64_string: &mut String, pad: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sextet_decode` [INFO] [stdout] --> src/utility/encoding/base64.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sextet_decode(ch: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_byte` [INFO] [stdout] --> src/utility/encoding/xor.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn single_byte(v: &[u8], byte: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeating_key` [INFO] [stdout] --> src/utility/encoding/xor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn repeating_key(plain_vec: &[u8], key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_str_hex` [INFO] [stdout] --> src/utility/hex.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn from_str_hex(s: &[u8]) -> Result, TransformError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_str_hex` [INFO] [stdout] --> src/utility/hex.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn to_str_hex(hex: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `char_to_nibble` [INFO] [stdout] --> src/utility/hex.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn char_to_nibble(ch: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nibble_to_char` [INFO] [stdout] --> src/utility/hex.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn nibble_to_char(nibble: u8) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess` [INFO] [stdout] --> src/utility/string_process/guess.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn guess(input: &[u8]) -> Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `freq` [INFO] [stdout] --> src/utility/string_process/guess.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn freq(input: String) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transpose` [INFO] [stdout] --> src/utility/transformation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn transpose(input: &[u8], blocks: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.09s [INFO] running `Command { std: "docker" "inspect" "252f503fafcff1d14a2012a6de3dfd04a7ad8d8ffb5ed257e217fca1fe5ac54c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252f503fafcff1d14a2012a6de3dfd04a7ad8d8ffb5ed257e217fca1fe5ac54c", kill_on_drop: false }` [INFO] [stdout] 252f503fafcff1d14a2012a6de3dfd04a7ad8d8ffb5ed257e217fca1fe5ac54c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ed13464b3cbb6cfea694df72219f05262874056edc477f720064b565691d71 [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" "b9ed13464b3cbb6cfea694df72219f05262874056edc477f720064b565691d71", kill_on_drop: false }` [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `AES_BLOCKSIZE` [INFO] [stdout] --> src/challenges/set_one/challenge_eight.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const AES_BLOCKSIZE: usize = 16; // Bytes in an AES block for encryption [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_eight` [INFO] [stdout] --> src/challenges/set_one/challenge_eight.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge_eight(file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_five` [INFO] [stdout] --> src/challenges/set_one/challenge_five.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_five() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_four` [INFO] [stdout] --> src/challenges/set_one/challenge_four.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn challenge_four(file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_one` [INFO] [stdout] --> src/challenges/set_one/challenge_one.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn challenge_one() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_seven` [INFO] [stdout] --> src/challenges/set_one/challenge_seven.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn challenge_seven(mut file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_six` [INFO] [stdout] --> src/challenges/set_one/challenge_six.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn challenge_six(mut file: File) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_three` [INFO] [stdout] --> src/challenges/set_one/challenge_three.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_three() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `challenge_two` [INFO] [stdout] --> src/challenges/set_one/challenge_two.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn challenge_two() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_KEYSIZE` [INFO] [stdout] --> src/utility/comparison.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | const MAX_KEYSIZE: usize = 40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ACCURACY_MOD` [INFO] [stdout] --> src/utility/comparison.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | const ACCURACY_MOD: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Keysize` [INFO] [stdout] --> src/utility/comparison.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Keysize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_keysize` [INFO] [stdout] --> src/utility/comparison.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn find_keysize(input: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/utility/comparison.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn hamming_distance(first: &[u8], second: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE64` [INFO] [stdout] --> src/utility/encoding/base64.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / const BASE64: [char; 64] = [ [INFO] [stdout] 6 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stdout] 7 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stdout] 8 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stdout] 9 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stdout] 10 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_string_hex` [INFO] [stdout] --> src/utility/encoding/base64.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_string_hex(s: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/utility/encoding/base64.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn encode(bytes: Vec) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_bytes` [INFO] [stdout] --> src/utility/encoding/base64.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn to_bytes(input: String) -> Result, TransformError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `padding` [INFO] [stdout] --> src/utility/encoding/base64.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn padding(b64_string: &mut String, pad: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sextet_decode` [INFO] [stdout] --> src/utility/encoding/base64.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn sextet_decode(ch: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_byte` [INFO] [stdout] --> src/utility/encoding/xor.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn single_byte(v: &[u8], byte: u8) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeating_key` [INFO] [stdout] --> src/utility/encoding/xor.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn repeating_key(plain_vec: &[u8], key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `guess` [INFO] [stdout] --> src/utility/string_process/guess.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn guess(input: &[u8]) -> Guess { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `freq` [INFO] [stdout] --> src/utility/string_process/guess.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn freq(input: String) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transpose` [INFO] [stdout] --> src/utility/transformation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn transpose(input: &[u8], blocks: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "b9ed13464b3cbb6cfea694df72219f05262874056edc477f720064b565691d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ed13464b3cbb6cfea694df72219f05262874056edc477f720064b565691d71", kill_on_drop: false }` [INFO] [stdout] b9ed13464b3cbb6cfea694df72219f05262874056edc477f720064b565691d71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4c5a015b3cffe1f88b92959851032c4cf89dec3421b0d3362fb254ab795435e [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" "e4c5a015b3cffe1f88b92959851032c4cf89dec3421b0d3362fb254ab795435e", kill_on_drop: false }` [INFO] [stderr] warning: constant is never used: `AES_BLOCKSIZE` [INFO] [stderr] --> src/challenges/set_one/challenge_eight.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const AES_BLOCKSIZE: usize = 16; // Bytes in an AES block for encryption [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_eight` [INFO] [stderr] --> src/challenges/set_one/challenge_eight.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn challenge_eight(file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_five` [INFO] [stderr] --> src/challenges/set_one/challenge_five.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_five() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_four` [INFO] [stderr] --> src/challenges/set_one/challenge_four.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn challenge_four(file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_one` [INFO] [stderr] --> src/challenges/set_one/challenge_one.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn challenge_one() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_seven` [INFO] [stderr] --> src/challenges/set_one/challenge_seven.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn challenge_seven(mut file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_six` [INFO] [stderr] --> src/challenges/set_one/challenge_six.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn challenge_six(mut file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_three` [INFO] [stderr] --> src/challenges/set_one/challenge_three.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_three() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_two` [INFO] [stderr] --> src/challenges/set_one/challenge_two.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_two() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_KEYSIZE` [INFO] [stderr] --> src/utility/comparison.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const MAX_KEYSIZE: usize = 40; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACCURACY_MOD` [INFO] [stderr] --> src/utility/comparison.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | const ACCURACY_MOD: usize = 1000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Keysize` [INFO] [stderr] --> src/utility/comparison.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Keysize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_keysize` [INFO] [stderr] --> src/utility/comparison.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn find_keysize(input: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hamming_distance` [INFO] [stderr] --> src/utility/comparison.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn hamming_distance(first: &[u8], second: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BASE64` [INFO] [stderr] --> src/utility/encoding/base64.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / const BASE64: [char; 64] = [ [INFO] [stderr] 6 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stderr] 7 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stderr] 8 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stderr] 9 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stderr] 10 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `from_string_hex` [INFO] [stderr] --> src/utility/encoding/base64.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn from_string_hex(s: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `encode` [INFO] [stderr] --> src/utility/encoding/base64.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn encode(bytes: Vec) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_bytes` [INFO] [stderr] --> src/utility/encoding/base64.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn to_bytes(input: String) -> Result, TransformError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `padding` [INFO] [stderr] --> src/utility/encoding/base64.rs:77:4 [INFO] [stderr] | [INFO] [stderr] 77 | fn padding(b64_string: &mut String, pad: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sextet_decode` [INFO] [stderr] --> src/utility/encoding/base64.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn sextet_decode(ch: char) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `single_byte` [INFO] [stderr] --> src/utility/encoding/xor.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn single_byte(v: &[u8], byte: u8) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `repeating_key` [INFO] [stderr] --> src/utility/encoding/xor.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn repeating_key(plain_vec: &[u8], key: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `guess` [INFO] [stderr] --> src/utility/string_process/guess.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn guess(input: &[u8]) -> Guess { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `freq` [INFO] [stderr] --> src/utility/string_process/guess.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn freq(input: String) -> u64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `transpose` [INFO] [stderr] --> src/utility/transformation.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn transpose(input: &[u8], blocks: usize) -> Vec> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cryptopals-5de56442bfaefe1f [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_value ... ok [INFO] [stdout] test utility::encoding::xor::test::equal_vecs_test ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_value ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_length ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_length ... ok [INFO] [stdout] test utility::hex::from_str_hex_tests::all_zero ... ok [INFO] [stdout] test utility::hex::from_str_hex_tests::alternate_fs ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_4_correct_value ... FAILED [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_4_correct_length ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- utility::encoding::padding::test::pad_1_to_4_correct_value stdout ---- [INFO] [stdout] thread 'utility::encoding::padding::test::pad_1_to_4_correct_value' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `[0]`, [INFO] [stdout] right: `[0, 3, 3, 3]`', src/utility/encoding/padding.rs:27:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d615b20665 - backtrace::backtrace::libunwind::trace::ha215bbf14e328799 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55d615b20665 - backtrace::backtrace::trace_unsynchronized::h3384b099b135857a [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55d615b20665 - std::sys_common::backtrace::_print_fmt::hfec93740f7294682 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55d615b20665 - ::fmt::h5fe20777f4174074 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55d615b484bc - core::fmt::write::he14c3177144df275 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55d615ad3f95 - std::io::Write::write_fmt::ha866504c9998fe5e [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55d615b1aa31 - std::io::impls::>::write_fmt::h8f0a2af895559593 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55d615b22e90 - std::sys_common::backtrace::_print::h9cfa4c87526ba064 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55d615b22e90 - std::sys_common::backtrace::print::h94936584848b3272 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55d615b22e90 - std::panicking::default_hook::{{closure}}::h733b20cc9b496e46 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55d615b22b8a - std::panicking::default_hook::h556d8cff6c12a651 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55d615b234c7 - std::panicking::rust_panic_with_hook::ha0c7ca5b39baa9d5 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x55d615b230cb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 13: 0x55d615b2303b - std::panicking::begin_panic_fmt::ha757bc84d5ed8cb6 [INFO] [stdout] at src/libstd/panicking.rs:342 [INFO] [stdout] 14: 0x55d615ac7d2d - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::he031b76b7da0a9ae [INFO] [stdout] at src/utility/encoding/padding.rs:27 [INFO] [stdout] 15: 0x55d615ac7a9a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::{{closure}}::hbb176e4d3a57e321 [INFO] [stdout] at src/utility/encoding/padding.rs:24 [INFO] [stdout] 16: 0x55d615ac902e - core::ops::function::FnOnce::call_once::hdbe52ebee8f5c5db [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 17: 0x55d615afb182 - as core::ops::function::FnOnce>::call_once::h1efcc6525b6aa145 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 18: 0x55d615afb182 - as core::ops::function::FnOnce<()>>::call_once::hafd7ae2f3c23f399 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55d615afb182 - std::panicking::try::do_call::h83baf26f5fc8b0a5 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x55d615afb182 - std::panicking::try::h8d28a678b90bb6ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55d615afb182 - std::panic::catch_unwind::h20734e8710644f59 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55d615afb182 - test::run_test_in_process::h2c1fb2dd0c9013bb [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55d615afb182 - test::run_test::run_test_inner::{{closure}}::h7c58b7aefdb9adf3 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x55d615ad3456 - std::sys_common::backtrace::__rust_begin_short_backtrace::h498f21fd16bdff05 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x55d615ad8795 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hb35336a0a0430e6d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x55d615ad8795 - as core::ops::function::FnOnce<()>>::call_once::h8569a86268e08ad1 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x55d615ad8795 - std::panicking::try::do_call::hcc5472a0f1ff31ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 28: 0x55d615ad8795 - std::panicking::try::h774b0c4fd770945c [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 29: 0x55d615ad8795 - std::panic::catch_unwind::hfaf7c6beb53320e7 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x55d615ad8795 - std::thread::Builder::spawn_unchecked::{{closure}}::h481343a824704446 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x55d615ad8795 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dcbc7fc2c4c6c48 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 32: 0x55d615b2979a - as core::ops::function::FnOnce>::call_once::hf311c88f1fadb9b8 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 33: 0x55d615b2979a - as core::ops::function::FnOnce>::call_once::h8cfb7235b81393ef [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 34: 0x55d615b2979a - std::sys::unix::thread::Thread::new::thread_start::hf745c8cf29a89648 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fa99a68b609 - start_thread [INFO] [stdout] 36: 0x7fa99a597103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- utility::encoding::padding::test::pad_1_to_4_correct_length stdout ---- [INFO] [stdout] thread 'utility::encoding::padding::test::pad_1_to_4_correct_length' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `4`', src/utility/encoding/padding.rs:20:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55d615b20665 - backtrace::backtrace::libunwind::trace::ha215bbf14e328799 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55d615b20665 - backtrace::backtrace::trace_unsynchronized::h3384b099b135857a [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55d615b20665 - std::sys_common::backtrace::_print_fmt::hfec93740f7294682 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55d615b20665 - ::fmt::h5fe20777f4174074 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55d615b484bc - core::fmt::write::he14c3177144df275 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55d615ad3f95 - std::io::Write::write_fmt::ha866504c9998fe5e [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55d615b1aa31 - std::io::impls::>::write_fmt::h8f0a2af895559593 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55d615b22e90 - std::sys_common::backtrace::_print::h9cfa4c87526ba064 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55d615b22e90 - std::sys_common::backtrace::print::h94936584848b3272 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55d615b22e90 - std::panicking::default_hook::{{closure}}::h733b20cc9b496e46 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55d615b22b8a - std::panicking::default_hook::h556d8cff6c12a651 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55d615b234c7 - std::panicking::rust_panic_with_hook::ha0c7ca5b39baa9d5 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x55d615b230cb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 13: 0x55d615b2303b - std::panicking::begin_panic_fmt::ha757bc84d5ed8cb6 [INFO] [stdout] at src/libstd/panicking.rs:342 [INFO] [stdout] 14: 0x55d615ac7a6f - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::h340ed175bb954b92 [INFO] [stdout] at src/utility/encoding/padding.rs:20 [INFO] [stdout] 15: 0x55d615ac780a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::{{closure}}::h0bcc98479b9f66bd [INFO] [stdout] at src/utility/encoding/padding.rs:17 [INFO] [stdout] 16: 0x55d615ac8fce - core::ops::function::FnOnce::call_once::hafeef711b7e1d69d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 17: 0x55d615afb182 - as core::ops::function::FnOnce>::call_once::h1efcc6525b6aa145 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 18: 0x55d615afb182 - as core::ops::function::FnOnce<()>>::call_once::hafd7ae2f3c23f399 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55d615afb182 - std::panicking::try::do_call::h83baf26f5fc8b0a5 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x55d615afb182 - std::panicking::try::h8d28a678b90bb6ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55d615afb182 - std::panic::catch_unwind::h20734e8710644f59 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55d615afb182 - test::run_test_in_process::h2c1fb2dd0c9013bb [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55d615afb182 - test::run_test::run_test_inner::{{closure}}::h7c58b7aefdb9adf3 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x55d615ad3456 - std::sys_common::backtrace::__rust_begin_short_backtrace::h498f21fd16bdff05 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x55d615ad8795 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hb35336a0a0430e6d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x55d615ad8795 - as core::ops::function::FnOnce<()>>::call_once::h8569a86268e08ad1 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x55d615ad8795 - std::panicking::try::do_call::hcc5472a0f1ff31ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 28: 0x55d615ad8795 - std::panicking::try::h774b0c4fd770945c [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 29: 0x55d615ad8795 - std::panic::catch_unwind::hfaf7c6beb53320e7 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x55d615ad8795 - std::thread::Builder::spawn_unchecked::{{closure}}::h481343a824704446 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x55d615ad8795 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dcbc7fc2c4c6c48 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 32: 0x55d615b2979a - as core::ops::function::FnOnce>::call_once::hf311c88f1fadb9b8 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 33: 0x55d615b2979a - as core::ops::function::FnOnce>::call_once::h8cfb7235b81393ef [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 34: 0x55d615b2979a - std::sys::unix::thread::Thread::new::thread_start::hf745c8cf29a89648 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fa99a68b609 - start_thread [INFO] [stdout] 36: 0x7fa99a597103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utility::encoding::padding::test::pad_1_to_4_correct_length [INFO] [stdout] utility::encoding::padding::test::pad_1_to_4_correct_value [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin cryptopals' [INFO] running `Command { std: "docker" "inspect" "e4c5a015b3cffe1f88b92959851032c4cf89dec3421b0d3362fb254ab795435e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c5a015b3cffe1f88b92959851032c4cf89dec3421b0d3362fb254ab795435e", kill_on_drop: false }` [INFO] [stdout] e4c5a015b3cffe1f88b92959851032c4cf89dec3421b0d3362fb254ab795435e