[INFO] cloning repository https://github.com/remigerme/crypto-stuff
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/remigerme/crypto-stuff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigerme%2Fcrypto-stuff", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigerme%2Fcrypto-stuff'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f45a4ccaf0851d6307b078886ae6bc9f5463f73b
[INFO] checking remigerme/crypto-stuff against 79c0559184f27f4433a6fbc260b950d06d4a4889 for pr-162233-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fremigerme%2Fcrypto-stuff" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/remigerme/crypto-stuff
[INFO] finished tweaking git repo https://github.com/remigerme/crypto-stuff
[INFO] tweaked toml for git repo https://github.com/remigerme/crypto-stuff written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/remigerme/crypto-stuff on toolchain 79c0559184f27f4433a6fbc260b950d06d4a4889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/remigerme/crypto-stuff 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" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.138
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f
[INFO] running `Command { std: "docker" "start" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f", 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" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f", 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" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f" "/opt/rustwide/cargo-home/bin/cargo" "+79c0559184f27f4433a6fbc260b950d06d4a4889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crypto-stuff v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec::Vec;
[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: `std::time::Instant`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::vec::Vec`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::vec::Vec;
[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: `std::time::Instant`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Word` is never used
[INFO] [stdout]  --> src/aes/mod.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type Word = [u8; 4];
[INFO] [stdout]   |      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `State` is never used
[INFO] [stdout]  --> src/aes/mod.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type State = [Word; 4];
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `IO` is never used
[INFO] [stdout]   --> src/aes/mod.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type IO = Vec<u8>;
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MasterKey` is never used
[INFO] [stdout]   --> src/aes/mod.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type MasterKey = Vec<Word>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ExpandedKey` is never used
[INFO] [stdout]   --> src/aes/mod.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type ExpandedKey = Vec<Word>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n_rounds` is never used
[INFO] [stdout]   --> src/aes/mod.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn n_rounds(nk: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]   --> src/aes/mod.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const S_BOX: [u8; 256] = [
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INV_S_BOX` is never used
[INFO] [stdout]   --> src/aes/mod.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const INV_S_BOX: [u8; 256] = [
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_CON` is never used
[INFO] [stdout]   --> src/aes/mod.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 | const R_CON: [Word; 11] = [
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `io_to_state` is never used
[INFO] [stdout]   --> src/aes/mod.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn io_to_state(inp: &IO) -> State {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_to_io` is never used
[INFO] [stdout]   --> src/aes/mod.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn state_to_io(s: &State) -> IO {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_word` is never used
[INFO] [stdout]   --> src/aes/mod.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn xor_word(a: &Word, b: &Word) -> Word {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn xor_state(s: &State, t: &State) -> State {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xtime` is never used
[INFO] [stdout]    --> src/aes/mod.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn xtime(b: u8) -> u8 {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cipher_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn cipher_state(s: &mut State, w: &ExpandedKey, nr: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cipher` is never used
[INFO] [stdout]    --> src/aes/mod.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn cipher(plain: &IO, k: &MasterKey) -> IO {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_word` is never used
[INFO] [stdout]    --> src/aes/mod.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn sub_word(a: &Word) -> Word {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_bytes` is never used
[INFO] [stdout]    --> src/aes/mod.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn sub_bytes(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shift_rows` is never used
[INFO] [stdout]    --> src/aes/mod.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn shift_rows(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_columns` is never used
[INFO] [stdout]    --> src/aes/mod.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn mix_columns(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_round_key` is never used
[INFO] [stdout]    --> src/aes/mod.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn add_round_key(s: &mut State, w: &[Word]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rot_word` is never used
[INFO] [stdout]    --> src/aes/mod.rs:240:4
[INFO] [stdout]     |
[INFO] [stdout] 240 | fn rot_word(a: &Word) -> Word {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `key_expansion` is never used
[INFO] [stdout]    --> src/aes/mod.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn key_expansion(nk: usize, k: &MasterKey) -> ExpandedKey {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_cipher_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn inv_cipher_state(s: &mut State, w: &ExpandedKey, nr: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_cipher` is never used
[INFO] [stdout]    --> src/aes/mod.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub fn inv_cipher(ciphertext: &IO, k: &MasterKey) -> IO {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_shift_rows` is never used
[INFO] [stdout]    --> src/aes/mod.rs:311:4
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn inv_shift_rows(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_sub_bytes` is never used
[INFO] [stdout]    --> src/aes/mod.rs:335:4
[INFO] [stdout]     |
[INFO] [stdout] 335 | fn inv_sub_bytes(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_mix_columns` is never used
[INFO] [stdout]    --> src/aes/mod.rs:345:4
[INFO] [stdout]     |
[INFO] [stdout] 345 | fn inv_mix_columns(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_cbc` is never used
[INFO] [stdout]   --> src/aes/cbc.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn encrypt_cbc(plain: &IO, k: &MasterKey, iv: &State) -> IO {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_cbc` is never used
[INFO] [stdout]   --> src/aes/cbc.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn decrypt_cbc(ciphertext: &IO, k: &MasterKey, iv: &State) -> IO {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sha384`, `Sha512_224`, and `Sha512_256` are never constructed
[INFO] [stdout]   --> src/sha_512/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SHAMode {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 15 |     Sha384,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     Sha512,
[INFO] [stdout] 17 |     Sha512_224,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     Sha512_256
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SHAMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Word` is never used
[INFO] [stdout]  --> src/aes/mod.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | type Word = [u8; 4];
[INFO] [stdout]   |      ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `State` is never used
[INFO] [stdout]  --> src/aes/mod.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type State = [Word; 4];
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `IO` is never used
[INFO] [stdout]   --> src/aes/mod.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type IO = Vec<u8>;
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MasterKey` is never used
[INFO] [stdout]   --> src/aes/mod.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | type MasterKey = Vec<Word>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `ExpandedKey` is never used
[INFO] [stdout]   --> src/aes/mod.rs:12:6
[INFO] [stdout]    |
[INFO] [stdout] 12 | type ExpandedKey = Vec<Word>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `n_rounds` is never used
[INFO] [stdout]   --> src/aes/mod.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn n_rounds(nk: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `S_BOX` is never used
[INFO] [stdout]   --> src/aes/mod.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const S_BOX: [u8; 256] = [
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INV_S_BOX` is never used
[INFO] [stdout]   --> src/aes/mod.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const INV_S_BOX: [u8; 256] = [
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `R_CON` is never used
[INFO] [stdout]   --> src/aes/mod.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 | const R_CON: [Word; 11] = [
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `io_to_state` is never used
[INFO] [stdout]   --> src/aes/mod.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn io_to_state(inp: &IO) -> State {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `state_to_io` is never used
[INFO] [stdout]   --> src/aes/mod.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn state_to_io(s: &State) -> IO {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_word` is never used
[INFO] [stdout]   --> src/aes/mod.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn xor_word(a: &Word, b: &Word) -> Word {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn xor_state(s: &State, t: &State) -> State {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xtime` is never used
[INFO] [stdout]    --> src/aes/mod.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn xtime(b: u8) -> u8 {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cipher_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn cipher_state(s: &mut State, w: &ExpandedKey, nr: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cipher` is never used
[INFO] [stdout]    --> src/aes/mod.rs:144:8
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub fn cipher(plain: &IO, k: &MasterKey) -> IO {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_word` is never used
[INFO] [stdout]    --> src/aes/mod.rs:172:4
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn sub_word(a: &Word) -> Word {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_bytes` is never used
[INFO] [stdout]    --> src/aes/mod.rs:181:4
[INFO] [stdout]     |
[INFO] [stdout] 181 | fn sub_bytes(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shift_rows` is never used
[INFO] [stdout]    --> src/aes/mod.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn shift_rows(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mix_columns` is never used
[INFO] [stdout]    --> src/aes/mod.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn mix_columns(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_round_key` is never used
[INFO] [stdout]    --> src/aes/mod.rs:230:4
[INFO] [stdout]     |
[INFO] [stdout] 230 | fn add_round_key(s: &mut State, w: &[Word]) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rot_word` is never used
[INFO] [stdout]    --> src/aes/mod.rs:240:4
[INFO] [stdout]     |
[INFO] [stdout] 240 | fn rot_word(a: &Word) -> Word {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `key_expansion` is never used
[INFO] [stdout]    --> src/aes/mod.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn key_expansion(nk: usize, k: &MasterKey) -> ExpandedKey {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_cipher_state` is never used
[INFO] [stdout]    --> src/aes/mod.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn inv_cipher_state(s: &mut State, w: &ExpandedKey, nr: usize) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_cipher` is never used
[INFO] [stdout]    --> src/aes/mod.rs:280:8
[INFO] [stdout]     |
[INFO] [stdout] 280 | pub fn inv_cipher(ciphertext: &IO, k: &MasterKey) -> IO {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_shift_rows` is never used
[INFO] [stdout]    --> src/aes/mod.rs:311:4
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn inv_shift_rows(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_sub_bytes` is never used
[INFO] [stdout]    --> src/aes/mod.rs:335:4
[INFO] [stdout]     |
[INFO] [stdout] 335 | fn inv_sub_bytes(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inv_mix_columns` is never used
[INFO] [stdout]    --> src/aes/mod.rs:345:4
[INFO] [stdout]     |
[INFO] [stdout] 345 | fn inv_mix_columns(s: &mut State) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_cbc` is never used
[INFO] [stdout]   --> src/aes/cbc.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn encrypt_cbc(plain: &IO, k: &MasterKey, iv: &State) -> IO {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_cbc` is never used
[INFO] [stdout]   --> src/aes/cbc.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn decrypt_cbc(ciphertext: &IO, k: &MasterKey, iv: &State) -> IO {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sha384`, `Sha512_224`, and `Sha512_256` are never constructed
[INFO] [stdout]   --> src/sha_512/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub enum SHAMode {
[INFO] [stdout]    |          ------- variants in this enum
[INFO] [stdout] 15 |     Sha384,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 16 |     Sha512,
[INFO] [stdout] 17 |     Sha512_224,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 18 |     Sha512_256
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SHAMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.43s
[INFO] running `Command { std: "docker" "inspect" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f", kill_on_drop: false }`
[INFO] [stdout] a49a750f0b8651a1c598ea8b0fe5f3e889b5b86a15d664ec6c0f1b1d7d323c6f
