[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 227acf3248ee7e0fc13c6dec119d8d6592570878 [INFO] checking jcmorrow/cryptopals_set_1 against try#85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcmorrow%2Fcryptopals_set_1" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcmorrow/cryptopals_set_1 on toolchain 85cc1486e1f000dce4bb8e1b3cfab2b654b102a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "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-5/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" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41db27e597262afa5d5cf598d6f4534917159c9d6103a4da9b82099b990083c7 [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" "41db27e597262afa5d5cf598d6f4534917159c9d6103a4da9b82099b990083c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41db27e597262afa5d5cf598d6f4534917159c9d6103a4da9b82099b990083c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41db27e597262afa5d5cf598d6f4534917159c9d6103a4da9b82099b990083c7", kill_on_drop: false }` [INFO] [stdout] 41db27e597262afa5d5cf598d6f4534917159c9d6103a4da9b82099b990083c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+85cc1486e1f000dce4bb8e1b3cfab2b654b102a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222b543cc251ec66c44bc37907fe9d9a9691fbced77bf9bdab2f9df82341f038 [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" "222b543cc251ec66c44bc37907fe9d9a9691fbced77bf9bdab2f9df82341f038", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.47 [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: 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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.01s [INFO] running `Command { std: "docker" "inspect" "222b543cc251ec66c44bc37907fe9d9a9691fbced77bf9bdab2f9df82341f038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222b543cc251ec66c44bc37907fe9d9a9691fbced77bf9bdab2f9df82341f038", kill_on_drop: false }` [INFO] [stdout] 222b543cc251ec66c44bc37907fe9d9a9691fbced77bf9bdab2f9df82341f038