[INFO] cloning repository https://github.com/Benjscho/cryptopals
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Benjscho/cryptopals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjscho%2Fcryptopals", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjscho%2Fcryptopals'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7ee6f8b73fc0eebd23f9c3580dd261807ec3845e
[INFO] checking Benjscho/cryptopals against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenjscho%2Fcryptopals" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Benjscho/cryptopals on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Benjscho/cryptopals
[INFO] finished tweaking git repo https://github.com/Benjscho/cryptopals
[INFO] tweaked toml for git repo https://github.com/Benjscho/cryptopals written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Benjscho/cryptopals 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d756fcbe4308c0c14ac524347278a76832c3a50eb203c20729b9105f2c94c103
[INFO] running `Command { std: "docker" "start" "-a" "d756fcbe4308c0c14ac524347278a76832c3a50eb203c20729b9105f2c94c103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d756fcbe4308c0c14ac524347278a76832c3a50eb203c20729b9105f2c94c103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d756fcbe4308c0c14ac524347278a76832c3a50eb203c20729b9105f2c94c103", kill_on_drop: false }`
[INFO] [stdout] d756fcbe4308c0c14ac524347278a76832c3a50eb203c20729b9105f2c94c103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e275ea17cfe65fe44396a067794cbc7ef1b6db6713263aedd88303cdd7343f54
[INFO] running `Command { std: "docker" "start" "-a" "e275ea17cfe65fe44396a067794cbc7ef1b6db6713263aedd88303cdd7343f54", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]     Checking anstyle-query v1.0.0
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking anstyle v1.0.2
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]     Checking clap_lex v0.5.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking anstyle-parse v0.2.1
[INFO] [stderr]     Checking anstream v0.5.0
[INFO] [stderr]     Checking clap_builder v4.4.2
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling syn v2.0.32
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ordered-float v3.9.1
[INFO] [stderr]    Compiling openssl-src v300.1.3+3.1.2
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.4.2
[INFO] [stderr]     Checking clap v4.4.2
[INFO] [stderr]     Checking cryptopals v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/set_1/single_byte_cipher.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut reader = BufReader::new(File::open(file).expect("Can't open file."));
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/set_2/aes.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let input = pkcs7_padding(data, 16);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BASE64_CHAR_TABLE` is never used
[INFO] [stdout]  --> src/set_1/hex_to_base64.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const BASE64_CHAR_TABLE: &'static [u8] = b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_base64` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn hex_to_base64(input: &[u8]) -> Option<Vec<u8>> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_bytes` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn hex_to_bytes(hex: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_hex` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:30:4
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn bytes_to_hex(bytes: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hex_to_int` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn hex_to_int(hex: u8) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `int_to_hex` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn int_to_hex(int: u8) -> u8 {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bytes_to_base64` is never used
[INFO] [stdout]   --> src/set_1/hex_to_base64.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn bytes_to_base64(bytes: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `byte_to_base64_char` is never used
[INFO] [stdout]    --> src/set_1/hex_to_base64.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn byte_to_base64_char(byte: u8) -> u8 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_in_file` is never used
[INFO] [stdout]   --> src/set_1/single_byte_cipher.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn find_in_file(file: &Path) -> Vec<u8> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/set_1/single_byte_cipher.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut reader = BufReader::new(File::open(file).expect("Can't open file."));
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]    --> src/set_1/xor.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let expected = read_to_string("./data/set_1/ch6-solution.txt").unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual`
[INFO] [stdout]    --> src/set_1/xor.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let actual = break_key_repeat_xor(&input);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/set_2/aes.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let input = pkcs7_padding(data, 16);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `guess`
[INFO] [stdout]   --> src/set_2/oracle.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             let guess = detect_aes_128_ecb(&output);
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_guess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `base64_to_bytes_happy` is never used
[INFO] [stdout]    --> src/byte_util.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn base64_to_bytes_happy() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s
[INFO] running `Command { std: "docker" "inspect" "e275ea17cfe65fe44396a067794cbc7ef1b6db6713263aedd88303cdd7343f54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e275ea17cfe65fe44396a067794cbc7ef1b6db6713263aedd88303cdd7343f54", kill_on_drop: false }`
[INFO] [stdout] e275ea17cfe65fe44396a067794cbc7ef1b6db6713263aedd88303cdd7343f54
