[INFO] cloning 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" "clone" "--bare" "https://github.com/Hwatwasthat/rust_cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e37b6c3cfcb42394f9c6c9269c92431476e58c45 [INFO] testing Hwatwasthat/rust_cryptopals against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hwatwasthat/rust_cryptopals on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-22/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 block-modes v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23354d35243728d3903806e4ce0ef0b546c0e0b8b52baf643106d4a6d1979bb5 [INFO] running `Command { std: "docker" "start" "-a" "23354d35243728d3903806e4ce0ef0b546c0e0b8b52baf643106d4a6d1979bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23354d35243728d3903806e4ce0ef0b546c0e0b8b52baf643106d4a6d1979bb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23354d35243728d3903806e4ce0ef0b546c0e0b8b52baf643106d4a6d1979bb5", kill_on_drop: false }` [INFO] [stdout] 23354d35243728d3903806e4ce0ef0b546c0e0b8b52baf643106d4a6d1979bb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3081fef072d8274e71747dd3fc3aa6a9319c8d3f2b528ceeb7f38c5e21f3fef [INFO] running `Command { std: "docker" "start" "-a" "e3081fef072d8274e71747dd3fc3aa6a9319c8d3f2b528ceeb7f38c5e21f3fef", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [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: `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] = note: `#[warn(dead_code)]` on by default [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: 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: `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: 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] [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: `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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.75s [INFO] running `Command { std: "docker" "inspect" "e3081fef072d8274e71747dd3fc3aa6a9319c8d3f2b528ceeb7f38c5e21f3fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3081fef072d8274e71747dd3fc3aa6a9319c8d3f2b528ceeb7f38c5e21f3fef", kill_on_drop: false }` [INFO] [stdout] e3081fef072d8274e71747dd3fc3aa6a9319c8d3f2b528ceeb7f38c5e21f3fef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ec5efd1659cfe1c160d38901b8a3688aca59e390bdf6f0d45fb2d9689e1f5a2 [INFO] running `Command { std: "docker" "start" "-a" "5ec5efd1659cfe1c160d38901b8a3688aca59e390bdf6f0d45fb2d9689e1f5a2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cryptopals v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` on by default [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: 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: 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] [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: `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: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "5ec5efd1659cfe1c160d38901b8a3688aca59e390bdf6f0d45fb2d9689e1f5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec5efd1659cfe1c160d38901b8a3688aca59e390bdf6f0d45fb2d9689e1f5a2", kill_on_drop: false }` [INFO] [stdout] 5ec5efd1659cfe1c160d38901b8a3688aca59e390bdf6f0d45fb2d9689e1f5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc10dbca853ecde0b58607069df1e6b645f0d5bf96f845e53a3f7db0fca82e8a [INFO] running `Command { std: "docker" "start" "-a" "fc10dbca853ecde0b58607069df1e6b645f0d5bf96f845e53a3f7db0fca82e8a", kill_on_drop: false }` [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] = note: `#[warn(dead_code)]` on by default [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: 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: 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] 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: `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: `cryptopals` (bin "cryptopals" test) generated 25 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cryptopals-0845c79e89f712dd) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_length ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_value ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_value ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_length ... ok [INFO] [stdout] test utility::encoding::xor::test::equal_vecs_test ... 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_length ... FAILED [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_4_correct_value ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x55c9686ca1cc - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55c9686ca1cc - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c9686ca1cc - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55c9686ca1cc - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55c9686ef50c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55c9686c5ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55c9686cc497 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55c9686cc497 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55c9686cc497 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55c9686cc1cb - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55c9686ccbea - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55c9686cc8d7 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55c9686ca694 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55c9686cc5e9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55c968668133 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55c9686ee0c8 - core::panicking::assert_failed_inner::h6332a1b3f7595954 [INFO] [stdout] 16: 0x55c9686aea7a - core::panicking::assert_failed::hcca12742046f09c3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55c96867010b - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::h5cf68c859b2a4133 [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:20:9 [INFO] [stdout] 18: 0x55c96866ffba - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::{{closure}}::h09d4d8e65e28857d [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:17:5 [INFO] [stdout] 19: 0x55c96866fc9e - core::ops::function::FnOnce::call_once::hd2ad85967eef44a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55c96869f743 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c96869f743 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55c96869e471 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55c96869e471 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55c96869e471 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55c96869e471 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55c96869e471 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55c96869e471 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55c96869e471 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55c9686a7d51 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55c9686a7d51 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55c9686744af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55c9686744af - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55c9686744af - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55c9686744af - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55c9686744af - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55c9686744af - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55c9686744af - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55c9686d2883 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55c9686d2883 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55c9686d2883 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f753765a609 - start_thread [INFO] [stdout] 42: 0x7f753742c293 - clone [INFO] [stdout] 43: 0x0 - [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: 0x55c9686ca1cc - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55c9686ca1cc - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c9686ca1cc - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55c9686ca1cc - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55c9686ef50c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55c9686c5ac8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55c9686cc497 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55c9686cc497 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55c9686cc497 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55c9686cc1cb - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55c9686ccbea - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55c9686cc8d7 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55c9686ca694 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55c9686cc5e9 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55c968668133 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55c9686ee0c8 - core::panicking::assert_failed_inner::h6332a1b3f7595954 [INFO] [stdout] 16: 0x55c96866ecaa - core::panicking::assert_failed::he238134e581302af [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55c9686702d2 - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::h16f2d647ce60afd3 [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:27:9 [INFO] [stdout] 18: 0x55c96867013a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::{{closure}}::hefc3fd6829bead1c [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:24:5 [INFO] [stdout] 19: 0x55c96866fc2e - core::ops::function::FnOnce::call_once::ha72256b7243633e0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55c96869f743 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c96869f743 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55c96869e471 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55c96869e471 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55c96869e471 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55c96869e471 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55c96869e471 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55c96869e471 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55c96869e471 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55c9686a7d51 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55c9686a7d51 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55c9686744af - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55c9686744af - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55c9686744af - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55c9686744af - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55c9686744af - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55c9686744af - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55c9686744af - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55c9686d2883 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55c9686d2883 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55c9686d2883 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f753765a609 - start_thread [INFO] [stdout] 42: 0x7f753742c293 - clone [INFO] [stdout] 43: 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; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin cryptopals' [INFO] running `Command { std: "docker" "inspect" "fc10dbca853ecde0b58607069df1e6b645f0d5bf96f845e53a3f7db0fca82e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc10dbca853ecde0b58607069df1e6b645f0d5bf96f845e53a3f7db0fca82e8a", kill_on_drop: false }` [INFO] [stdout] fc10dbca853ecde0b58607069df1e6b645f0d5bf96f845e53a3f7db0fca82e8a