[INFO] cloning repository https://github.com/pdomenico/cryptopals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdomenico/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdomenico%2Fcryptopals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdomenico%2Fcryptopals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a1fafe6b37f31a4d8eb73374eb69f4aabcaaa9b [INFO] checking pdomenico/cryptopals against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdomenico%2Fcryptopals" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pdomenico/cryptopals [INFO] finished tweaking git repo https://github.com/pdomenico/cryptopals [INFO] tweaked toml for git repo https://github.com/pdomenico/cryptopals written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pdomenico/cryptopals on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pdomenico/cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 121b51b8d60554c2ef65703b767446a2469110e0e61213a0b5fab25b8024b9ca [INFO] running `Command { std: "docker" "start" "-a" "121b51b8d60554c2ef65703b767446a2469110e0e61213a0b5fab25b8024b9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "121b51b8d60554c2ef65703b767446a2469110e0e61213a0b5fab25b8024b9ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121b51b8d60554c2ef65703b767446a2469110e0e61213a0b5fab25b8024b9ca", kill_on_drop: false }` [INFO] [stdout] 121b51b8d60554c2ef65703b767446a2469110e0e61213a0b5fab25b8024b9ca [INFO] checking pdomenico/cryptopals against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdomenico%2Fcryptopals" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pdomenico/cryptopals [INFO] finished tweaking git repo https://github.com/pdomenico/cryptopals [INFO] tweaked toml for git repo https://github.com/pdomenico/cryptopals written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pdomenico/cryptopals on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pdomenico/cryptopals already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c599e8490c275ab379f498c1f9b535660188bbcd2810f4ea671a4ba394f3141 [INFO] running `Command { std: "docker" "start" "-a" "2c599e8490c275ab379f498c1f9b535660188bbcd2810f4ea671a4ba394f3141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c599e8490c275ab379f498c1f9b535660188bbcd2810f4ea671a4ba394f3141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c599e8490c275ab379f498c1f9b535660188bbcd2810f4ea671a4ba394f3141", kill_on_drop: false }` [INFO] [stdout] 2c599e8490c275ab379f498c1f9b535660188bbcd2810f4ea671a4ba394f3141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 889d86e0c75da33d9b8bf8bfbe9b9e2469214978023c92abee325e84f0313700 [INFO] running `Command { std: "docker" "start" "-a" "889d86e0c75da33d9b8bf8bfbe9b9e2469214978023c92abee325e84f0313700", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.2 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `challenge5` [INFO] [stdout] --> src/set1/challenge6.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::set1::{challenge3, challenge5}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockCipher` and `BlockEncrypt` [INFO] [stdout] --> src/set1/challenge7.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `challenge3` [INFO] [stdout] --> src/set1/challenge8.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{challenge1, challenge3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/set2/challenge10.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::encode` [INFO] [stdout] --> src/set2/challenge11.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::encode; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/set2/challenge11.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/set2/challenge12.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::set2::challenge13::*` [INFO] [stdout] --> src/set2/tests.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use crate::set2::challenge13::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/set2/tests.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | mod challenge13_tests { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `challenge1`, `challenge3`, `challenge4`, `challenge5`, `challenge6`, `challenge7`, and `challenge8` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use set1::{challenge1, challenge3, challenge4, challenge5, challenge6, challenge7, challenge8}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `challenge11` and `challenge12` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use set2::{challenge11, challenge12, challenge13}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `challenge5` [INFO] [stdout] --> src/set1/challenge6.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::set1::{challenge3, challenge5}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockCipher` and `BlockEncrypt` [INFO] [stdout] --> src/set1/challenge7.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `challenge3` [INFO] [stdout] --> src/set1/challenge8.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{challenge1, challenge3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/set2/challenge10.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex::encode` [INFO] [stdout] --> src/set2/challenge11.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex::encode; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/set2/challenge11.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng, RngCore}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/set2/challenge12.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hex; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `challenge1`, `challenge3`, `challenge4`, `challenge5`, `challenge6`, `challenge7`, and `challenge8` [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use set1::{challenge1, challenge3, challenge4, challenge5, challenge6, challenge7, challenge8}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `challenge11` and `challenge12` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use set2::{challenge11, challenge12, challenge13}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes128_single_block_decrypt` is never used [INFO] [stdout] --> src/set1/challenge7.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn aes128_single_block_decrypt(ciphertext: &[u8], key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set1/challenge7.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeating_score` is never used [INFO] [stdout] --> src/set1/challenge8.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn repeating_score(ciphertext: &Vec, length: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set1/challenge8.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_encrypt` is never used [INFO] [stdout] --> src/set2/challenge10.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn cbc_encrypt(plaintext: &[u8], iv: &[u8], key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_decrypt` is never used [INFO] [stdout] --> src/set2/challenge10.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn cbc_decrypt(cyphertext: &[u8], iv: &[u8], key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionMode` is never used [INFO] [stdout] --> src/set2/challenge11.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EncryptionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_block` is never used [INFO] [stdout] --> src/set2/challenge11.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn random_block() -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encryption_oracle` is never used [INFO] [stdout] --> src/set2/challenge11.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn encryption_oracle(input: &[u8]) -> (Vec, EncryptionMode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mode_detector` is never used [INFO] [stdout] --> src/set2/challenge11.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn mode_detector() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set2/challenge11.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY` is never used [INFO] [stdout] --> src/set2/challenge12.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const KEY: [u8; 16] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_unknown_key` is never used [INFO] [stdout] --> src/set2/challenge12.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn ecb_unknown_key(plaintext: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_block_size` is never used [INFO] [stdout] --> src/set2/challenge12.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn discover_block_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_secret_string` is never used [INFO] [stdout] --> src/set2/challenge12.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn decrypt_secret_string() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `uid`, and `role` are never read [INFO] [stdout] --> src/set2/challenge13.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Profile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 14 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | pub uid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | pub role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Profile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes128_single_block_decrypt` is never used [INFO] [stdout] --> src/set1/challenge7.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn aes128_single_block_decrypt(ciphertext: &[u8], key: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set1/challenge7.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repeating_score` is never used [INFO] [stdout] --> src/set1/challenge8.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn repeating_score(ciphertext: &Vec, length: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set1/challenge8.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncryptionMode` is never used [INFO] [stdout] --> src/set2/challenge11.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum EncryptionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_block` is never used [INFO] [stdout] --> src/set2/challenge11.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn random_block() -> [u8; 16] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encryption_oracle` is never used [INFO] [stdout] --> src/set2/challenge11.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn encryption_oracle(input: &[u8]) -> (Vec, EncryptionMode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mode_detector` is never used [INFO] [stdout] --> src/set2/challenge11.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn mode_detector() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/set2/challenge11.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY` is never used [INFO] [stdout] --> src/set2/challenge12.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const KEY: [u8; 16] = [ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_unknown_key` is never used [INFO] [stdout] --> src/set2/challenge12.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn ecb_unknown_key(plaintext: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `discover_block_size` is never used [INFO] [stdout] --> src/set2/challenge12.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn discover_block_size() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_secret_string` is never used [INFO] [stdout] --> src/set2/challenge12.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn decrypt_secret_string() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.11s [INFO] running `Command { std: "docker" "inspect" "889d86e0c75da33d9b8bf8bfbe9b9e2469214978023c92abee325e84f0313700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889d86e0c75da33d9b8bf8bfbe9b9e2469214978023c92abee325e84f0313700", kill_on_drop: false }` [INFO] [stdout] 889d86e0c75da33d9b8bf8bfbe9b9e2469214978023c92abee325e84f0313700