[INFO] updating cached repository https://github.com/Hwatwasthat/rust_cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e37b6c3cfcb42394f9c6c9269c92431476e58c45 [INFO] testing Hwatwasthat/rust_cryptopals against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHwatwasthat%2Frust_cryptopals" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Hwatwasthat/rust_cryptopals on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Hwatwasthat/rust_cryptopals [INFO] finished tweaking git repo https://github.com/Hwatwasthat/rust_cryptopals [INFO] tweaked toml for git repo https://github.com/Hwatwasthat/rust_cryptopals written to /workspace/builds/worker-9/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71b928a5f52522a11d99579575a7865298d09748576211af7544e260495da893 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "71b928a5f52522a11d99579575a7865298d09748576211af7544e260495da893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71b928a5f52522a11d99579575a7865298d09748576211af7544e260495da893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b928a5f52522a11d99579575a7865298d09748576211af7544e260495da893", kill_on_drop: false }` [INFO] [stdout] 71b928a5f52522a11d99579575a7865298d09748576211af7544e260495da893 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89f9f2de0d098e6a7fef5a6ae0d6130b27f1b03ad35301676bfc37fe1af553b8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "89f9f2de0d098e6a7fef5a6ae0d6130b27f1b03ad35301676bfc37fe1af553b8", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.11.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 7.08s [INFO] running `Command { std: "docker" "inspect" "89f9f2de0d098e6a7fef5a6ae0d6130b27f1b03ad35301676bfc37fe1af553b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89f9f2de0d098e6a7fef5a6ae0d6130b27f1b03ad35301676bfc37fe1af553b8", kill_on_drop: false }` [INFO] [stdout] 89f9f2de0d098e6a7fef5a6ae0d6130b27f1b03ad35301676bfc37fe1af553b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d46fcc77ee5b3ff1dda3b2c72466e7be3641df8191ff799c15733d54d2a0c3d3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d46fcc77ee5b3ff1dda3b2c72466e7be3641df8191ff799c15733d54d2a0c3d3", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.51s [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d46fcc77ee5b3ff1dda3b2c72466e7be3641df8191ff799c15733d54d2a0c3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46fcc77ee5b3ff1dda3b2c72466e7be3641df8191ff799c15733d54d2a0c3d3", kill_on_drop: false }` [INFO] [stdout] d46fcc77ee5b3ff1dda3b2c72466e7be3641df8191ff799c15733d54d2a0c3d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8583d91ec750912f16280a823dea646c812ba38f5c0aee1e27cacae57a3faf7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8583d91ec750912f16280a823dea646c812ba38f5c0aee1e27cacae57a3faf7d", kill_on_drop: false }` [INFO] [stderr] warning: constant is never used: `AES_BLOCKSIZE` [INFO] [stderr] --> src/challenges/set_one/challenge_eight.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const AES_BLOCKSIZE: usize = 16; // Bytes in an AES block for encryption [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_eight` [INFO] [stderr] --> src/challenges/set_one/challenge_eight.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn challenge_eight(file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_five` [INFO] [stderr] --> src/challenges/set_one/challenge_five.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_five() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_four` [INFO] [stderr] --> src/challenges/set_one/challenge_four.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn challenge_four(file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_one` [INFO] [stderr] --> src/challenges/set_one/challenge_one.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn challenge_one() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_seven` [INFO] [stderr] --> src/challenges/set_one/challenge_seven.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn challenge_seven(mut file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_six` [INFO] [stderr] --> src/challenges/set_one/challenge_six.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn challenge_six(mut file: File) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_three` [INFO] [stderr] --> src/challenges/set_one/challenge_three.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_three() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `challenge_two` [INFO] [stderr] --> src/challenges/set_one/challenge_two.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn challenge_two() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MAX_KEYSIZE` [INFO] [stderr] --> src/utility/comparison.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const MAX_KEYSIZE: usize = 40; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ACCURACY_MOD` [INFO] [stderr] --> src/utility/comparison.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | const ACCURACY_MOD: usize = 1000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Keysize` [INFO] [stderr] --> src/utility/comparison.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | struct Keysize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_keysize` [INFO] [stderr] --> src/utility/comparison.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn find_keysize(input: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `hamming_distance` [INFO] [stderr] --> src/utility/comparison.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn hamming_distance(first: &[u8], second: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BASE64` [INFO] [stderr] --> src/utility/encoding/base64.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / const BASE64: [char; 64] = [ [INFO] [stderr] 6 | | 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', [INFO] [stderr] 7 | | 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', [INFO] [stderr] 8 | | 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', [INFO] [stderr] 9 | | '5', '6', '7', '8', '9', '+', '/', [INFO] [stderr] 10 | | ]; [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `from_string_hex` [INFO] [stderr] --> src/utility/encoding/base64.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn from_string_hex(s: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `encode` [INFO] [stderr] --> src/utility/encoding/base64.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn encode(bytes: Vec) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_bytes` [INFO] [stderr] --> src/utility/encoding/base64.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn to_bytes(input: String) -> Result, TransformError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `padding` [INFO] [stderr] --> src/utility/encoding/base64.rs:77:4 [INFO] [stderr] | [INFO] [stderr] 77 | fn padding(b64_string: &mut String, pad: usize) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sextet_decode` [INFO] [stderr] --> src/utility/encoding/base64.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn sextet_decode(ch: char) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `single_byte` [INFO] [stderr] --> src/utility/encoding/xor.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn single_byte(v: &[u8], byte: u8) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `repeating_key` [INFO] [stderr] --> src/utility/encoding/xor.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn repeating_key(plain_vec: &[u8], key: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `guess` [INFO] [stderr] --> src/utility/string_process/guess.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn guess(input: &[u8]) -> Guess { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `freq` [INFO] [stderr] --> src/utility/string_process/guess.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn freq(input: String) -> u64 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `transpose` [INFO] [stderr] --> src/utility/transformation.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn transpose(input: &[u8], blocks: usize) -> Vec> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cryptopals-c9a7f71b93c9d5aa [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test utility::encoding::xor::test::equal_vecs_test ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_value ... ok [INFO] [stdout] test utility::hex::from_str_hex_tests::all_zero ... ok [INFO] [stdout] test utility::encoding::padding::test::pad_0_correct_length ... ok [INFO] [stdout] test utility::hex::from_str_hex_tests::alternate_fs ... 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::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: 0x5601f92140f5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5601f92140f5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5601f92140f5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5601f92140f5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5601f923bd6c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5601f91c7d95 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5601f920e7c1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5601f9216850 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5601f9216850 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5601f9216850 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5601f921654a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5601f9216e93 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5601f9216a8b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5601f92169fb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x5601f91bba6f - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::hdfd54591dd484314 [INFO] [stdout] at src/utility/encoding/padding.rs:20 [INFO] [stdout] 15: 0x5601f91bb80a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_length::{{closure}}::hc23d0f481dff32f2 [INFO] [stdout] at src/utility/encoding/padding.rs:17 [INFO] [stdout] 16: 0x5601f91c4a8e - core::ops::function::FnOnce::call_once::h26f2c38aa0d6840a [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x5601f91ef30c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x5601f91ef30c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x5601f91ef30c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x5601f91ef30c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x5601f91ef30c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x5601f91ef30c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x5601f91ef30c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5601f91c7286 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5601f91cc275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5601f91cc275 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5601f91cc275 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x5601f91cc275 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x5601f91cc275 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5601f91cc275 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5601f91cc275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x5601f921d06a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x5601f921d06a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5601f921d06a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fee79495609 - start_thread [INFO] [stdout] 36: 0x7fee793a1103 - __clone [INFO] [stdout] 37: 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: 0x5601f92140f5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5601f92140f5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5601f92140f5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5601f92140f5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5601f923bd6c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5601f91c7d95 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5601f920e7c1 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5601f9216850 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5601f9216850 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5601f9216850 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5601f921654a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5601f9216e93 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5601f9216a8b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5601f92169fb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x5601f91bbd2d - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::h2763ad9ffd775890 [INFO] [stdout] at src/utility/encoding/padding.rs:27 [INFO] [stdout] 15: 0x5601f91bba9a - cryptopals::utility::encoding::padding::test::pad_1_to_4_correct_value::{{closure}}::hf3dccefe150e0a22 [INFO] [stdout] at src/utility/encoding/padding.rs:24 [INFO] [stdout] 16: 0x5601f91c4a5e - core::ops::function::FnOnce::call_once::h0cb71ef7ea40bca8 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x5601f91ef30c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x5601f91ef30c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x5601f91ef30c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x5601f91ef30c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x5601f91ef30c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x5601f91ef30c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x5601f91ef30c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5601f91c7286 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5601f91cc275 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5601f91cc275 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5601f91cc275 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x5601f91cc275 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x5601f91cc275 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5601f91cc275 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5601f91cc275 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x5601f921d06a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x5601f921d06a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5601f921d06a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fee79495609 - start_thread [INFO] [stdout] 36: 0x7fee793a1103 - __clone [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] utility::encoding::padding::test::pad_1_to_4_correct_length [INFO] [stdout] utility::encoding::padding::test::pad_1_to_4_correct_value [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin cryptopals' [INFO] running `Command { std: "docker" "inspect" "8583d91ec750912f16280a823dea646c812ba38f5c0aee1e27cacae57a3faf7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8583d91ec750912f16280a823dea646c812ba38f5c0aee1e27cacae57a3faf7d", kill_on_drop: false }` [INFO] [stdout] 8583d91ec750912f16280a823dea646c812ba38f5c0aee1e27cacae57a3faf7d