[INFO] cloning repository https://github.com/y0sif/computer_security_tasks_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y0sif/computer_security_tasks_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 950b10817e795a587099498e5f5f022bf5c88800
[INFO] testing y0sif/computer_security_tasks_rust against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] finished tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] tweaked toml for git repo https://github.com/y0sif/computer_security_tasks_rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/y0sif/computer_security_tasks_rust on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/y0sif/computer_security_tasks_rust 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c73b2bc3bdd1257c7ee31f87353cb5211f2ba45b4f8c330d7a03177ad6957aea
[INFO] running `Command { std: "docker" "start" "-a" "c73b2bc3bdd1257c7ee31f87353cb5211f2ba45b4f8c330d7a03177ad6957aea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c73b2bc3bdd1257c7ee31f87353cb5211f2ba45b4f8c330d7a03177ad6957aea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c73b2bc3bdd1257c7ee31f87353cb5211f2ba45b4f8c330d7a03177ad6957aea", kill_on_drop: false }`
[INFO] [stdout] c73b2bc3bdd1257c7ee31f87353cb5211f2ba45b4f8c330d7a03177ad6957aea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6bd05f67f6dfb627c026c596ddf92f1cec0a9979d4150f7c7fa8877f4a4b9f6d
[INFO] running `Command { std: "docker" "start" "-a" "6bd05f67f6dfb627c026c596ddf92f1cec0a9979d4150f7c7fa8877f4a4b9f6d", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stderr]    Compiling linked_hash_set v0.1.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[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 variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.73s
[INFO] running `Command { std: "docker" "inspect" "6bd05f67f6dfb627c026c596ddf92f1cec0a9979d4150f7c7fa8877f4a4b9f6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bd05f67f6dfb627c026c596ddf92f1cec0a9979d4150f7c7fa8877f4a4b9f6d", kill_on_drop: false }`
[INFO] [stdout] 6bd05f67f6dfb627c026c596ddf92f1cec0a9979d4150f7c7fa8877f4a4b9f6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b2f155fca1f89cea095177a4f45fd96ef7ec8c7429271e15579828cd059fec9f
[INFO] running `Command { std: "docker" "start" "-a" "b2f155fca1f89cea095177a4f45fd96ef7ec8c7429271e15579828cd059fec9f", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[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 variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[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 variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s
[INFO] running `Command { std: "docker" "inspect" "b2f155fca1f89cea095177a4f45fd96ef7ec8c7429271e15579828cd059fec9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2f155fca1f89cea095177a4f45fd96ef7ec8c7429271e15579828cd059fec9f", kill_on_drop: false }`
[INFO] [stdout] b2f155fca1f89cea095177a4f45fd96ef7ec8c7429271e15579828cd059fec9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 99e6014eb935d6b897671f4a91dc0cc7c98c70ddf50516172f19dfb5576e626b
[INFO] running `Command { std: "docker" "start" "-a" "99e6014eb935d6b897671f4a91dc0cc7c98c70ddf50516172f19dfb5576e626b", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c1`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c2`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xa`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xb`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_3` (lib) generated 21 warnings (run `cargo fix --lib -p security_task_3` to apply 21 suggestions)
[INFO] [stderr] warning: `security_task_3` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let key = key.to_uppercase();
[INFO] [stderr]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let key = key.to_uppercase();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `encryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     for c in plaintext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `decryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     for c in ciphertext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_char`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stderr]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stderr]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stderr]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `text`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]  --> security_task_2/src/des.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::str::FromStr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `binary`
[INFO] [stderr]    --> security_task_2/src/des.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stderr]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:201:13
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key_bin`
[INFO] [stderr]    --> security_task_2/src/des.rs:200:33
[INFO] [stderr]     |
[INFO] [stderr] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stderr]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |         for i in 0..16 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:23
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sub_key`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:32
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `substituted`
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:222:13
[INFO] [stderr]     |
[INFO] [stderr] 222 |         for i in 0..8 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plain_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> security_task_2/src/des.rs:14:11
[INFO] [stderr]     |
[INFO] [stderr]   6 | impl DES {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr]  73 |
[INFO] [stderr]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stderr]     |           ^^^
[INFO] [stderr]  75 |
[INFO] [stderr]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stderr]     |           ^^^
[INFO] [stderr] ...
[INFO] [stderr] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_1` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_1` to apply 13 suggestions)
[INFO] [stderr] warning: `security_task_2` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_2` to apply 12 suggestions)
[INFO] [stderr] warning: `security_task_2` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stdout] 
[INFO] [stderr] warning: `security_task_1` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stdout] running 0 tests
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/security_task_1-394ee0b0bab2b6e2)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/security_task_1-b97c4f3f8daf6928)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/monoalphabetic_cipher_test.rs (/opt/rustwide/target/debug/deps/monoalphabetic_cipher_test-447db67f2208eb62)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_decryption ... FAILED
[INFO] [stdout] test tests::test_encryption ... FAILED
[INFO] [stdout] test tests::test_find_key ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_decryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_decryption' (27) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:25:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "HELLO WORLD"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57dff3551492 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57dff3551492 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57dff356789a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57dff356789a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x57dff3556296 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57dff3556296 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57dff352fc2f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57dff352fc2f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57dff3549779 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57dff32693de - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57dff32693de - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57dff3549932 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57dff3549932 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57dff352fce8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57dff3524f69 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57dff3530b3d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57dff356805c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57dff3567f13 - core[27de1724e4349be2]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x57dff3259862 - core[27de1724e4349be2]::panicking::assert_failed::<alloc[a57f19327c0ad893]::string::String, alloc[a57f19327c0ad893]::string::String>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x57dff325c8ed - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_decryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:25:9
[INFO] [stdout]   22:     0x57dff325a627 - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_decryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:19:25
[INFO] [stdout]   23:     0x57dff325d696 - <monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_decryption::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x57dff325d78b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57dff325d78b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x57dff3269fea - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x57dff3269fea - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x57dff3265594 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x57dff3265594 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x57dff326cae2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x57dff326cae2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x57dff326cae2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x57dff3550d3f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x57dff3550d3f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7e8757340aa4 - <unknown>
[INFO] [stdout]   45:     0x7e87573cda64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_encryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_encryption' (28) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:15:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "ITSSG VGKSR"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57dff3551492 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57dff3551492 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57dff356789a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57dff356789a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x57dff3556296 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57dff3556296 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57dff352fc2f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57dff352fc2f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57dff3549779 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57dff32693de - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57dff32693de - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57dff3549932 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57dff3549932 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57dff352fce8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x57dff3524f69 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57dff3530b3d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57dff356805c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57dff3567f13 - core[27de1724e4349be2]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x57dff3259862 - core[27de1724e4349be2]::panicking::assert_failed::<alloc[a57f19327c0ad893]::string::String, alloc[a57f19327c0ad893]::string::String>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x57dff325cadd - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_encryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:15:9
[INFO] [stdout]   22:     0x57dff325a657 - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_encryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:9:25
[INFO] [stdout]   23:     0x57dff325d6d6 - <monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_encryption::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x57dff325d78b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x57dff325d78b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x57dff3269fea - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x57dff3269fea - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x57dff3265594 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x57dff3265594 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x57dff326cae2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x57dff326cae2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x57dff326cae2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x57dff3550d3f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x57dff3550d3f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7e8757340aa4 - <unknown>
[INFO] [stdout]   45:     0x7e87573cda64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_find_key stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_find_key' (29) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:37:9:
[INFO] [stdout] Key does not match expected pattern.
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57dff3551492 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57dff3551492 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57dff3551492 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57dff356789a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57dff356789a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x57dff3556296 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x57dff3556296 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x57dff352fc2f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57dff352fc2f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57dff3549779 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57dff32693de - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x57dff32693de - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x57dff3549932 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x57dff3549932 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x57dff352fd1a - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x57dff3524f69 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57dff3530b3d - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x57dff356805c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57dff325c6ed - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_find_key
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:37:9
[INFO] [stdout]   20:     0x57dff325a5f7 - monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_find_key::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:29:23
[INFO] [stdout]   21:     0x57dff325d656 - <monoalphabetic_cipher_test[aa61ac7b82c68805]::tests::test_find_key::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x57dff325d78b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x57dff325d78b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   24:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   25:     0x57dff3269fea - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   26:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x57dff3269fea - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x57dff3269fea - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   30:     0x57dff3269fea - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   31:     0x57dff3265594 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   32:     0x57dff3265594 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   34:     0x57dff326cae2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   35:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x57dff326cae2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x57dff326cae2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x57dff326cae2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   39:     0x57dff326cae2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x57dff3550d3f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   41:     0x57dff3550d3f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   42:     0x7e8757340aa4 - <unknown>
[INFO] [stdout]   43:     0x7e87573cda64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_decryption
[INFO] [stdout]     tests::test_encryption
[INFO] [stdout]     tests::test_find_key
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p security_task_1 --test monoalphabetic_cipher_test`
[INFO] running `Command { std: "docker" "inspect" "99e6014eb935d6b897671f4a91dc0cc7c98c70ddf50516172f19dfb5576e626b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99e6014eb935d6b897671f4a91dc0cc7c98c70ddf50516172f19dfb5576e626b", kill_on_drop: false }`
[INFO] [stdout] 99e6014eb935d6b897671f4a91dc0cc7c98c70ddf50516172f19dfb5576e626b
