Oct 14 23:29:53.351 INFO testing davbo/cryptopals against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 14 23:29:53.351 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-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:53.768 INFO blam! fa4e55515d212efd5bc3cae43b55dc0f7500c971da59ab5661ada2c8703cdc5d Oct 14 23:29:53.771 INFO running `"docker" "start" "-a" "fa4e55515d212efd5bc3cae43b55dc0f7500c971da59ab5661ada2c8703cdc5d"` Oct 14 23:29:55.091 INFO kablam! usermod: no changes Oct 14 23:29:55.207 INFO kablam! Compiling openssl v0.10.8 Oct 14 23:29:55.207 INFO kablam! Compiling libc v0.2.10 Oct 14 23:29:56.128 INFO kablam! Compiling openssl-sys v0.9.31 Oct 14 23:29:56.128 INFO kablam! Compiling rand v0.5.0 Oct 14 23:30:07.219 INFO kablam! Compiling matasano v0.0.1 (/source) Oct 14 23:30:07.803 INFO kablam! warning: unused import: `set1::challenge8::score_ciphertext_for_ecb_mode` Oct 14 23:30:07.804 INFO kablam! --> src/set2/challenge12.rs:5:5 Oct 14 23:30:07.804 INFO kablam! | Oct 14 23:30:07.804 INFO kablam! 5 | use set1::challenge8::score_ciphertext_for_ecb_mode; Oct 14 23:30:07.805 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:07.805 INFO kablam! | Oct 14 23:30:07.805 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 14 23:30:07.806 INFO kablam! Oct 14 23:30:08.039 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 14 23:30:08.040 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 14 23:30:08.040 INFO kablam! | Oct 14 23:30:08.040 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 14 23:30:08.040 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 23:30:08.041 INFO kablam! | Oct 14 23:30:08.041 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:30:08.041 INFO kablam! Oct 14 23:30:08.103 INFO kablam! warning: constant item is never used: `KEY` Oct 14 23:30:08.104 INFO kablam! --> src/set2/challenge13.rs:6:1 Oct 14 23:30:08.104 INFO kablam! | Oct 14 23:30:08.104 INFO kablam! 6 | const KEY: &'static [u8] = b"YELLOW SUBMARINE"; Oct 14 23:30:08.105 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.105 INFO kablam! | Oct 14 23:30:08.105 INFO kablam! = note: #[warn(dead_code)] on by default Oct 14 23:30:08.106 INFO kablam! Oct 14 23:30:08.106 INFO kablam! warning: struct is never constructed: `Profile` Oct 14 23:30:08.106 INFO kablam! --> src/set2/challenge13.rs:8:1 Oct 14 23:30:08.107 INFO kablam! | Oct 14 23:30:08.107 INFO kablam! 8 | struct Profile { Oct 14 23:30:08.107 INFO kablam! | ^^^^^^^^^^^^^^ Oct 14 23:30:08.108 INFO kablam! Oct 14 23:30:08.108 INFO kablam! warning: method is never used: `new` Oct 14 23:30:08.108 INFO kablam! --> src/set2/challenge13.rs:16:5 Oct 14 23:30:08.108 INFO kablam! | Oct 14 23:30:08.109 INFO kablam! 16 | pub fn new(email: String) -> Profile { Oct 14 23:30:08.109 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.109 INFO kablam! Oct 14 23:30:08.110 INFO kablam! warning: function is never used: `encrypt` Oct 14 23:30:08.110 INFO kablam! --> src/set2/challenge13.rs:35:1 Oct 14 23:30:08.110 INFO kablam! | Oct 14 23:30:08.111 INFO kablam! 35 | fn encrypt(plaintext: String) -> Vec { Oct 14 23:30:08.111 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.111 INFO kablam! Oct 14 23:30:08.111 INFO kablam! warning: function is never used: `decrypt` Oct 14 23:30:08.112 INFO kablam! --> src/set2/challenge13.rs:40:1 Oct 14 23:30:08.112 INFO kablam! | Oct 14 23:30:08.112 INFO kablam! 40 | fn decrypt(ciphertext: Vec) -> String { Oct 14 23:30:08.113 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.113 INFO kablam! Oct 14 23:30:08.113 INFO kablam! warning: constant item is never used: `MESSAGE` Oct 14 23:30:08.114 INFO kablam! --> src/set2/challenge14.rs:7:1 Oct 14 23:30:08.114 INFO kablam! | Oct 14 23:30:08.114 INFO kablam! 7 | / const MESSAGE: &'static [u8] = b"Um9sbGluJyBpbiBteSA1LjAKV2l0aCBteSByYWctdG9wIGRvd24gc28gbXkg Oct 14 23:30:08.118 INFO kablam! 8 | | aGFpciBjYW4gYmxvdwpUaGUgZ2lybGllcyBvbiBzdGFuZGJ5IHdhdmluZyBq Oct 14 23:30:08.118 INFO kablam! 9 | | dXN0IHRvIHNheSBoaQpEaWQgeW91IHN0b3A/IE5vLCBJIGp1c3QgZHJvdmUg Oct 14 23:30:08.118 INFO kablam! 10 | | YnkK"; Oct 14 23:30:08.118 INFO kablam! | |______^ Oct 14 23:30:08.119 INFO kablam! Oct 14 23:30:08.119 INFO kablam! warning: function is never used: `random_input` Oct 14 23:30:08.120 INFO kablam! --> src/set2/challenge14.rs:12:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 12 | fn random_input() -> Vec { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `encryption_oracle` Oct 14 23:30:08.120 INFO kablam! --> src/set2/challenge14.rs:20:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 20 | fn encryption_oracle(attacker_input: &[u8]) -> Vec { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `find_target_permutation` Oct 14 23:30:08.120 INFO kablam! --> src/set2/challenge14.rs:27:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 27 | fn find_target_permutation(byte_index: usize, block_size: usize, marker_cipher: Vec, decrypted_bytes: &[u8]) -> Vec { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `test_byte` Oct 14 23:30:08.120 INFO kablam! --> src/set2/challenge14.rs:56:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 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:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `find_marker_block` Oct 14 23:30:08.120 INFO kablam! --> src/set2/challenge14.rs:91:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 91 | fn find_marker_block(block_size: usize) -> Vec { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: constant item is never used: `BLOCK_LENGTH` Oct 14 23:30:08.120 INFO kablam! --> src/set3/challenge17.rs:7:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 7 | const BLOCK_LENGTH: usize = 16; Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: constant item is never used: `INPUT_STRINGS` Oct 14 23:30:08.120 INFO kablam! --> src/set3/challenge17.rs:9:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 9 | / const INPUT_STRINGS: [&'static str; 10] = [ Oct 14 23:30:08.120 INFO kablam! 10 | | "MDAwMDAwTm93IHRoYXQgdGhlIHBhcnR5IGlzIGp1bXBpbmc=", Oct 14 23:30:08.120 INFO kablam! 11 | | "MDAwMDAxV2l0aCB0aGUgYmFzcyBraWNrZWQgaW4gYW5kIHRoZSBWZWdhJ3MgYXJlIHB1bXBpbic=", Oct 14 23:30:08.120 INFO kablam! 12 | | "MDAwMDAyUXVpY2sgdG8gdGhlIHBvaW50LCB0byB0aGUgcG9pbnQsIG5vIGZha2luZw==", Oct 14 23:30:08.120 INFO kablam! ... | Oct 14 23:30:08.120 INFO kablam! 19 | | "MDAwMDA5aXRoIG15IHJhZy10b3AgZG93biBzbyBteSBoYWlyIGNhbiBibG93", Oct 14 23:30:08.120 INFO kablam! 20 | | ]; Oct 14 23:30:08.120 INFO kablam! | |__^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `pad` Oct 14 23:30:08.120 INFO kablam! --> src/set3/challenge17.rs:22:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 22 | fn pad(mut input: Vec) -> Vec { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `decrypt_and_check_padding` Oct 14 23:30:08.120 INFO kablam! --> src/set3/challenge17.rs:34:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 34 | fn decrypt_and_check_padding(ciphertext: Vec, key: &[u8], iv: &[u8]) -> bool { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:08.120 INFO kablam! warning: function is never used: `test_byte` Oct 14 23:30:08.120 INFO kablam! --> src/set3/challenge17.rs:42:1 Oct 14 23:30:08.120 INFO kablam! | Oct 14 23:30:08.120 INFO kablam! 42 | fn test_byte(guess: u8, target_index: usize, attacking_block: Vec, discovered_bytes: &Vec, key: &[u8]) -> Result { Oct 14 23:30:08.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 14 23:30:08.120 INFO kablam! Oct 14 23:30:09.636 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 14.52s Oct 14 23:30:09.640 INFO kablam! su: No module specific data is present Oct 14 23:30:10.966 INFO running `"docker" "rm" "-f" "fa4e55515d212efd5bc3cae43b55dc0f7500c971da59ab5661ada2c8703cdc5d"` Oct 14 23:30:11.335 INFO blam! fa4e55515d212efd5bc3cae43b55dc0f7500c971da59ab5661ada2c8703cdc5d Oct 14 23:30:11.356 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-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:11.861 INFO blam! 4f39ea0dc6c81861ed5a4508bf6274248a66d93b573cbce57476f97f43866cb8 Oct 14 23:30:11.864 INFO running `"docker" "start" "-a" "4f39ea0dc6c81861ed5a4508bf6274248a66d93b573cbce57476f97f43866cb8"` Oct 14 23:30:14.447 INFO kablam! usermod: no changes Oct 14 23:30:14.539 INFO kablam! Compiling matasano v0.0.1 (/source) Oct 14 23:30:15.119 INFO kablam! warning: unnecessary parentheses around `while` condition Oct 14 23:30:15.119 INFO kablam! --> src/set2/challenge13.rs:72:11 Oct 14 23:30:15.119 INFO kablam! | Oct 14 23:30:15.119 INFO kablam! 72 | while (test_len == len_enc) { Oct 14 23:30:15.119 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Oct 14 23:30:15.119 INFO kablam! | Oct 14 23:30:15.119 INFO kablam! = note: #[warn(unused_parens)] on by default Oct 14 23:30:15.119 INFO kablam! Oct 14 23:30:15.456 INFO kablam! warning: value assigned to `sanitised_input` is never read Oct 14 23:30:15.457 INFO kablam! --> src/set2/challenge13.rs:17:17 Oct 14 23:30:15.457 INFO kablam! | Oct 14 23:30:15.457 INFO kablam! 17 | let mut sanitised_input = String::new(); Oct 14 23:30:15.457 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 14 23:30:15.458 INFO kablam! | Oct 14 23:30:15.458 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 14 23:30:15.458 INFO kablam! Oct 14 23:30:15.555 INFO kablam! warning: variable does not need to be mutable Oct 14 23:30:15.555 INFO kablam! --> src/set2/challenge13.rs:70:9 Oct 14 23:30:15.555 INFO kablam! | Oct 14 23:30:15.556 INFO kablam! 70 | let mut len_enc = encrypt(Profile::new(test_email.clone()).to_string()).len(); Oct 14 23:30:15.556 INFO kablam! | ----^^^^^^^ Oct 14 23:30:15.556 INFO kablam! | | Oct 14 23:30:15.556 INFO kablam! | help: remove this `mut` Oct 14 23:30:15.557 INFO kablam! | Oct 14 23:30:15.557 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 14 23:30:15.557 INFO kablam! Oct 14 23:30:18.763 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 4.29s Oct 14 23:30:18.767 INFO kablam! su: No module specific data is present Oct 14 23:30:19.509 INFO running `"docker" "rm" "-f" "4f39ea0dc6c81861ed5a4508bf6274248a66d93b573cbce57476f97f43866cb8"` Oct 14 23:30:19.778 INFO blam! 4f39ea0dc6c81861ed5a4508bf6274248a66d93b573cbce57476f97f43866cb8