[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals" "/workspace/builds/worker-99/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-99/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hwatwasthat/rust_cryptopals on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-99/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.55.0" "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-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa0841df2544988428528a6a20a62499309736bc1227a4820b2ff471a75e2284 [INFO] running `Command { std: "docker" "start" "-a" "fa0841df2544988428528a6a20a62499309736bc1227a4820b2ff471a75e2284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa0841df2544988428528a6a20a62499309736bc1227a4820b2ff471a75e2284", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0841df2544988428528a6a20a62499309736bc1227a4820b2ff471a75e2284", kill_on_drop: false }` [INFO] [stdout] fa0841df2544988428528a6a20a62499309736bc1227a4820b2ff471a75e2284 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ac5ac0ea6c1089aecdda6c8ec293661dd6b9e7f2a290e60000972378cd2930 [INFO] running `Command { std: "docker" "start" "-a" "a3ac5ac0ea6c1089aecdda6c8ec293661dd6b9e7f2a290e60000972378cd2930", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [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: `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 4.78s [INFO] running `Command { std: "docker" "inspect" "a3ac5ac0ea6c1089aecdda6c8ec293661dd6b9e7f2a290e60000972378cd2930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ac5ac0ea6c1089aecdda6c8ec293661dd6b9e7f2a290e60000972378cd2930", kill_on_drop: false }` [INFO] [stdout] a3ac5ac0ea6c1089aecdda6c8ec293661dd6b9e7f2a290e60000972378cd2930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f1bba3a0a185d37e152d1a4fd6fd4c9814a29e1cad218a407bba3cd6a214e79 [INFO] running `Command { std: "docker" "start" "-a" "8f1bba3a0a185d37e152d1a4fd6fd4c9814a29e1cad218a407bba3cd6a214e79", 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.43s [INFO] running `Command { std: "docker" "inspect" "8f1bba3a0a185d37e152d1a4fd6fd4c9814a29e1cad218a407bba3cd6a214e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1bba3a0a185d37e152d1a4fd6fd4c9814a29e1cad218a407bba3cd6a214e79", kill_on_drop: false }` [INFO] [stdout] 8f1bba3a0a185d37e152d1a4fd6fd4c9814a29e1cad218a407bba3cd6a214e79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-99/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7452c87e28357ded3b62d2143eef30a073ca4ef70a8ff8a6d8ecca21d41a61e3 [INFO] running `Command { std: "docker" "start" "-a" "7452c87e28357ded3b62d2143eef30a073ca4ef70a8ff8a6d8ecca21d41a61e3", 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: `cryptopals` (bin "cryptopals" test) generated 25 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cryptopals-cbc79e1a605296c1) [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::hex::from_str_hex_tests::all_zero ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_value ... ok [INFO] [stdout] test utility::hex::from_str_hex_tests::alternate_fs ... ok [INFO] [stdout] test utility::encoding::xor::test::equal_vecs_test ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_1_to_1_correct_length ... ok [INFO] [stderr] error: test failed, to rerun pass '--bin cryptopals' [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: 0x55a532478a80 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a532478a80 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a532478a80 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a532478a80 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a53249b23c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55a532475b35 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55a53247abeb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a53247abeb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a53247abeb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a53247a6fc - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55a53247b2b4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a53247ad97 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a532478f7c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a53247acf9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a53241d3b1 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55a532499b58 - core::panicking::assert_failed_inner::hd10540743cd0e11a [INFO] [stdout] 16: 0x55a53246208a - core::panicking::assert_failed::h730a4426cd9d6ddf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x55a532427120 - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::hb0c3a55a620e0fe5 [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:20:9 [INFO] [stdout] 18: 0x55a532426fda - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::{{closure}}::h58ae048c3f7aa05b [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:17:5 [INFO] [stdout] 19: 0x55a5324269ce - core::ops::function::FnOnce::call_once::h5249b3400f31ac7e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a53245c973 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a53245c973 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x55a53245b428 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55a53245b428 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55a53245b428 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55a53245b428 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55a53245b428 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55a53245b428 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x55a53245b428 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x55a532429bbd - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x55a532429bbd - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55a53242e398 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55a53242e398 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55a53242e398 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55a53242e398 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55a53242e398 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55a53242e398 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55a53242e398 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a53247fe27 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55a53247fe27 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55a53247fe27 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 41: 0x7f2fb005d609 - start_thread [INFO] [stdout] 42: 0x7f2fafe2f293 - 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: 0x55a532478a80 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a532478a80 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a532478a80 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a532478a80 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a53249b23c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55a532475b35 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55a53247abeb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a53247abeb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a53247abeb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a53247a6fc - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55a53247b2b4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a53247ad97 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a532478f7c - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a53247acf9 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a53241d3b1 - core::panicking::panic_fmt::h12a3a3c256485fca [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55a532499b58 - core::panicking::assert_failed_inner::hd10540743cd0e11a [INFO] [stdout] 16: 0x55a532423caa - core::panicking::assert_failed::h26b0c3f63518015b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x55a5324272de - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::h11fc6cc85ad6cfc3 [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:27:9 [INFO] [stdout] 18: 0x55a53242714a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::{{closure}}::hc97aed2f2e4b393e [INFO] [stdout] at /opt/rustwide/workdir/src/utility/encoding/padding.rs:24:5 [INFO] [stdout] 19: 0x55a532426a8e - core::ops::function::FnOnce::call_once::h84d8ed475a3d387b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a53245c973 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a53245c973 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x55a53245b428 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55a53245b428 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55a53245b428 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55a53245b428 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55a53245b428 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55a53245b428 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x55a53245b428 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x55a532429bbd - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x55a532429bbd - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55a53242e398 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55a53242e398 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55a53242e398 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55a53242e398 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55a53242e398 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55a53242e398 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55a53242e398 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a53247fe27 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55a53247fe27 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55a53247fe27 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 41: 0x7f2fb005d609 - start_thread [INFO] [stdout] 42: 0x7f2fafe2f293 - 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.11s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7452c87e28357ded3b62d2143eef30a073ca4ef70a8ff8a6d8ecca21d41a61e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7452c87e28357ded3b62d2143eef30a073ca4ef70a8ff8a6d8ecca21d41a61e3", kill_on_drop: false }` [INFO] [stdout] 7452c87e28357ded3b62d2143eef30a073ca4ef70a8ff8a6d8ecca21d41a61e3