[INFO] cloning repository https://github.com/pba5-remote-group-1/aes-modes-activity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pba5-remote-group-1/aes-modes-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpba5-remote-group-1%2Faes-modes-activity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpba5-remote-group-1%2Faes-modes-activity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edb3e9605d458381f81f72d0b8021922b7ac37f2 [INFO] checking pba5-remote-group-1/aes-modes-activity against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpba5-remote-group-1%2Faes-modes-activity" "/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/pba5-remote-group-1/aes-modes-activity [INFO] finished tweaking git repo https://github.com/pba5-remote-group-1/aes-modes-activity [INFO] tweaked toml for git repo https://github.com/pba5-remote-group-1/aes-modes-activity written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pba5-remote-group-1/aes-modes-activity on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pba5-remote-group-1/aes-modes-activity 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking pba5-remote-group-1/aes-modes-activity against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpba5-remote-group-1%2Faes-modes-activity" "/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/pba5-remote-group-1/aes-modes-activity [INFO] finished tweaking git repo https://github.com/pba5-remote-group-1/aes-modes-activity [INFO] tweaked toml for git repo https://github.com/pba5-remote-group-1/aes-modes-activity written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pba5-remote-group-1/aes-modes-activity on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pba5-remote-group-1/aes-modes-activity 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b76a07c5f23c985f70743c27cd42b2a756f464825c1fe978119381afa76f748 [INFO] running `Command { std: "docker" "start" "-a" "8b76a07c5f23c985f70743c27cd42b2a756f464825c1fe978119381afa76f748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b76a07c5f23c985f70743c27cd42b2a756f464825c1fe978119381afa76f748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b76a07c5f23c985f70743c27cd42b2a756f464825c1fe978119381afa76f748", kill_on_drop: false }` [INFO] [stdout] 8b76a07c5f23c985f70743c27cd42b2a756f464825c1fe978119381afa76f748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f93c149d7064898821ab672f3557d041cd79fb79b726183a850e958038aeea00 [INFO] running `Command { std: "docker" "start" "-a" "f93c149d7064898821ab672f3557d041cd79fb79b726183a850e958038aeea00", kill_on_drop: false }` [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking aes-modes-activity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/main.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockCipher` [INFO] [stdout] --> src/main.rs:15:43 [INFO] [stdout] | [INFO] [stdout] 15 | cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit}, [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: `blocks` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn un_group(blocks: Vec<[u8; BLOCK_SIZE]>) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | fn un_pad(data: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_SIZE` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BLOCK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_encrypt` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn aes_encrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn aes_decrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> src/main.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn un_group(blocks: Vec<[u8; BLOCK_SIZE]>) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad` is never used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn pad(mut data: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn group(data: Vec) -> Vec<[u8; BLOCK_SIZE]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `un_group` is never used [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn un_group(blocks: Vec<[u8; BLOCK_SIZE]>) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `un_pad` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn un_pad(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_encrypt` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | fn un_pad(data: Vec) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_decrypt` is never used [INFO] [stdout] --> src/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_encrypt` is never used [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_decrypt` is never used [INFO] [stdout] --> src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_encrypt` is never used [INFO] [stdout] --> src/main.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_decrypt` is never used [INFO] [stdout] --> src/main.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:134:37 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:140:38 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plain_text` [INFO] [stdout] --> src/main.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher_text` [INFO] [stdout] --> src/main.rs:165:16 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_SIZE` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const BLOCK_SIZE: usize = 16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_encrypt` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn aes_encrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aes_decrypt` is never used [INFO] [stdout] --> src/main.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn aes_decrypt(data: [u8; BLOCK_SIZE], key: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad` is never used [INFO] [stdout] --> src/main.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn pad(mut data: Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/main.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn group(data: Vec) -> Vec<[u8; BLOCK_SIZE]> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `un_group` is never used [INFO] [stdout] --> src/main.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn un_group(blocks: Vec<[u8; BLOCK_SIZE]>) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `un_pad` is never used [INFO] [stdout] --> src/main.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn un_pad(data: Vec) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_encrypt` is never used [INFO] [stdout] --> src/main.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn ecb_encrypt(plain_text: Vec, key: [u8; 16]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ecb_decrypt` is never used [INFO] [stdout] --> src/main.rs:118:4 [INFO] [stdout] | [INFO] [stdout] 118 | fn ecb_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_encrypt` is never used [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cbc_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cbc_decrypt` is never used [INFO] [stdout] --> src/main.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn cbc_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_encrypt` is never used [INFO] [stdout] --> src/main.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn ctr_encrypt(plain_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ctr_decrypt` is never used [INFO] [stdout] --> src/main.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn ctr_decrypt(cipher_text: Vec, key: [u8; BLOCK_SIZE]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "f93c149d7064898821ab672f3557d041cd79fb79b726183a850e958038aeea00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93c149d7064898821ab672f3557d041cd79fb79b726183a850e958038aeea00", kill_on_drop: false }` [INFO] [stdout] f93c149d7064898821ab672f3557d041cd79fb79b726183a850e958038aeea00