[INFO] cloning repository https://github.com/0xlrivo/cryptography-playground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xlrivo/cryptography-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlrivo%2Fcryptography-playground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlrivo%2Fcryptography-playground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2f10e78ec0df4e32b9b74e8eabbe9c923364d6c8
[INFO] checking 0xlrivo/cryptography-playground against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlrivo%2Fcryptography-playground" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xlrivo/cryptography-playground
[INFO] finished tweaking git repo https://github.com/0xlrivo/cryptography-playground
[INFO] tweaked toml for git repo https://github.com/0xlrivo/cryptography-playground written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xlrivo/cryptography-playground on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xlrivo/cryptography-playground 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42304a8267b36b0c2510979d8a23977d6ec9d98817517ee883621fc344940d3a
[INFO] running `Command { std: "docker" "start" "-a" "42304a8267b36b0c2510979d8a23977d6ec9d98817517ee883621fc344940d3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42304a8267b36b0c2510979d8a23977d6ec9d98817517ee883621fc344940d3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42304a8267b36b0c2510979d8a23977d6ec9d98817517ee883621fc344940d3a", kill_on_drop: false }`
[INFO] [stdout] 42304a8267b36b0c2510979d8a23977d6ec9d98817517ee883621fc344940d3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 93a9379559dfed53b4482cf8d39ef7bbb19c2abd2f9ddf8112345174b92fc1f6
[INFO] running `Command { std: "docker" "start" "-a" "93a9379559dfed53b4482cf8d39ef7bbb19c2abd2f9ddf8112345174b92fc1f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]     Checking primes v0.4.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking cryptography_playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `gcd`
[INFO] [stdout]  --> src/ciphers/el_gamal/el_gamal.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_integer::{gcd, ExtendedGcd, Integer};
[INFO] [stdout]   |                   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gcd`
[INFO] [stdout]  --> src/ciphers/el_gamal/el_gamal.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use num_integer::{gcd, ExtendedGcd, Integer};
[INFO] [stdout]   |                   ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FEISTEL_ROUNDS` is never used
[INFO] [stdout]   --> src/ciphers/minifeistel64.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FEISTEL_ROUNDS: usize = 8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiniFeistel64` is never constructed
[INFO] [stdout]   --> src/ciphers/minifeistel64.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MiniFeistel64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/minifeistel64.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl MiniFeistel64 {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  37 |     // initialize the cipher
[INFO] [stdout]  38 |     pub fn new(key: u64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn change_key(&mut self, new_key: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn feistel_encrypt_block(&self, p: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn feistel_decrypt_block(&self, c: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn round_function(&self, old_r: u32, round_key: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn derive_round_keys(&self) -> [u32; FEISTEL_ROUNDS] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn split_block(&self, block: u64) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     fn combine_block(&self, high: u32, low: u32) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DES` is never constructed
[INFO] [stdout]   --> src/ciphers/des/des.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct DES {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/ciphers/des/des.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl DES {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 33 |     // initialize the cipher
[INFO] [stdout] 34 |     pub fn new(key: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn change_key(&mut self, new_key: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn des_encrypt_block(&self, p: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn des_decrypt_block(&self, c: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn run_feistel_network(&self, block: u64, round_keys: &[U48]) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn round_function(&self, old_r: U48, round_key: U48) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     fn schedule_subkeys(&self) -> [U48; FEISTEL_ROUNDS] {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `U28` is never used
[INFO] [stdout]  --> src/ciphers/des/des_constants.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub type U28 = u32;
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `U48` is never used
[INFO] [stdout]  --> src/ciphers/des/des_constants.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub type U48 = u64;
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `U56` is never used
[INFO] [stdout]  --> src/ciphers/des/des_constants.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub type U56 = u64;
[INFO] [stdout]   |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FEISTEL_ROUNDS` is never used
[INFO] [stdout]  --> src/ciphers/des/des_constants.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const FEISTEL_ROUNDS: usize = 16;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IP` is never used
[INFO] [stdout]  --> src/ciphers/des/des_constants.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const IP: [u8; 64] = [
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IPinverse` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const IPinverse: [u8; 64] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `E` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub const E: [u8; 48] = [
[INFO] [stdout]    |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `P` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:48:11
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub const P: [u8; 32] = [
[INFO] [stdout]    |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PC1` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const PC1: [u8; 56] = [
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PC2` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub const PC2: [u8; 48] = [
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ITER_SX_SHIFT` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | pub const ITER_SX_SHIFT: [u32; FEISTEL_ROUNDS] = [
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SBOXES` is never used
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:97:11
[INFO] [stdout]    |
[INFO] [stdout] 97 | pub const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S1` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:101:11
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub const S1: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S2` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:108:11
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub const S2: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S3` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:115:11
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub const S3: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S4` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:122:11
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub const S4: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S5` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:129:11
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub const S5: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S6` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:136:11
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub const S6: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S7` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | pub const S7: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S8` is never used
[INFO] [stdout]    --> src/ciphers/des/des_constants.rs:150:11
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub const S8: [[u8; 16]; 4] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_initial_permutation` is never used
[INFO] [stdout]  --> src/ciphers/des/des_utils.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn apply_initial_permutation(input: u64, inverse: bool) -> u64 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_pc1` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn apply_pc1(key: u64) -> U56 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_pc2` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn apply_pc2(key: U56) -> U48 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `apply_p` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn apply_p(input: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expand_r` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn expand_r(r: u32) -> U48 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `query_s_box` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub fn query_s_box(idx: usize, input: u8) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_block` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn split_block(block: u64) -> (u32, u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_key` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn split_key(key: U56) -> (U28, U28) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_block` is never used
[INFO] [stdout]   --> src/ciphers/des/des_utils.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn combine_block(high: u32, low: u32) -> u64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine_round_key` is never used
[INFO] [stdout]    --> src/ciphers/des/des_utils.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn combine_round_key(high: U28, low: U28) -> U56 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_sbox_input` is never used
[INFO] [stdout]    --> src/ciphers/des/des_utils.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn extract_sbox_input(idx: usize, input: U48) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pad_sbox_output` is never used
[INFO] [stdout]    --> src/ciphers/des/des_utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn pad_sbox_output(sb_idx: usize, sb_out: u8) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_left_28` is never used
[INFO] [stdout]    --> src/ciphers/des/des_utils.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn rotate_left_28(val: U28, n: u32) -> U28 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `gen_keypair` is never used
[INFO] [stdout]   --> src/ciphers/rsa/rsa.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl RSA {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn gen_keypair() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gen_prime_number_range` is never used
[INFO] [stdout]   --> src/ciphers/rsa/rsa.rs:63:4
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn gen_prime_number_range(low: u64, high: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_inverse` is never used
[INFO] [stdout]   --> src/ciphers/rsa/rsa.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn mod_inverse(a: u64, n: u64) -> Option<u64> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ElGamal` is never constructed
[INFO] [stdout]  --> src/ciphers/el_gamal/el_gamal.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ElGamal {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_message`, and `decrypt_message` are never used
[INFO] [stdout]   --> src/ciphers/el_gamal/el_gamal.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl ElGamal {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(p: u64, g: u64, x: u64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn encrypt_message(&self, m: u64, k: u64) -> (u64, u64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn decrypt_message(&self, c1: u64, c2: u64) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_inverse` is never used
[INFO] [stdout]   --> src/ciphers/el_gamal/el_gamal.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn mod_inverse(a: u64, n: u64) -> Option<u64> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mod_pow_bigint` is never used
[INFO] [stdout]   --> src/ciphers/el_gamal/el_gamal.rs:49:4
[INFO] [stdout]    |
[INFO] [stdout] 49 | fn mod_pow_bigint(base: u64, exp: u64, n: u64) -> u64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ECB` is never constructed
[INFO] [stdout]  --> src/operation_modes/ecb.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ECB;
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CBC` is never constructed
[INFO] [stdout]  --> src/operation_modes/cbc.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct CBC<C: BlockCipher> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logical_dump_bits_u64` is never used
[INFO] [stdout]  --> src/utils.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub fn logical_dump_bits_u64(val: u64) {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logical_dump_bits_u32` is never used
[INFO] [stdout]   --> src/utils.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn logical_dump_bits_u32(val: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logical_dump_bits_u28` is never used
[INFO] [stdout]   --> src/utils.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub fn logical_dump_bits_u28(val: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `physical_dump_bits_u64` is never used
[INFO] [stdout]   --> src/utils.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn physical_dump_bits_u64(val: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IPinverse` should have an upper case name
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const IPinverse: [u8; 64] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 - pub const IPinverse: [u8; 64] = [
[INFO] [stdout] 21 + pub const IPINVERSE: [u8; 64] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FEISTEL_ROUNDS` is never used
[INFO] [stdout]   --> src/ciphers/minifeistel64.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FEISTEL_ROUNDS: usize = 8;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MiniFeistel64` is never constructed
[INFO] [stdout]   --> src/ciphers/minifeistel64.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MiniFeistel64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/minifeistel64.rs:38:12
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl MiniFeistel64 {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  37 |     // initialize the cipher
[INFO] [stdout]  38 |     pub fn new(key: u64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn change_key(&mut self, new_key: u64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn feistel_encrypt_block(&self, p: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn feistel_decrypt_block(&self, c: u64) -> u64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn round_function(&self, old_r: u32, round_key: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn derive_round_keys(&self) -> [u32; FEISTEL_ROUNDS] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     fn split_block(&self, block: u64) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 149 |     fn combine_block(&self, high: u32, low: u32) -> u64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `change_key` is never used
[INFO] [stdout]   --> src/ciphers/des/des.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | impl DES {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn change_key(&mut self, new_key: u64) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ECB` is never constructed
[INFO] [stdout]  --> src/operation_modes/ecb.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ECB;
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CBC` is never constructed
[INFO] [stdout]  --> src/operation_modes/cbc.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct CBC<C: BlockCipher> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logical_dump_bits_u32` is never used
[INFO] [stdout]   --> src/utils.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn logical_dump_bits_u32(val: u32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `physical_dump_bits_u64` is never used
[INFO] [stdout]   --> src/utils.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn physical_dump_bits_u64(val: u64) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IPinverse` should have an upper case name
[INFO] [stdout]   --> src/ciphers/des/des_constants.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const IPinverse: [u8; 64] = [
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 21 - pub const IPinverse: [u8; 64] = [
[INFO] [stdout] 21 + pub const IPINVERSE: [u8; 64] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.09s
[INFO] running `Command { std: "docker" "inspect" "93a9379559dfed53b4482cf8d39ef7bbb19c2abd2f9ddf8112345174b92fc1f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93a9379559dfed53b4482cf8d39ef7bbb19c2abd2f9ddf8112345174b92fc1f6", kill_on_drop: false }`
[INFO] [stdout] 93a9379559dfed53b4482cf8d39ef7bbb19c2abd2f9ddf8112345174b92fc1f6
