[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] checking y0sif/computer_security_tasks_rust against e3d12f3322cb00126b2208c6b9df3ac4467951f5 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/y0sif/computer_security_tasks_rust on toolchain e3d12f3322cb00126b2208c6b9df3ac4467951f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "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" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "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] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae
[INFO] running `Command { std: "docker" "start" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae" "/opt/rustwide/cargo-home/bin/cargo" "+e3d12f3322cb00126b2208c6b9df3ac4467951f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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]     Checking security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stderr]     Checking linked_hash_set v0.1.5
[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: `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]     Checking 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: `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: `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: `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: `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: `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: `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: `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: `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: `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: `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 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]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking 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: 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: 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] [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 `dev` profile [unoptimized + debuginfo] target(s) in 2.86s
[INFO] running `Command { std: "docker" "inspect" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae", kill_on_drop: false }`
[INFO] [stdout] 0885516f21517d1d9b8c8cbdb95257b3e3dc76a7c8de373cec68c00752329fae
