[INFO] cloning repository https://github.com/jcmorrow/cryptopals_set_1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcmorrow/cryptopals_set_1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcmorrow%2Fcryptopals_set_1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcmorrow%2Fcryptopals_set_1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 227acf3248ee7e0fc13c6dec119d8d6592570878 [INFO] checking jcmorrow/cryptopals_set_1 against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcmorrow%2Fcryptopals_set_1" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcmorrow/cryptopals_set_1 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcmorrow/cryptopals_set_1 [INFO] finished tweaking git repo https://github.com/jcmorrow/cryptopals_set_1 [INFO] tweaked toml for git repo https://github.com/jcmorrow/cryptopals_set_1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/jcmorrow/cryptopals_set_1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4e24e566c7ec5c18ed56b79af74b99b024497c3f5f6d1d6dedaf41af3867e9 [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" "ca4e24e566c7ec5c18ed56b79af74b99b024497c3f5f6d1d6dedaf41af3867e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4e24e566c7ec5c18ed56b79af74b99b024497c3f5f6d1d6dedaf41af3867e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4e24e566c7ec5c18ed56b79af74b99b024497c3f5f6d1d6dedaf41af3867e9", kill_on_drop: false }` [INFO] [stdout] ca4e24e566c7ec5c18ed56b79af74b99b024497c3f5f6d1d6dedaf41af3867e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d45e9e0031927b5fca6922b25ee602c870bfaa5f379f1baa68c447901dce28f [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" "6d45e9e0031927b5fca6922b25ee602c870bfaa5f379f1baa68c447901dce28f", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Checking cryptopals_set_1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `self` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_aes_128_ecb` [INFO] [stdout] --> src/necromancer/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn decrypt_aes_128_ecb(encrypted: &str, key: &str) -> 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: `hamming_distance` [INFO] [stdout] --> src/necromancer/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn hamming_distance(a: &[u8], b: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hamming_distance_byte` [INFO] [stdout] --> src/necromancer/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hamming_distance_byte(a: u8, b: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytes_to_string` [INFO] [stdout] --> src/necromancer/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn bytes_to_string(s: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `repeating_key_xor` [INFO] [stdout] --> src/necromancer/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn repeating_key_xor(s: &str, k: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deencrypt_single_byte_xor` [INFO] [stdout] --> src/necromancer/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn deencrypt_single_byte_xor(s: &str) -> (String, f32, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_string_to_bytes` [INFO] [stdout] --> src/necromancer/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn hex_string_to_bytes(s: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_to_base_64` [INFO] [stdout] --> src/necromancer/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn hex_to_base_64(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base_64_to_hex` [INFO] [stdout] --> src/necromancer/mod.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn base_64_to_hex(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `base_64_index` [INFO] [stdout] --> src/necromancer/mod.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn base_64_index(c: char) -> isize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hex_xor` [INFO] [stdout] --> src/necromancer/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn hex_xor(s1: &str, s2: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `xor` [INFO] [stdout] --> src/necromancer/mod.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn xor(a: &[u8], b: &[u8]) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytes_to_hex_string` [INFO] [stdout] --> src/necromancer/mod.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn bytes_to_hex_string(xs: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `character_frequencies` [INFO] [stdout] --> src/necromancer/mod.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn character_frequencies(chars: &[u8]) -> [u32; 255] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mse` [INFO] [stdout] --> src/necromancer/mod.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn mse(a: u32, b: u32) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `english_score` [INFO] [stdout] --> src/necromancer/mod.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn english_score(string: &str) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIKIPEDIA` [INFO] [stdout] --> src/necromancer/mod.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | / const WIKIPEDIA: &str = "In computing, plain text is a loose term for data (e.g. file contents) that represent only characters of readabl... [INFO] [stdout] 242 | | [INFO] [stdout] 243 | | The term is sometimes used quite loosely, to mean files that contain only \"readable\" content (or just files with nothing that the speak... [INFO] [stdout] 244 | | [INFO] [stdout] ... | [INFO] [stdout] 251 | | The use of plain text rather than binary files, enables files to survive much better \"in the wild\", in part by making them largely immu... [INFO] [stdout] 252 | | "; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/necromancer/mod.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | let bytes = hex_string_to_bytes(&encrypted); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.59s [INFO] running `Command { std: "docker" "inspect" "6d45e9e0031927b5fca6922b25ee602c870bfaa5f379f1baa68c447901dce28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d45e9e0031927b5fca6922b25ee602c870bfaa5f379f1baa68c447901dce28f", kill_on_drop: false }` [INFO] [stdout] 6d45e9e0031927b5fca6922b25ee602c870bfaa5f379f1baa68c447901dce28f