[INFO] cloning repository https://github.com/GiorgosMarga/cryptopals_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GiorgosMarga/cryptopals_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgosMarga%2Fcryptopals_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgosMarga%2Fcryptopals_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b23f98b370fae475456d922183821e0275c9f449
[INFO] checking GiorgosMarga/cryptopals_rust against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGiorgosMarga%2Fcryptopals_rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GiorgosMarga/cryptopals_rust
[INFO] finished tweaking git repo https://github.com/GiorgosMarga/cryptopals_rust
[INFO] tweaked toml for git repo https://github.com/GiorgosMarga/cryptopals_rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GiorgosMarga/cryptopals_rust on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GiorgosMarga/cryptopals_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" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6bbcbddb1df5ab1d699e9c88c43561fe33941efcd1ef0481631a40c3c6e49b47
[INFO] running `Command { std: "docker" "start" "-a" "6bbcbddb1df5ab1d699e9c88c43561fe33941efcd1ef0481631a40c3c6e49b47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6bbcbddb1df5ab1d699e9c88c43561fe33941efcd1ef0481631a40c3c6e49b47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6bbcbddb1df5ab1d699e9c88c43561fe33941efcd1ef0481631a40c3c6e49b47", kill_on_drop: false }`
[INFO] [stdout] 6bbcbddb1df5ab1d699e9c88c43561fe33941efcd1ef0481631a40c3c6e49b47
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dae4fb2e43ae428269c21c9101584bdd7280249b9b34466b6733145b111975c
[INFO] running `Command { std: "docker" "start" "-a" "6dae4fb2e43ae428269c21c9101584bdd7280249b9b34466b6733145b111975c", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]     Checking block-padding v0.2.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling generic-array v0.14.7
[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 cipher v0.3.0
[INFO] [stderr]     Checking block-padding v0.3.3
[INFO] [stderr]     Checking block-modes v0.8.1
[INFO] [stderr]     Checking aes v0.7.5
[INFO] [stderr]     Checking cryptopals_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hex_encode`
[INFO] [stdout]    --> src/set2.rs:291:65
[INFO] [stdout]     |
[INFO] [stdout] 291 |     use set1::{base64_decode, decrypt_aes_ecb, encrypt_aes_ecb, hex_encode, vec_to_str};
[INFO] [stdout]     |                                                                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/set2.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn generate_random_bytes(count: usize) -> Vec<u8> {
[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 `encryption_oracle` is never used
[INFO] [stdout]   --> src/set2.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn encryption_oracle(msg: &Vec<u8>) -> (Vec<u8>, bool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_ecb` is never used
[INFO] [stdout]    --> src/set2.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn is_ecb(block_size: usize) -> bool {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `repeating_xor_encryption` is never used
[INFO] [stdout]    --> src/set1.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn repeating_xor_encryption(msg: &Vec<u8>, key: &Vec<u8>) -> Vec<u8> {
[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 `hamming_dist` is never used
[INFO] [stdout]    --> src/set1.rs:139:4
[INFO] [stdout]     |
[INFO] [stdout] 139 | fn hamming_dist(b1: &Vec<u8>, b2: &Vec<u8>) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `into_blocks` is never used
[INFO] [stdout]    --> src/set1.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn into_blocks(encrypted: &Vec<u8>, key_size: usize) -> Vec<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `transpose` is never used
[INFO] [stdout]    --> src/set1.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn transpose(blocks: &Vec<Vec<u8>>) -> Vec<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_key_size` is never used
[INFO] [stdout]    --> src/set1.rs:165:4
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn find_key_size(encrypted: &Vec<u8>, num_of_keys: usize) -> Vec<(f32, usize)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `break_repeating_xor` is never used
[INFO] [stdout]    --> src/set1.rs:184:4
[INFO] [stdout]     |
[INFO] [stdout] 184 | fn break_repeating_xor(encrypted: &Vec<u8>) -> (Vec<u8>, Vec<u8>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CH12_PLAINTEXT` is never used
[INFO] [stdout]  --> src/set2.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const CH12_PLAINTEXT: &str = "Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkgaGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGF...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CH12_KEY` is never used
[INFO] [stdout]  --> src/set2.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const CH12_KEY: &str = "YELLOW SUBMARINE";
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IV` is never used
[INFO] [stdout]  --> src/set2.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const IV: &str = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
[INFO] [stdout]   |       ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_128_cbc_encryption` is never used
[INFO] [stdout]   --> src/set2.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn aes_128_cbc_encryption(data: Vec<u8>, key: &Vec<u8>, iv: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aes_128_cbc_decrypt` is never used
[INFO] [stdout]   --> src/set2.rs:55:4
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn aes_128_cbc_decrypt(data: Vec<u8>, key: &Vec<u8>, iv: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/set2.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn generate_random_bytes(count: usize) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encryption_oracle` is never used
[INFO] [stdout]   --> src/set2.rs:90:4
[INFO] [stdout]    |
[INFO] [stdout] 90 | fn encryption_oracle(msg: &Vec<u8>) -> (Vec<u8>, bool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch12_encryption_oracle` is never used
[INFO] [stdout]    --> src/set2.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn ch12_encryption_oracle(msg: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_block_size` is never used
[INFO] [stdout]    --> src/set2.rs:122:4
[INFO] [stdout]     |
[INFO] [stdout] 122 | fn find_block_size() -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_ecb` is never used
[INFO] [stdout]    --> src/set2.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn is_ecb(block_size: usize) -> bool {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ch12_decrypt_ecb` is never used
[INFO] [stdout]    --> src/set2.rs:141:4
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn ch12_decrypt_ecb() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parser` is never used
[INFO] [stdout]    --> src/set2.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn parser(cookie: &str) -> HashMap<&str, &str> {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `object_encoder` is never used
[INFO] [stdout]    --> src/set2.rs:180:4
[INFO] [stdout]     |
[INFO] [stdout] 180 | fn object_encoder(email: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_fake_email` is never used
[INFO] [stdout]    --> src/set2.rs:190:4
[INFO] [stdout]     |
[INFO] [stdout] 190 | fn create_fake_email() -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_pkcs7_padding` is never used
[INFO] [stdout]    --> src/set2.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn validate_pkcs7_padding(block: &Vec<u8>) -> Option<Vec<u8>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `url_encode` is never used
[INFO] [stdout]    --> src/set2.rs:229:4
[INFO] [stdout]     |
[INFO] [stdout] 229 | fn url_encode(vec: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rjust` is never used
[INFO] [stdout]    --> src/set2.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn rjust(vec: Vec<u8>, width: usize, pad: u8) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ljust` is never used
[INFO] [stdout]    --> src/set2.rs:254:4
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn ljust(vec: Vec<u8>, width: usize, pad: u8) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `wrapper` is never used
[INFO] [stdout]    --> src/set2.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn wrapper(input: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_admin` is never used
[INFO] [stdout]    --> src/set2.rs:272:4
[INFO] [stdout]     |
[INFO] [stdout] 272 | fn check_admin(encrypted_msg: Vec<u8>) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bitflip_attack` is never used
[INFO] [stdout]    --> src/set2.rs:279:4
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn bitflip_attack() -> Vec<u8> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.89s
[INFO] running `Command { std: "docker" "inspect" "6dae4fb2e43ae428269c21c9101584bdd7280249b9b34466b6733145b111975c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dae4fb2e43ae428269c21c9101584bdd7280249b9b34466b6733145b111975c", kill_on_drop: false }`
[INFO] [stdout] 6dae4fb2e43ae428269c21c9101584bdd7280249b9b34466b6733145b111975c
