Oct 27 06:06:44.909 INFO checking davbo/cryptopals against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 27 06:06:44.909 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-0/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/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 +19f01b935b91481fd445b16b533d2f87661bf12e-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 27 06:06:45.339 INFO blam! 16d5bbc482708672859246dbf5bd9a90d740367282b3ceafb2608ce8219fe527 Oct 27 06:06:45.339 INFO running `"docker" "start" "-a" "16d5bbc482708672859246dbf5bd9a90d740367282b3ceafb2608ce8219fe527"` Oct 27 06:06:46.535 INFO kablam! usermod: no changes Oct 27 06:06:46.695 INFO kablam! Checking libc v0.2.10 Oct 27 06:06:47.687 INFO kablam! Checking openssl-sys v0.9.31 Oct 27 06:06:47.699 INFO kablam! Checking rand v0.5.0 Oct 27 06:06:48.747 INFO kablam! Checking openssl v0.10.8 Oct 27 06:06:53.997 INFO kablam! Checking matasano v0.0.1 (/source) Oct 27 06:06:54.933 INFO kablam! warning: unused import: `set1::challenge8::score_ciphertext_for_ecb_mode` Oct 27 06:06:54.933 INFO kablam! --> src/set2/challenge12.rs:5:5 Oct 27 06:06:54.933 INFO kablam! | Oct 27 06:06:54.933 INFO kablam! 5 | use set1::challenge8::score_ciphertext_for_ecb_mode; Oct 27 06:06:54.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:54.933 INFO kablam! | Oct 27 06:06:54.933 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 06:06:54.933 INFO kablam! Oct 27 06:06:55.287 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 27 06:06:55.287 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 27 06:06:55.288 INFO kablam! | Oct 27 06:06:55.288 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 27 06:06:55.288 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 27 06:06:55.288 INFO kablam! | Oct 27 06:06:55.288 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 06:06:55.288 INFO kablam! Oct 27 06:06:55.385 INFO kablam! warning: constant item is never used: `KEY` Oct 27 06:06:55.385 INFO kablam! --> src/set2/challenge13.rs:6:1 Oct 27 06:06:55.386 INFO kablam! | Oct 27 06:06:55.386 INFO kablam! 6 | const KEY: &'static [u8] = b"YELLOW SUBMARINE"; Oct 27 06:06:55.386 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.386 INFO kablam! | Oct 27 06:06:55.387 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 06:06:55.387 INFO kablam! Oct 27 06:06:55.387 INFO kablam! warning: struct is never constructed: `Profile` Oct 27 06:06:55.387 INFO kablam! --> src/set2/challenge13.rs:8:1 Oct 27 06:06:55.388 INFO kablam! | Oct 27 06:06:55.388 INFO kablam! 8 | struct Profile { Oct 27 06:06:55.389 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 06:06:55.389 INFO kablam! Oct 27 06:06:55.390 INFO kablam! warning: method is never used: `new` Oct 27 06:06:55.390 INFO kablam! --> src/set2/challenge13.rs:16:5 Oct 27 06:06:55.391 INFO kablam! | Oct 27 06:06:55.391 INFO kablam! 16 | pub fn new(email: String) -> Profile { Oct 27 06:06:55.392 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.392 INFO kablam! Oct 27 06:06:55.393 INFO kablam! warning: function is never used: `encrypt` Oct 27 06:06:55.393 INFO kablam! --> src/set2/challenge13.rs:35:1 Oct 27 06:06:55.394 INFO kablam! | Oct 27 06:06:55.394 INFO kablam! 35 | fn encrypt(plaintext: String) -> Vec { Oct 27 06:06:55.394 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.394 INFO kablam! Oct 27 06:06:55.394 INFO kablam! warning: function is never used: `decrypt` Oct 27 06:06:55.394 INFO kablam! --> src/set2/challenge13.rs:40:1 Oct 27 06:06:55.394 INFO kablam! | Oct 27 06:06:55.394 INFO kablam! 40 | fn decrypt(ciphertext: Vec) -> String { Oct 27 06:06:55.394 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.394 INFO kablam! Oct 27 06:06:55.394 INFO kablam! warning: constant item is never used: `MESSAGE` Oct 27 06:06:55.394 INFO kablam! --> src/set2/challenge14.rs:7:1 Oct 27 06:06:55.394 INFO kablam! | Oct 27 06:06:55.394 INFO kablam! 7 | / const MESSAGE: &'static [u8] = b"Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkg Oct 27 06:06:55.394 INFO kablam! 8 | | aGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGFuZGJ5IHdhdmluZyBq Oct 27 06:06:55.394 INFO kablam! 9 | | dXN0IHRvIHNheSBoaQpEaWQgeW91IHN0b3A/IE5vLCBJIGp1c3QgZHJvdmUg Oct 27 06:06:55.394 INFO kablam! 10 | | YnkK"; Oct 27 06:06:55.394 INFO kablam! | |______^ Oct 27 06:06:55.394 INFO kablam! Oct 27 06:06:55.394 INFO kablam! warning: function is never used: `random_input` Oct 27 06:06:55.394 INFO kablam! --> src/set2/challenge14.rs:12:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 12 | fn random_input() -> Vec { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `encryption_oracle` Oct 27 06:06:55.395 INFO kablam! --> src/set2/challenge14.rs:20:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 20 | fn encryption_oracle(attacker_input: &[u8]) -> Vec { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `find_target_permutation` Oct 27 06:06:55.395 INFO kablam! --> src/set2/challenge14.rs:27:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 27 | fn find_target_permutation(byte_index: usize, block_size: usize, marker_cipher: Vec, decrypted_bytes: &[u8]) -> Vec { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `test_byte` Oct 27 06:06:55.395 INFO kablam! --> src/set2/challenge14.rs:56:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 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 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `find_marker_block` Oct 27 06:06:55.395 INFO kablam! --> src/set2/challenge14.rs:91:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 91 | fn find_marker_block(block_size: usize) -> Vec { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: constant item is never used: `BLOCK_LENGTH` Oct 27 06:06:55.395 INFO kablam! --> src/set3/challenge17.rs:7:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 7 | const BLOCK_LENGTH: usize = 16; Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: constant item is never used: `INPUT_STRINGS` Oct 27 06:06:55.395 INFO kablam! --> src/set3/challenge17.rs:9:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 9 | / const INPUT_STRINGS: [&'static str; 10] = [ Oct 27 06:06:55.395 INFO kablam! 10 | | "MDAwMDAwTm93IHRoYXQgdGhlIHBhcnR5IGlzIGp1bXBpbmc=", Oct 27 06:06:55.395 INFO kablam! 11 | | "MDAwMDAxV2l0aCB0aGUgYmFzcyBraWNrZWQgaW4gYW5kIHRoZSBWZWdhJ3MgYXJlIHB1bXBpbic=", Oct 27 06:06:55.395 INFO kablam! 12 | | "MDAwMDAyUXVpY2sgdG8gdGhlIHBvaW50LCB0byB0aGUgcG9pbnQsIG5vIGZha2luZw==", Oct 27 06:06:55.395 INFO kablam! ... | Oct 27 06:06:55.395 INFO kablam! 19 | | "MDAwMDA5aXRoIG15IHJhZy10b3AgZG93biBzbyBteSBoYWlyIGNhbiBibG93", Oct 27 06:06:55.395 INFO kablam! 20 | | ]; Oct 27 06:06:55.395 INFO kablam! | |__^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `pad` Oct 27 06:06:55.395 INFO kablam! --> src/set3/challenge17.rs:22:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 22 | fn pad(mut input: Vec) -> Vec { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `decrypt_and_check_padding` Oct 27 06:06:55.395 INFO kablam! --> src/set3/challenge17.rs:34:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 34 | fn decrypt_and_check_padding(ciphertext: Vec, key: &[u8], iv: &[u8]) -> bool { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.395 INFO kablam! warning: function is never used: `test_byte` Oct 27 06:06:55.395 INFO kablam! --> src/set3/challenge17.rs:42:1 Oct 27 06:06:55.395 INFO kablam! | Oct 27 06:06:55.395 INFO kablam! 42 | fn test_byte(guess: u8, target_index: usize, attacking_block: Vec, discovered_bytes: &Vec, key: &[u8]) -> Result { Oct 27 06:06:55.395 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 06:06:55.395 INFO kablam! Oct 27 06:06:55.411 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 27 06:06:55.411 INFO kablam! --> src/set2/challenge13.rs:72:11 Oct 27 06:06:55.411 INFO kablam! | Oct 27 06:06:55.411 INFO kablam! 72 | while (test_len == len_enc) { Oct 27 06:06:55.411 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 27 06:06:55.411 INFO kablam! | Oct 27 06:06:55.411 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 27 06:06:55.411 INFO kablam! Oct 27 06:06:55.871 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 27 06:06:55.871 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 27 06:06:55.871 INFO kablam! | Oct 27 06:06:55.871 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 27 06:06:55.871 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 27 06:06:55.871 INFO kablam! | Oct 27 06:06:55.871 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 06:06:55.871 INFO kablam! Oct 27 06:06:55.959 INFO kablam! warning: variable does not need to be mutable Oct 27 06:06:55.959 INFO kablam! --> src/set2/challenge13.rs:70:9 Oct 27 06:06:55.959 INFO kablam! | Oct 27 06:06:55.959 INFO kablam! 70 | let mut len_enc = encrypt(Profile::new(test_email.clone()).to_string()).len(); Oct 27 06:06:55.959 INFO kablam! | ----^^^^^^^ Oct 27 06:06:55.959 INFO kablam! | | Oct 27 06:06:55.959 INFO kablam! | help: remove this `mut` Oct 27 06:06:55.959 INFO kablam! | Oct 27 06:06:55.959 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 27 06:06:55.959 INFO kablam! Oct 27 06:06:56.074 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 9.52s Oct 27 06:06:56.078 INFO kablam! su: No module specific data is present Oct 27 06:06:57.100 INFO running `"docker" "rm" "-f" "16d5bbc482708672859246dbf5bd9a90d740367282b3ceafb2608ce8219fe527"` Oct 27 06:06:57.319 INFO blam! 16d5bbc482708672859246dbf5bd9a90d740367282b3ceafb2608ce8219fe527