[INFO] cloning repository https://github.com/akinnane/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/akinnane/cryptopals_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakinnane%2Fcryptopals_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakinnane%2Fcryptopals_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dfc1faa94bfa5693ef857f4a02dbd96db15143ca [INFO] checking akinnane/cryptopals_rust against master#430feb24a46993e5073c1bb1b39da190d83fa2bf for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakinnane%2Fcryptopals_rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akinnane/cryptopals_rust on toolchain 430feb24a46993e5073c1bb1b39da190d83fa2bf [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akinnane/cryptopals_rust [INFO] finished tweaking git repo https://github.com/akinnane/cryptopals_rust [INFO] tweaked toml for git repo https://github.com/akinnane/cryptopals_rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/akinnane/cryptopals_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1288d9ef7290c501a439550716d8586955fd96122f3ea5fa6dc59f90c980a409 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1288d9ef7290c501a439550716d8586955fd96122f3ea5fa6dc59f90c980a409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1288d9ef7290c501a439550716d8586955fd96122f3ea5fa6dc59f90c980a409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1288d9ef7290c501a439550716d8586955fd96122f3ea5fa6dc59f90c980a409", kill_on_drop: false }` [INFO] [stdout] 1288d9ef7290c501a439550716d8586955fd96122f3ea5fa6dc59f90c980a409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+430feb24a46993e5073c1bb1b39da190d83fa2bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f539f8142042bb56c8a2db7a610417d1b1e84009e5cbc04a419a2e97ce7c2881 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f539f8142042bb56c8a2db7a610417d1b1e84009e5cbc04a419a2e97ce7c2881", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking siphasher v0.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking cryptopals v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `from_hex_to_base64` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_hex_to_base64>(input: T) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/main.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn xor, S1: AsRef<[u8]>>(s1: S, s2: S1) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `ENGLISH_LETTER_FREQUENCIES` [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / static ENGLISH_LETTER_FREQUENCIES: Map = phf_map! { [INFO] [stdout] 54 | | b'A' => 0.0651738, [INFO] [stdout] 55 | | b'B' => 0.0124248, [INFO] [stdout] 56 | | b'C' => 0.0217339, [INFO] [stdout] ... | [INFO] [stdout] 80 | | b' ' => 0.1918182, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_english` [INFO] [stdout] --> src/main.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn detect_english>(input: T) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_byte_xor` [INFO] [stdout] --> src/main.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn single_byte_xor>(input: S) -> SingleByteXorResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `detect_single_byte_xor` [INFO] [stdout] --> src/main.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn detect_single_byte_xor<'a, I, T: 'a, E: 'a>(iter: &mut I) -> SingleByteXorResult [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeating_key_xor` [INFO] [stdout] --> src/main.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn repeating_key_xor(input: T, key: T) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance` [INFO] [stdout] --> src/main.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 192 | fn hamming_distance>(one: T, two: T) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_base64_file` [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn load_base64_file(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance_for_key_size` [INFO] [stdout] --> src/main.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn hamming_distance_for_key_size>(bytes: T, key_size: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `key_size_hamming_distances` [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn key_size_hamming_distances>(cipher_text: T) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transpose_blocks` [INFO] [stdout] --> src/main.rs:286:4 [INFO] [stdout] | [INFO] [stdout] 286 | fn transpose_blocks>(ctext: T, key_size: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `key_from_xor_vec` [INFO] [stdout] --> src/main.rs:311:4 [INFO] [stdout] | [INFO] [stdout] 311 | fn key_from_xor_vec(xor_vec: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aes_ecb_decrypt` [INFO] [stdout] --> src/main.rs:348:4 [INFO] [stdout] | [INFO] [stdout] 348 | fn aes_ecb_decrypt, S: AsRef<[u8]>>(input: T, key: S, pad: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_aes_ecb` [INFO] [stdout] --> src/main.rs:384:4 [INFO] [stdout] | [INFO] [stdout] 384 | fn is_aes_ecb>(cipher_text: T, block_size: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pkcs7_pad` [INFO] [stdout] --> src/main.rs:405:4 [INFO] [stdout] | [INFO] [stdout] 405 | fn pkcs7_pad(input: &mut Vec, block_size: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pkcs7_unpad` [INFO] [stdout] --> src/main.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn pkcs7_unpad(input: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aes_ecb_encrypt` [INFO] [stdout] --> src/main.rs:427:4 [INFO] [stdout] | [INFO] [stdout] 427 | fn aes_ecb_encrypt, S: AsRef<[u8]>>(input: T, key: S, pad: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aes_cbc_encrypt` [INFO] [stdout] --> src/main.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn aes_cbc_encrypt, P: AsRef<[u8]>, T: AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aes_cbc_decrypt` [INFO] [stdout] --> src/main.rs:511:4 [INFO] [stdout] | [INFO] [stdout] 511 | fn aes_cbc_decrypt, P: AsRef<[u8]>, T: AsRef<[u8]>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.50s [INFO] running `Command { std: "docker" "inspect" "f539f8142042bb56c8a2db7a610417d1b1e84009e5cbc04a419a2e97ce7c2881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f539f8142042bb56c8a2db7a610417d1b1e84009e5cbc04a419a2e97ce7c2881", kill_on_drop: false }` [INFO] [stdout] f539f8142042bb56c8a2db7a610417d1b1e84009e5cbc04a419a2e97ce7c2881