[INFO] cloning repository https://github.com/deniscastelo/mu_cipher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deniscastelo/mu_cipher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniscastelo%2Fmu_cipher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniscastelo%2Fmu_cipher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd4584538abefd62f3a76a30a7a8db62755b2ce5
[INFO] checking deniscastelo/mu_cipher against try#8e819ff5434466e9a823e03871a1775ac7d84ddf for pr-156027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniscastelo%2Fmu_cipher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deniscastelo/mu_cipher
[INFO] finished tweaking git repo https://github.com/deniscastelo/mu_cipher
[INFO] tweaked toml for git repo https://github.com/deniscastelo/mu_cipher written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deniscastelo/mu_cipher on toolchain 8e819ff5434466e9a823e03871a1775ac7d84ddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deniscastelo/mu_cipher 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" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking deniscastelo/mu_cipher against try#8e819ff5434466e9a823e03871a1775ac7d84ddf for pr-156027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeniscastelo%2Fmu_cipher" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/deniscastelo/mu_cipher
[INFO] finished tweaking git repo https://github.com/deniscastelo/mu_cipher
[INFO] tweaked toml for git repo https://github.com/deniscastelo/mu_cipher written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/deniscastelo/mu_cipher on toolchain 8e819ff5434466e9a823e03871a1775ac7d84ddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/deniscastelo/mu_cipher 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" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 06b1ecf4bfc63addf0d6d1ac62e3a6b3d22f7bae97952e33ffac6f0f56085514
[INFO] running `Command { std: "docker" "start" "-a" "06b1ecf4bfc63addf0d6d1ac62e3a6b3d22f7bae97952e33ffac6f0f56085514", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "06b1ecf4bfc63addf0d6d1ac62e3a6b3d22f7bae97952e33ffac6f0f56085514", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "06b1ecf4bfc63addf0d6d1ac62e3a6b3d22f7bae97952e33ffac6f0f56085514", kill_on_drop: false }`
[INFO] [stdout] 06b1ecf4bfc63addf0d6d1ac62e3a6b3d22f7bae97952e33ffac6f0f56085514
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2fc09d5ee67f159049e6a02f871b11dfb998b1199dcbabcf41d7d119cb277f66
[INFO] running `Command { std: "docker" "start" "-a" "2fc09d5ee67f159049e6a02f871b11dfb998b1199dcbabcf41d7d119cb277f66", kill_on_drop: false }`
[INFO] [stderr]     Checking mu_cipher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:290:31
[INFO] [stdout]     |
[INFO] [stdout] 290 |             a = a.rotate_left(((b & 0x3F) as u32));
[INFO] [stdout]     |                               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 290 -             a = a.rotate_left(((b & 0x3F) as u32));
[INFO] [stdout] 290 +             a = a.rotate_left((b & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:294:31
[INFO] [stdout]     |
[INFO] [stdout] 294 |             b = b.rotate_left(((a & 0x3F) as u32));
[INFO] [stdout]     |                               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 294 -             b = b.rotate_left(((a & 0x3F) as u32));
[INFO] [stdout] 294 +             b = b.rotate_left((a & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:320:32
[INFO] [stdout]     |
[INFO] [stdout] 320 |             b = b.rotate_right(((a & 0x3F) as u32));
[INFO] [stdout]     |                                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 320 -             b = b.rotate_right(((a & 0x3F) as u32));
[INFO] [stdout] 320 +             b = b.rotate_right((a & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:324:32
[INFO] [stdout]     |
[INFO] [stdout] 324 |             a = a.rotate_right(((b & 0x3F) as u32));
[INFO] [stdout]     |                                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 324 -             a = a.rotate_right(((b & 0x3F) as u32));
[INFO] [stdout] 324 +             a = a.rotate_right((b & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:290:31
[INFO] [stdout]     |
[INFO] [stdout] 290 |             a = a.rotate_left(((b & 0x3F) as u32));
[INFO] [stdout]     |                               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 290 -             a = a.rotate_left(((b & 0x3F) as u32));
[INFO] [stdout] 290 +             a = a.rotate_left((b & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:294:31
[INFO] [stdout]     |
[INFO] [stdout] 294 |             b = b.rotate_left(((a & 0x3F) as u32));
[INFO] [stdout]     |                               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 294 -             b = b.rotate_left(((a & 0x3F) as u32));
[INFO] [stdout] 294 +             b = b.rotate_left((a & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:320:32
[INFO] [stdout]     |
[INFO] [stdout] 320 |             b = b.rotate_right(((a & 0x3F) as u32));
[INFO] [stdout]     |                                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 320 -             b = b.rotate_right(((a & 0x3F) as u32));
[INFO] [stdout] 320 +             b = b.rotate_right((a & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:324:32
[INFO] [stdout]     |
[INFO] [stdout] 324 |             a = a.rotate_right(((b & 0x3F) as u32));
[INFO] [stdout]     |                                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 324 -             a = a.rotate_right(((b & 0x3F) as u32));
[INFO] [stdout] 324 +             a = a.rotate_right((b & 0x3F) as u32);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_len`
[INFO] [stdout]   --> src/ciphers/mars_cipher.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let key_len = in_key.len() * 8;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn block_decrypt(&self, in_buf: &[u8], len: usize, out_buf: &mut [u8]) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:96:43
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn block_decrypt(&self, in_buf: &[u8],len: usize, out_buf: &mut [u8]) {
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ciphers/gost_cipher.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         for i in (0..in_buf.len()).step_by(block_size) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_len`
[INFO] [stdout]   --> src/ciphers/mars_cipher.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let key_len = in_key.len() * 8;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:71:44
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn block_decrypt(&self, in_buf: &[u8], len: usize, out_buf: &mut [u8]) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:96:43
[INFO] [stdout]    |
[INFO] [stdout] 96 |     fn block_decrypt(&self, in_buf: &[u8],len: usize, out_buf: &mut [u8]) {
[INFO] [stdout]    |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/ciphers/gost_cipher.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |         for i in (0..in_buf.len()).step_by(block_size) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ICipher` is never used
[INFO] [stdout]   --> src/ciphers/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait ICipher {
[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 `ThreeWayCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/three_way_cipher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ThreeWayCipher {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/three_way_cipher.rs:11:11
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl ThreeWayCipher {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  11 |     const START_E: u32 = 0x0b0b;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout]  12 |     const START_D: u32 = 0xb1b1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout]  13 |     const BLOCK_SIZE: usize = 12;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout]  14 |
[INFO] [stdout]  15 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     fn reverse_bits(a: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn rotate_left(x: u32, n: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     fn rotl_constant(x: u32, r: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     fn theta(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn mu(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |     fn pi_gamma_pi(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn rho(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     fn read_u32_le(buffer: &[u8], offset: usize) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn write_u32_le(buffer: &mut [u8], offset: usize, value: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn decrypt_block(&self, in_block: &[u8], out_block: &mut [u8]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn block_decrypt(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarsCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/mars_cipher.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MarsCipher {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]  --> src/ciphers/mars_cipher.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const S_BOX: [u32; 512] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/mars_cipher.rs:75:15
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl MarsCipher {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  75 |     pub const BLOCK_SIZE: usize = 16;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]  76 |     const ROUNDS: usize = 40;
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  77 |
[INFO] [stdout]  78 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn set_key(&mut self, in_key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn to_u32_little_endian(&self, buffer: &[u8]) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn write_uint32_little_endian(&self, value: u32, buffer: &mut [u8], offset: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn rot_l(&self, x: u32, y: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn rot_r(&self, x: u32, y: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn gen_mask(&self, x: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn f_mix(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn b_mix(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     fn f_ktr(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32, i: usize) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn r_ktr(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32, i: usize) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     fn decrypt_block(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TeaCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/tea_cipher.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TeaCipher {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl TeaCipher {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn encrypt_block(&self, data: &mut [u32; 2]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn decrypt_block(&self, in_buf: &[u32; 2], out_buf: &mut [u32; 2]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_u32_array` is never used
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn bytes_to_u32_array(bytes: &[u8]) -> [u32; 2] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_array_to_bytes` is never used
[INFO] [stdout]    --> src/ciphers/tea_cipher.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn u32_array_to_bytes(block: [u32; 2]) -> [u8; 8] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const BLOCK_SIZE: usize = 8; // 64 bits
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const KEY_SIZE: usize = 32; // 256 bits
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROUNDS` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const ROUNDS: usize = 32;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const S_BOX: [[u8; 16]; 8] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GOSTCipher` is never constructed
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct GOSTCipher {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `s_box_substitution`, `round_function`, `decrypt_block`, and `block_decrypt` are never used
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl GOSTCipher {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(key: &[u8; KEY_SIZE]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn s_box_substitution(&self, value: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn round_function(&self, data: u32, key: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn decrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn block_decrypt(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const BLOCK_SIZE: usize = 8; // 64 bits
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const KEY_SIZE: usize = 16; // 128 bits (tamanho máximo da chave para CAST5)
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROUNDS` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const ROUNDS: usize = 16; // Número de rodadas no CAST5
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cast5Cipher` is never constructed
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cast5Cipher {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:11:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Cast5Cipher {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  11 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  21 |     fn expand_key(&mut self, key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     fn key_schedule(x: &mut [u32], z: &mut [u32], k: &mut [u32]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     fn f1(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn f2(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     fn f3(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     fn round_function(&self, left: u32, right: u32, round: usize) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn encrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn decrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_i` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:288:4
[INFO] [stdout]     |
[INFO] [stdout] 288 | fn get_i(x: &[u32], i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S1` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:292:11
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub const S1: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S2` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:327:11
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub const S2: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S3` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:362:11
[INFO] [stdout]     |
[INFO] [stdout] 362 | pub const S3: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S4` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:397:11
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub const S4: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S5` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:432:11
[INFO] [stdout]     |
[INFO] [stdout] 432 | pub const S5: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S6` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:467:11
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub const S6: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S7` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:502:11
[INFO] [stdout]     |
[INFO] [stdout] 502 | pub const S7: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S8` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:537:11
[INFO] [stdout]     |
[INFO] [stdout] 537 | pub const S8: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IDEACipher` is never constructed
[INFO] [stdout]  --> src/ciphers/idea_cipher.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct IDEACipher {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/idea_cipher.rs:13:12
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl IDEACipher {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  12 |     /// Create a new IDEA cipher with the given 128-bit key
[INFO] [stdout]  13 |     pub fn new(key: &[u8; 16]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  25 |     fn generate_encryption_keys(&mut self, key: &[u8; 16]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn generate_decryption_keys(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn encrypt_block(&self, plaintext: &[u8; 8]) -> [u8; 8] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  96 |     pub fn decrypt_block(&self, ciphertext: &[u8; 8]) -> [u8; 8] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn process_block(&self, input: &[u8; 8], subkeys: &[u16; 52]) -> [u8; 8] {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     fn multiply(&self, a: u16, b: u16) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     fn add(&self, a: u16, b: u16) -> u16 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     fn multiplicative_inverse(&self, a: u16) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     fn additive_inverse(&self, a: u16) -> u16 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     fn extended_gcd(&self, a: i32, b: i32) -> (i32, i32, i32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn encrypt(&self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn decrypt(&self, data: &[u8]) -> Result<Vec<u8>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RC5_32` is never constructed
[INFO] [stdout]   --> src/ciphers/rc5_cipher.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RC5_32 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:17:11
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl RC5_32 {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  16 |     /// Magic constants for RC5-32
[INFO] [stdout]  17 |     const P: u32 = 0xB7E15163; // Odd((e-2)*2^32)
[INFO] [stdout]     |           ^
[INFO] [stdout]  18 |     const Q: u32 = 0x9E3779B9; // Odd((φ-1)*2^32) where φ is golden ratio
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  23 |     pub fn new(rounds: u8, key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  33 |     fn setup_key(&mut self, key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn rotl(value: u32, amount: u32) -> u32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  76 |     fn rotr(value: u32, amount: u32) -> u32 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn encrypt_block(&self, plaintext: &[u8; 8]) -> [u8; 8] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn decrypt_block(&self, ciphertext: &[u8; 8]) -> [u8; 8] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn encrypt(&self, data: &[u8]) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn decrypt(&self, data: &[u8]) -> Result<Vec<u8>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn rounds(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn num_subkeys(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RC5_64` is never constructed
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct RC5_64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `P`, `Q`, `new`, `setup_key`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:220:11
[INFO] [stdout]     |
[INFO] [stdout] 218 | impl RC5_64 {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 219 |     /// Magic constants for RC5-64
[INFO] [stdout] 220 |     const P: u64 = 0xB7E151628AED2A6B; // Odd((e-2)*2^64)
[INFO] [stdout]     |           ^
[INFO] [stdout] 221 |     const Q: u64 = 0x9E3779B97F4A7C15; // Odd((φ-1)*2^64)
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn new(rounds: u8, key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     fn setup_key(&mut self, key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |     pub fn encrypt_block(&self, plaintext: &[u8; 16]) -> [u8; 16] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 306 |     pub fn decrypt_block(&self, ciphertext: &[u8; 16]) -> [u8; 16] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:340:4
[INFO] [stdout]     |
[INFO] [stdout] 340 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `W` and `B` are never used
[INFO] [stdout]   --> src/ciphers/rc6_cipher.rs:8:11
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl RC6Cipher {
[INFO] [stdout]    | -------------- associated constants in this implementation
[INFO] [stdout]  8 |     const W: u32 = 32; // Tamanho da palavra em bits
[INFO] [stdout]    |           ^
[INFO] [stdout]  9 |     const R: usize = 20; // Número de rodadas
[INFO] [stdout] 10 |     const B: usize = 16; // Tamanho da chave em bytes
[INFO] [stdout]    |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ICipher` is never used
[INFO] [stdout]   --> src/ciphers/mod.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait ICipher {
[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 `ThreeWayCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/three_way_cipher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ThreeWayCipher {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/three_way_cipher.rs:11:11
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl ThreeWayCipher {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  11 |     const START_E: u32 = 0x0b0b;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout]  12 |     const START_D: u32 = 0xb1b1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout]  13 |     const BLOCK_SIZE: usize = 12;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout]  14 |
[INFO] [stdout]  15 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  46 |     fn reverse_bits(a: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  53 |     fn rotate_left(x: u32, n: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     fn rotl_constant(x: u32, r: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     fn theta(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  71 |     fn mu(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout]  78 |     fn pi_gamma_pi(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn rho(a0: &mut u32, a1: &mut u32, a2: &mut u32) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     fn read_u32_le(buffer: &[u8], offset: usize) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     fn write_u32_le(buffer: &mut [u8], offset: usize, value: u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn decrypt_block(&self, in_block: &[u8], out_block: &mut [u8]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn block_decrypt(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarsCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/mars_cipher.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct MarsCipher {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]  --> src/ciphers/mars_cipher.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const S_BOX: [u32; 512] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/mars_cipher.rs:75:15
[INFO] [stdout]     |
[INFO] [stdout]  74 | impl MarsCipher {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout]  75 |     pub const BLOCK_SIZE: usize = 16;
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout]  76 |     const ROUNDS: usize = 40;
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  77 |
[INFO] [stdout]  78 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  86 |     fn set_key(&mut self, in_key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     fn to_u32_little_endian(&self, buffer: &[u8]) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn write_uint32_little_endian(&self, value: u32, buffer: &mut [u8], offset: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn rot_l(&self, x: u32, y: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn rot_r(&self, x: u32, y: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn gen_mask(&self, x: u32) -> u32 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     fn f_mix(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     fn b_mix(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     fn f_ktr(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32, i: usize) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn r_ktr(&self, a: &mut u32, b: &mut u32, c: &mut u32, d: &mut u32, i: usize) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |     fn decrypt_block(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TeaCipher` is never constructed
[INFO] [stdout]  --> src/ciphers/tea_cipher.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct TeaCipher {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `encrypt_block`, and `decrypt_block` are never used
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:8:12
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl TeaCipher {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  8 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn encrypt_block(&self, data: &mut [u32; 2]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn decrypt_block(&self, in_buf: &[u32; 2], out_buf: &mut [u32; 2]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_u32_array` is never used
[INFO] [stdout]   --> src/ciphers/tea_cipher.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn bytes_to_u32_array(bytes: &[u8]) -> [u32; 2] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u32_array_to_bytes` is never used
[INFO] [stdout]    --> src/ciphers/tea_cipher.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn u32_array_to_bytes(block: [u32; 2]) -> [u8; 8] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const BLOCK_SIZE: usize = 8; // 64 bits
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const KEY_SIZE: usize = 32; // 256 bits
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROUNDS` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const ROUNDS: usize = 32;
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]  --> src/ciphers/gost_cipher.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const S_BOX: [[u8; 16]; 8] = [
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GOSTCipher` is never constructed
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct GOSTCipher {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `s_box_substitution`, `round_function`, `decrypt_block`, and `block_decrypt` are never used
[INFO] [stdout]   --> src/ciphers/gost_cipher.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl GOSTCipher {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new(key: &[u8; KEY_SIZE]) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn s_box_substitution(&self, value: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn round_function(&self, data: u32, key: u32) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn decrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     pub fn block_decrypt(&self, in_buf: &[u8], out_buf: &mut [u8]) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const BLOCK_SIZE: usize = 8; // 64 bits
[INFO] [stdout]   |       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_SIZE` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | const KEY_SIZE: usize = 16; // 128 bits (tamanho máximo da chave para CAST5)
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROUNDS` is never used
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const ROUNDS: usize = 16; // Número de rodadas no CAST5
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cast5Cipher` is never constructed
[INFO] [stdout]  --> src/ciphers/cast5_cipher.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Cast5Cipher {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:11:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Cast5Cipher {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  11 |     pub fn new(key: &[u8]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  21 |     fn expand_key(&mut self, key: &[u8]) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  44 |     fn key_schedule(x: &mut [u32], z: &mut [u32], k: &mut [u32]) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 214 |     fn f1(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     fn f2(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 229 |     fn f3(&self, d: u32, km: u32, kr: u8) -> u32 {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     fn round_function(&self, left: u32, right: u32, round: usize) -> (u32, u32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 255 |     pub fn encrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn decrypt_block(&self, block: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_i` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:288:4
[INFO] [stdout]     |
[INFO] [stdout] 288 | fn get_i(x: &[u32], i: usize) -> usize {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S1` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:292:11
[INFO] [stdout]     |
[INFO] [stdout] 292 | pub const S1: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S2` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:327:11
[INFO] [stdout]     |
[INFO] [stdout] 327 | pub const S2: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S3` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:362:11
[INFO] [stdout]     |
[INFO] [stdout] 362 | pub const S3: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S4` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:397:11
[INFO] [stdout]     |
[INFO] [stdout] 397 | pub const S4: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S5` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:432:11
[INFO] [stdout]     |
[INFO] [stdout] 432 | pub const S5: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S6` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:467:11
[INFO] [stdout]     |
[INFO] [stdout] 467 | pub const S6: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S7` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:502:11
[INFO] [stdout]     |
[INFO] [stdout] 502 | pub const S7: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S8` is never used
[INFO] [stdout]    --> src/ciphers/cast5_cipher.rs:537:11
[INFO] [stdout]     |
[INFO] [stdout] 537 | pub const S8: [u32; 256] = [
[INFO] [stdout]     |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `rounds` and `num_subkeys` are never used
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:193:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl RC5_32 {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 193 |     pub fn rounds(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     pub fn num_subkeys(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/ciphers/rc5_cipher.rs:340:4
[INFO] [stdout]     |
[INFO] [stdout] 340 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `W` and `B` are never used
[INFO] [stdout]   --> src/ciphers/rc6_cipher.rs:8:11
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl RC6Cipher {
[INFO] [stdout]    | -------------- associated constants in this implementation
[INFO] [stdout]  8 |     const W: u32 = 32; // Tamanho da palavra em bits
[INFO] [stdout]    |           ^
[INFO] [stdout]  9 |     const R: usize = 20; // Número de rodadas
[INFO] [stdout] 10 |     const B: usize = 16; // Tamanho da chave em bytes
[INFO] [stdout]    |           ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "2fc09d5ee67f159049e6a02f871b11dfb998b1199dcbabcf41d7d119cb277f66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2fc09d5ee67f159049e6a02f871b11dfb998b1199dcbabcf41d7d119cb277f66", kill_on_drop: false }`
[INFO] [stdout] 2fc09d5ee67f159049e6a02f871b11dfb998b1199dcbabcf41d7d119cb277f66
