Oct 21 18:34:31.158 INFO checking davbo/cryptopals against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 18:34:31.158 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-1/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 21 18:34:31.698 INFO blam! b608a79d1bb75129e7abbcddbfdf5f219d3cce438415b7e4b03671c75b009300 Oct 21 18:34:31.700 INFO running `"docker" "start" "-a" "b608a79d1bb75129e7abbcddbfdf5f219d3cce438415b7e4b03671c75b009300"` Oct 21 18:34:32.822 INFO kablam! usermod: no changes Oct 21 18:34:32.936 INFO kablam! Checking libc v0.2.10 Oct 21 18:34:32.936 INFO kablam! Compiling openssl v0.10.8 Oct 21 18:34:34.200 INFO kablam! Checking openssl-sys v0.9.31 Oct 21 18:34:34.200 INFO kablam! Checking rand v0.5.0 Oct 21 18:34:39.912 INFO kablam! Checking matasano v0.0.1 (/source) Oct 21 18:34:40.953 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 21 18:34:40.953 INFO kablam! --> src/set2/challenge13.rs:72:11 Oct 21 18:34:40.953 INFO kablam! | Oct 21 18:34:40.954 INFO kablam! 72 | while (test_len == len_enc) { Oct 21 18:34:40.954 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 21 18:34:40.954 INFO kablam! | Oct 21 18:34:40.955 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 21 18:34:40.955 INFO kablam! Oct 21 18:34:41.084 INFO kablam! warning: unused import: `set1::challenge8::score_ciphertext_for_ecb_mode` Oct 21 18:34:41.084 INFO kablam! --> src/set2/challenge12.rs:5:5 Oct 21 18:34:41.084 INFO kablam! | Oct 21 18:34:41.084 INFO kablam! 5 | use set1::challenge8::score_ciphertext_for_ecb_mode; Oct 21 18:34:41.084 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.084 INFO kablam! | Oct 21 18:34:41.084 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 18:34:41.084 INFO kablam! Oct 21 18:34:41.332 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 21 18:34:41.332 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 21 18:34:41.332 INFO kablam! | Oct 21 18:34:41.332 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 21 18:34:41.332 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 21 18:34:41.332 INFO kablam! | Oct 21 18:34:41.332 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 18:34:41.332 INFO kablam! Oct 21 18:34:41.392 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 21 18:34:41.392 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 21 18:34:41.392 INFO kablam! | Oct 21 18:34:41.392 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 21 18:34:41.392 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 21 18:34:41.392 INFO kablam! | Oct 21 18:34:41.392 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 21 18:34:41.392 INFO kablam! Oct 21 18:34:41.444 INFO kablam! warning: variable does not need to be mutable Oct 21 18:34:41.444 INFO kablam! --> src/set2/challenge13.rs:70:9 Oct 21 18:34:41.444 INFO kablam! | Oct 21 18:34:41.444 INFO kablam! 70 | let mut len_enc = encrypt(Profile::new(test_email.clone()).to_string()).len(); Oct 21 18:34:41.444 INFO kablam! | ----^^^^^^^ Oct 21 18:34:41.444 INFO kablam! | | Oct 21 18:34:41.444 INFO kablam! | help: remove this `mut` Oct 21 18:34:41.444 INFO kablam! | Oct 21 18:34:41.444 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 21 18:34:41.444 INFO kablam! Oct 21 18:34:41.508 INFO kablam! warning: constant item is never used: `KEY` Oct 21 18:34:41.508 INFO kablam! --> src/set2/challenge13.rs:6:1 Oct 21 18:34:41.508 INFO kablam! | Oct 21 18:34:41.508 INFO kablam! 6 | const KEY: &'static [u8] = b"YELLOW SUBMARINE"; Oct 21 18:34:41.508 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.508 INFO kablam! | Oct 21 18:34:41.508 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 18:34:41.508 INFO kablam! Oct 21 18:34:41.508 INFO kablam! warning: struct is never constructed: `Profile` Oct 21 18:34:41.508 INFO kablam! --> src/set2/challenge13.rs:8:1 Oct 21 18:34:41.508 INFO kablam! | Oct 21 18:34:41.508 INFO kablam! 8 | struct Profile { Oct 21 18:34:41.508 INFO kablam! | ^^^^^^^^^^^^^^ Oct 21 18:34:41.508 INFO kablam! Oct 21 18:34:41.508 INFO kablam! warning: method is never used: `new` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge13.rs:16:5 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 16 | pub fn new(email: String) -> Profile { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `encrypt` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge13.rs:35:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 35 | fn encrypt(plaintext: String) -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `decrypt` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge13.rs:40:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 40 | fn decrypt(ciphertext: Vec) -> String { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: constant item is never used: `MESSAGE` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:7:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 7 | / const MESSAGE: &'static [u8] = b"Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkg Oct 21 18:34:41.509 INFO kablam! 8 | | aGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGFuZGJ5IHdhdmluZyBq Oct 21 18:34:41.509 INFO kablam! 9 | | dXN0IHRvIHNheSBoaQpEaWQgeW91IHN0b3A/IE5vLCBJIGp1c3QgZHJvdmUg Oct 21 18:34:41.509 INFO kablam! 10 | | YnkK"; Oct 21 18:34:41.509 INFO kablam! | |______^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `random_input` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:12:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 12 | fn random_input() -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `encryption_oracle` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:20:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 20 | fn encryption_oracle(attacker_input: &[u8]) -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `find_target_permutation` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:27:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 27 | fn find_target_permutation(byte_index: usize, block_size: usize, marker_cipher: Vec, decrypted_bytes: &[u8]) -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `test_byte` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:56:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 56 | fn test_byte(candidate: u8, byte_index: usize, block_size: usize, marker_cipher: Vec, target_permutation: Vec, decrypted_bytes: &[u8]) -> bool { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `find_marker_block` Oct 21 18:34:41.509 INFO kablam! --> src/set2/challenge14.rs:91:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 91 | fn find_marker_block(block_size: usize) -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: constant item is never used: `BLOCK_LENGTH` Oct 21 18:34:41.509 INFO kablam! --> src/set3/challenge17.rs:7:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 7 | const BLOCK_LENGTH: usize = 16; Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: constant item is never used: `INPUT_STRINGS` Oct 21 18:34:41.509 INFO kablam! --> src/set3/challenge17.rs:9:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 9 | / const INPUT_STRINGS: [&'static str; 10] = [ Oct 21 18:34:41.509 INFO kablam! 10 | | "MDAwMDAwTm93IHRoYXQgdGhlIHBhcnR5IGlzIGp1bXBpbmc=", Oct 21 18:34:41.509 INFO kablam! 11 | | "MDAwMDAxV2l0aCB0aGUgYmFzcyBraWNrZWQgaW4gYW5kIHRoZSBWZWdhJ3MgYXJlIHB1bXBpbic=", Oct 21 18:34:41.509 INFO kablam! 12 | | "MDAwMDAyUXVpY2sgdG8gdGhlIHBvaW50LCB0byB0aGUgcG9pbnQsIG5vIGZha2luZw==", Oct 21 18:34:41.509 INFO kablam! ... | Oct 21 18:34:41.509 INFO kablam! 19 | | "MDAwMDA5aXRoIG15IHJhZy10b3AgZG93biBzbyBteSBoYWlyIGNhbiBibG93", Oct 21 18:34:41.509 INFO kablam! 20 | | ]; Oct 21 18:34:41.509 INFO kablam! | |__^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `pad` Oct 21 18:34:41.509 INFO kablam! --> src/set3/challenge17.rs:22:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 22 | fn pad(mut input: Vec) -> Vec { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.509 INFO kablam! Oct 21 18:34:41.509 INFO kablam! warning: function is never used: `decrypt_and_check_padding` Oct 21 18:34:41.509 INFO kablam! --> src/set3/challenge17.rs:34:1 Oct 21 18:34:41.509 INFO kablam! | Oct 21 18:34:41.509 INFO kablam! 34 | fn decrypt_and_check_padding(ciphertext: Vec, key: &[u8], iv: &[u8]) -> bool { Oct 21 18:34:41.509 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.510 INFO kablam! Oct 21 18:34:41.510 INFO kablam! warning: function is never used: `test_byte` Oct 21 18:34:41.510 INFO kablam! --> src/set3/challenge17.rs:42:1 Oct 21 18:34:41.510 INFO kablam! | Oct 21 18:34:41.510 INFO kablam! 42 | fn test_byte(guess: u8, target_index: usize, attacking_block: Vec, discovered_bytes: &Vec, key: &[u8]) -> Result { Oct 21 18:34:41.510 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 18:34:41.510 INFO kablam! Oct 21 18:34:41.572 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 8.72s Oct 21 18:34:41.573 INFO kablam! su: No module specific data is present Oct 21 18:34:42.280 INFO running `"docker" "rm" "-f" "b608a79d1bb75129e7abbcddbfdf5f219d3cce438415b7e4b03671c75b009300"` Oct 21 18:34:42.529 INFO blam! b608a79d1bb75129e7abbcddbfdf5f219d3cce438415b7e4b03671c75b009300