[INFO] cloning repository https://github.com/josepot/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/josepot/aes-modes-activity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosepot%2Faes-modes-activity", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosepot%2Faes-modes-activity'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] deb6e31853728ac3fe53b2c281c285a50a698692
[INFO] testing josepot/aes-modes-activity against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosepot%2Faes-modes-activity" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/josepot/aes-modes-activity
[INFO] finished tweaking git repo https://github.com/josepot/aes-modes-activity
[INFO] tweaked toml for git repo https://github.com/josepot/aes-modes-activity written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/josepot/aes-modes-activity on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/josepot/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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609
[INFO] running `Command { std: "docker" "start" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", 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" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling cipher v0.4.3
[INFO] [stderr]    Compiling aes v0.8.1
[INFO] [stderr]    Compiling aes-modes 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: constant `BLOCK_SIZE` is never used
[INFO] [stdout]   --> src/main.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | 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:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | 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:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | 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:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | 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/main.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | 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/main.rs:98:4
[INFO] [stdout]    |
[INFO] [stdout] 98 | 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/main.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | 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/main.rs:117:4
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn ecb_encrypt(plain_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ecb_decrypt` is never used
[INFO] [stdout]    --> src/main.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | 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/main.rs:148:4
[INFO] [stdout]     |
[INFO] [stdout] 148 | fn cbc_encrypt(plain_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cbc_decrypt` is never used
[INFO] [stdout]    --> src/main.rs:170:4
[INFO] [stdout]     |
[INFO] [stdout] 170 | 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/main.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 207 | 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/main.rs:217:4
[INFO] [stdout]     |
[INFO] [stdout] 217 | fn ctr_decrypt(cipher_text: Vec<u8>, key: [u8; BLOCK_SIZE]) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ctr_transform` is never used
[INFO] [stdout]    --> src/main.rs:223:4
[INFO] [stdout]     |
[INFO] [stdout] 223 | fn ctr_transform(data: Vec<u8>, key: [u8; BLOCK_SIZE], nonce: u64) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.83s
[INFO] running `Command { std: "docker" "inspect" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling aes-modes 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] [stderr]     Finished `release` profile [optimized] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `BlockCipher`
[INFO] [stderr]   --> src/main.rs:15:43
[INFO] [stderr]    |
[INFO] [stderr] 15 |     cipher::{generic_array::GenericArray, BlockCipher, BlockDecrypt, BlockEncrypt, KeyInit},
[INFO] [stderr]    |                                           ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `aes-modes` (bin "aes-modes" test) generated 1 warning (run `cargo fix --bin "aes-modes" -p aes-modes --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/aes_modes-b85b4127747eed4d)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::test_cbc_encrypt_decrypt ... ok
[INFO] [stdout] test tests::test_ctr_encrypt_decrypt ... ok
[INFO] [stdout] test tests::test_ecb_encrypt_decrypt ... ok
[INFO] [stdout] test tests::test_unpadding ... ok
[INFO] [stdout] test tests::test_ungrouping ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609", kill_on_drop: false }`
[INFO] [stdout] 6c36ce05c04ea700e357e692b678b219a67184fba979a2fe1d169c046bdf6609
