Oct 14 23:29:48.757 INFO testing davbo/cryptopals against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 14 23:29:48.757 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-alt build --frozen" "-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 14 23:29:49.127 INFO blam! d1240fe0abdde8217a6171a8dd824c33e15956e1d7ef633607459f6ac86852e3 Oct 14 23:29:49.143 INFO running `"docker" "start" "-a" "d1240fe0abdde8217a6171a8dd824c33e15956e1d7ef633607459f6ac86852e3"` Oct 14 23:29:50.387 INFO kablam! usermod: no changes Oct 14 23:29:50.523 INFO kablam! Compiling libc v0.2.10 Oct 14 23:29:50.523 INFO kablam! Compiling openssl v0.10.8 Oct 14 23:29:51.587 INFO kablam! Compiling openssl-sys v0.9.31 Oct 14 23:29:51.587 INFO kablam! Compiling rand v0.5.0 Oct 14 23:30:01.415 INFO kablam! Compiling matasano v0.0.1 (/source) Oct 14 23:30:01.991 INFO kablam! warning: unused import: `set1::challenge8::score_ciphertext_for_ecb_mode` Oct 14 23:30:01.992 INFO kablam! --> src/set2/challenge12.rs:5:5 Oct 14 23:30:01.993 INFO kablam! | Oct 14 23:30:01.993 INFO kablam! 5 | use set1::challenge8::score_ciphertext_for_ecb_mode; Oct 14 23:30:01.994 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:01.995 INFO kablam! | Oct 14 23:30:01.995 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 23:30:01.996 INFO kablam! Oct 14 23:30:02.170 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 14 23:30:02.170 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 14 23:30:02.170 INFO kablam! | Oct 14 23:30:02.170 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 14 23:30:02.170 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 23:30:02.170 INFO kablam! | Oct 14 23:30:02.170 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:30:02.170 INFO kablam! Oct 14 23:30:02.223 INFO kablam! warning: constant item is never used: `KEY` Oct 14 23:30:02.223 INFO kablam! --> src/set2/challenge13.rs:6:1 Oct 14 23:30:02.223 INFO kablam! | Oct 14 23:30:02.223 INFO kablam! 6 | const KEY: &'static [u8] = b"YELLOW SUBMARINE"; Oct 14 23:30:02.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 23:30:02.224 INFO kablam! Oct 14 23:30:02.224 INFO kablam! warning: struct is never constructed: `Profile` Oct 14 23:30:02.224 INFO kablam! --> src/set2/challenge13.rs:8:1 Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! 8 | struct Profile { Oct 14 23:30:02.224 INFO kablam! | ^^^^^^^^^^^^^^ Oct 14 23:30:02.224 INFO kablam! Oct 14 23:30:02.224 INFO kablam! warning: method is never used: `new` Oct 14 23:30:02.224 INFO kablam! --> src/set2/challenge13.rs:16:5 Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! 16 | pub fn new(email: String) -> Profile { Oct 14 23:30:02.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.224 INFO kablam! Oct 14 23:30:02.224 INFO kablam! warning: function is never used: `encrypt` Oct 14 23:30:02.224 INFO kablam! --> src/set2/challenge13.rs:35:1 Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! 35 | fn encrypt(plaintext: String) -> Vec { Oct 14 23:30:02.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.224 INFO kablam! Oct 14 23:30:02.224 INFO kablam! warning: function is never used: `decrypt` Oct 14 23:30:02.224 INFO kablam! --> src/set2/challenge13.rs:40:1 Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! 40 | fn decrypt(ciphertext: Vec) -> String { Oct 14 23:30:02.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.224 INFO kablam! Oct 14 23:30:02.224 INFO kablam! warning: constant item is never used: `MESSAGE` Oct 14 23:30:02.224 INFO kablam! --> src/set2/challenge14.rs:7:1 Oct 14 23:30:02.224 INFO kablam! | Oct 14 23:30:02.224 INFO kablam! 7 | / const MESSAGE: &'static [u8] = b"Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkg Oct 14 23:30:02.224 INFO kablam! 8 | | aGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGFuZGJ5IHdhdmluZyBq Oct 14 23:30:02.224 INFO kablam! 9 | | dXN0IHRvIHNheSBoaQpEaWQgeW91IHN0b3A/IE5vLCBJIGp1c3QgZHJvdmUg Oct 14 23:30:02.224 INFO kablam! 10 | | YnkK"; Oct 14 23:30:02.224 INFO kablam! | |______^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `random_input` Oct 14 23:30:02.229 INFO kablam! --> src/set2/challenge14.rs:12:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 12 | fn random_input() -> Vec { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `encryption_oracle` Oct 14 23:30:02.229 INFO kablam! --> src/set2/challenge14.rs:20:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 20 | fn encryption_oracle(attacker_input: &[u8]) -> Vec { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `find_target_permutation` Oct 14 23:30:02.229 INFO kablam! --> src/set2/challenge14.rs:27:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 27 | fn find_target_permutation(byte_index: usize, block_size: usize, marker_cipher: Vec, decrypted_bytes: &[u8]) -> Vec { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `test_byte` Oct 14 23:30:02.229 INFO kablam! --> src/set2/challenge14.rs:56:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 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 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `find_marker_block` Oct 14 23:30:02.229 INFO kablam! --> src/set2/challenge14.rs:91:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 91 | fn find_marker_block(block_size: usize) -> Vec { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: constant item is never used: `BLOCK_LENGTH` Oct 14 23:30:02.229 INFO kablam! --> src/set3/challenge17.rs:7:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 7 | const BLOCK_LENGTH: usize = 16; Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: constant item is never used: `INPUT_STRINGS` Oct 14 23:30:02.229 INFO kablam! --> src/set3/challenge17.rs:9:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 9 | / const INPUT_STRINGS: [&'static str; 10] = [ Oct 14 23:30:02.229 INFO kablam! 10 | | "MDAwMDAwTm93IHRoYXQgdGhlIHBhcnR5IGlzIGp1bXBpbmc=", Oct 14 23:30:02.229 INFO kablam! 11 | | "MDAwMDAxV2l0aCB0aGUgYmFzcyBraWNrZWQgaW4gYW5kIHRoZSBWZWdhJ3MgYXJlIHB1bXBpbic=", Oct 14 23:30:02.229 INFO kablam! 12 | | "MDAwMDAyUXVpY2sgdG8gdGhlIHBvaW50LCB0byB0aGUgcG9pbnQsIG5vIGZha2luZw==", Oct 14 23:30:02.229 INFO kablam! ... | Oct 14 23:30:02.229 INFO kablam! 19 | | "MDAwMDA5aXRoIG15IHJhZy10b3AgZG93biBzbyBteSBoYWlyIGNhbiBibG93", Oct 14 23:30:02.229 INFO kablam! 20 | | ]; Oct 14 23:30:02.229 INFO kablam! | |__^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `pad` Oct 14 23:30:02.229 INFO kablam! --> src/set3/challenge17.rs:22:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 22 | fn pad(mut input: Vec) -> Vec { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `decrypt_and_check_padding` Oct 14 23:30:02.229 INFO kablam! --> src/set3/challenge17.rs:34:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 34 | fn decrypt_and_check_padding(ciphertext: Vec, key: &[u8], iv: &[u8]) -> bool { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:02.229 INFO kablam! warning: function is never used: `test_byte` Oct 14 23:30:02.229 INFO kablam! --> src/set3/challenge17.rs:42:1 Oct 14 23:30:02.229 INFO kablam! | Oct 14 23:30:02.229 INFO kablam! 42 | fn test_byte(guess: u8, target_index: usize, attacking_block: Vec, discovered_bytes: &Vec, key: &[u8]) -> Result { Oct 14 23:30:02.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:02.229 INFO kablam! Oct 14 23:30:03.808 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 13.39s Oct 14 23:30:03.815 INFO kablam! su: No module specific data is present Oct 14 23:30:05.616 INFO running `"docker" "rm" "-f" "d1240fe0abdde8217a6171a8dd824c33e15956e1d7ef633607459f6ac86852e3"` Oct 14 23:30:05.979 INFO blam! d1240fe0abdde8217a6171a8dd824c33e15956e1d7ef633607459f6ac86852e3 Oct 14 23:30:05.985 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-alt test --frozen --no-run" "-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 14 23:30:06.427 INFO blam! 2cd876c97b7c92e614dc184cb39f576db6a436b790989016765416d707978aeb Oct 14 23:30:06.429 INFO running `"docker" "start" "-a" "2cd876c97b7c92e614dc184cb39f576db6a436b790989016765416d707978aeb"` Oct 14 23:30:08.858 INFO kablam! usermod: no changes Oct 14 23:30:08.975 INFO kablam! Compiling matasano v0.0.1 (/source) Oct 14 23:30:09.600 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 14 23:30:09.600 INFO kablam! --> src/set2/challenge13.rs:72:11 Oct 14 23:30:09.600 INFO kablam! | Oct 14 23:30:09.600 INFO kablam! 72 | while (test_len == len_enc) { Oct 14 23:30:09.600 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 23:30:09.600 INFO kablam! | Oct 14 23:30:09.600 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 23:30:09.600 INFO kablam! Oct 14 23:30:09.935 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 14 23:30:09.935 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 14 23:30:09.935 INFO kablam! | Oct 14 23:30:09.935 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 14 23:30:09.935 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 23:30:09.935 INFO kablam! | Oct 14 23:30:09.949 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:30:09.949 INFO kablam! Oct 14 23:30:10.027 INFO kablam! warning: variable does not need to be mutable Oct 14 23:30:10.027 INFO kablam! --> src/set2/challenge13.rs:70:9 Oct 14 23:30:10.027 INFO kablam! | Oct 14 23:30:10.027 INFO kablam! 70 | let mut len_enc = encrypt(Profile::new(test_email.clone()).to_string()).len(); Oct 14 23:30:10.027 INFO kablam! | ----^^^^^^^ Oct 14 23:30:10.027 INFO kablam! | | Oct 14 23:30:10.027 INFO kablam! | help: remove this `mut` Oct 14 23:30:10.027 INFO kablam! | Oct 14 23:30:10.027 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 23:30:10.027 INFO kablam! Oct 14 23:30:13.160 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 4.27s Oct 14 23:30:13.165 INFO kablam! su: No module specific data is present Oct 14 23:30:14.628 INFO running `"docker" "rm" "-f" "2cd876c97b7c92e614dc184cb39f576db6a436b790989016765416d707978aeb"` Oct 14 23:30:14.987 INFO blam! 2cd876c97b7c92e614dc184cb39f576db6a436b790989016765416d707978aeb