[INFO] cloning repository https://github.com/gangov/aes-model-activity
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gangov/aes-model-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Faes-model-activity", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Faes-model-activity'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9135476a630dfdad5d3ab401d9f92aef4cef1f6e
[INFO] checking gangov/aes-model-activity against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangov%2Faes-model-activity" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gangov/aes-model-activity
[INFO] finished tweaking git repo https://github.com/gangov/aes-model-activity
[INFO] tweaked toml for git repo https://github.com/gangov/aes-model-activity written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gangov/aes-model-activity on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gangov/aes-model-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8048831d7a331d22f098ed788beeb010b3dca101dca69c1977428b85a8cb9e95
[INFO] running `Command { std: "docker" "start" "-a" "8048831d7a331d22f098ed788beeb010b3dca101dca69c1977428b85a8cb9e95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8048831d7a331d22f098ed788beeb010b3dca101dca69c1977428b85a8cb9e95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8048831d7a331d22f098ed788beeb010b3dca101dca69c1977428b85a8cb9e95", kill_on_drop: false }`
[INFO] [stdout] 8048831d7a331d22f098ed788beeb010b3dca101dca69c1977428b85a8cb9e95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 835cef91966af1c49b15864a1478f817b06d2193e066ffc870a7027186879074
[INFO] running `Command { std: "docker" "start" "-a" "835cef91966af1c49b15864a1478f817b06d2193e066ffc870a7027186879074", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]     Checking getrandom v0.2.15
[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 aes-modes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BlockCipher`
[INFO] [stdout]   --> src/lib.rs:15:41
[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: `result`
[INFO] [stdout]   --> src/lib.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::{result, usize};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BlockCipher`
[INFO] [stdout]   --> src/lib.rs:15:41
[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: `result`
[INFO] [stdout]   --> src/lib.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::{result, usize};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/lib.rs:329:25
[INFO] [stdout]     |
[INFO] [stdout] 329 |     let data: Vec<u8> = [8u8; BLOCK_SIZE].try_into().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/lib.rs:340:25
[INFO] [stdout]     |
[INFO] [stdout] 340 |     let data: Vec<u8> = [8u8; BLOCK_SIZE + 6].try_into().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/lib.rs:362:25
[INFO] [stdout]     |
[INFO] [stdout] 362 |     let data: Vec<u8> = [8u8; BLOCK_SIZE].try_into().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/lib.rs:394:25
[INFO] [stdout]     |
[INFO] [stdout] 394 |     let data: Vec<u8> = [8u8; BLOCK_SIZE].try_into().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Vec<u8>, Infallible>
[INFO] [stdout]    --> src/lib.rs:405:25
[INFO] [stdout]     |
[INFO] [stdout] 405 |     let data: Vec<u8> = [8u8; 100].try_into().unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLOCK_SIZE` is never used
[INFO] [stdout]   --> src/lib.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | 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 `main` is never used
[INFO] [stdout]   --> src/lib.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_encrypt` is never used
[INFO] [stdout]   --> src/lib.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | 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/lib.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | 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/lib.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn pad(mut data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `group` is never used
[INFO] [stdout]   --> src/lib.rs:84:4
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn group(data: Vec<u8>) -> Vec<[u8; BLOCK_SIZE]> {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `un_group` is never used
[INFO] [stdout]   --> src/lib.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn un_group(blocks: Vec<[u8; BLOCK_SIZE]>) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `un_pad` is never used
[INFO] [stdout]    --> src/lib.rs:110:4
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn un_pad(data: Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ecb_encrypt` is never used
[INFO] [stdout]    --> src/lib.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn ecb_encrypt(plain_text: Vec<u8>, key: [u8; 16]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ecb_decrypt` is never used
[INFO] [stdout]    --> src/lib.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn ecb_decrypt(cipher_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cbc_encrypt` is never used
[INFO] [stdout]    --> src/lib.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn cbc_encrypt(plain_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor` is never used
[INFO] [stdout]    --> src/lib.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn xor(v1: &[u8; BLOCK_SIZE], v2: &[u8; BLOCK_SIZE]) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]    --> src/lib.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn generate_random_bytes() -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_nonce` is never used
[INFO] [stdout]    --> src/lib.rs:211:4
[INFO] [stdout]     |
[INFO] [stdout] 211 | fn generate_nonce() -> [u8; 8] {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_iv` is never used
[INFO] [stdout]    --> src/lib.rs:224:4
[INFO] [stdout]     |
[INFO] [stdout] 224 | fn calculate_iv(nonce: [u8; 8], counter: u64) -> [u8; BLOCK_SIZE] {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cbc_decrypt` is never used
[INFO] [stdout]    --> src/lib.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn cbc_decrypt(cipher_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ctr_encrypt` is never used
[INFO] [stdout]    --> src/lib.rs:268:4
[INFO] [stdout]     |
[INFO] [stdout] 268 | fn ctr_encrypt(plain_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ctr_decrypt` is never used
[INFO] [stdout]    --> src/lib.rs:294:4
[INFO] [stdout]     |
[INFO] [stdout] 294 | fn ctr_decrypt(cipher_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `aes-modes` (lib test) due to 5 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "835cef91966af1c49b15864a1478f817b06d2193e066ffc870a7027186879074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "835cef91966af1c49b15864a1478f817b06d2193e066ffc870a7027186879074", kill_on_drop: false }`
[INFO] [stdout] 835cef91966af1c49b15864a1478f817b06d2193e066ffc870a7027186879074
