[INFO] cloning repository https://github.com/amol9/matasano [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amol9/matasano" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famol9%2Fmatasano", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famol9%2Fmatasano'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e648fd17ae857f6956631865f0914bde891da204 [INFO] checking amol9/matasano against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famol9%2Fmatasano" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amol9/matasano on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amol9/matasano [INFO] finished tweaking git repo https://github.com/amol9/matasano [INFO] tweaked toml for git repo https://github.com/amol9/matasano written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/amol9/matasano already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.32 [INFO] [stderr] Downloaded libc v0.1.10 [INFO] [stderr] Downloaded gcc v0.3.13 [INFO] [stderr] Downloaded rand v0.3.10 [INFO] [stderr] Downloaded winapi v0.2.2 [INFO] [stderr] Downloaded rust-crypto v0.2.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5ab155685bbbd6738420890a5febec1991baa44e40339375696c8b665d5321c [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" "e5ab155685bbbd6738420890a5febec1991baa44e40339375696c8b665d5321c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5ab155685bbbd6738420890a5febec1991baa44e40339375696c8b665d5321c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ab155685bbbd6738420890a5febec1991baa44e40339375696c8b665d5321c", kill_on_drop: false }` [INFO] [stdout] e5ab155685bbbd6738420890a5febec1991baa44e40339375696c8b665d5321c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8ceae270cd7183adf20235666b351d0d2e7004e27f4ca98740f2a3c0e94c2f1 [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" "b8ceae270cd7183adf20235666b351d0d2e7004e27f4ca98740f2a3c0e94c2f1", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.2 [INFO] [stderr] Compiling gcc v0.3.13 [INFO] [stderr] Checking libc v0.1.10 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Compiling kernel32-sys v0.1.4 [INFO] [stderr] Checking time v0.1.32 [INFO] [stderr] Checking rand v0.3.10 [INFO] [stderr] Compiling rust-crypto v0.2.31 [INFO] [stderr] Checking matasano v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let a: u8 = try!(hex_char_to_u8(chars_iter.next().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let b: u8 = try!(hex_char_to_u8(chars_iter.next().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | result.push(try!(u8_to_hex_char::(n >> 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | result.push(try!(u8_to_hex_char::(n & 0xF))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | let mut b64char: char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let b3 = try!(base64_to_u8(buf[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let b4 = try!(base64_to_u8(buf[3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let b3 = try!(base64_to_u8(buf[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(try!(raw_to_base64(&try!(hex::hex_to_raw(&input))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(try!(raw_to_base64(&try!(hex::hex_to_raw(&input))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | let xc = try!(hex::hex_char_to_u8(h1.unwrap())) << 4 | try!(hex::hex_char_to_u8(h2.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | let xc = try!(hex::hex_char_to_u8(h1.unwrap())) << 4 | try!(hex::hex_char_to_u8(h2.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | dist = try!(options.weighted_distance(&xor(&cipher, key), *(weight_it.next().unwrap()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | dist = try!(options.distance(&xor(&cipher, key))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let best_key = try!(options.idx_to_key(best_key_idx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/cipher/one_byte_xor.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | (self.distance_fn)(rts!(&input).as_ref()) [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | Ok((self.weight_fn)(try!(self.distance(&input)), weight)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/padding.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let padsize = try!(pkcs7_detect(&block, blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/padding.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let padsize = try!(pkcs7_detect(&paddedtext.as_bytes().to_vec(), blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let padded = try!(mode.pad(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | result = try!(mode.encrypt(&padded, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | result = try!(mode.encrypt(&input, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let result = try!(mode.decrypt(input, key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let mut block_cipher = try!(iv(&mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | let last = try!(mode.pad(&block_v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&last, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&last, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&block_v, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&block_v, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | let mut block_plain = try!(xor::xor(&block_cipher, &try!(decrypt_ecb(&block_v, &key, &mode)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:221:61 [INFO] [stdout] | [INFO] [stdout] 221 | let mut block_plain = try!(xor::xor(&block_cipher, &try!(decrypt_ecb(&block_v, &key, &mode)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:223:27 [INFO] [stdout] | [INFO] [stdout] 223 | block_plain = try!(mode.unpad(&block_plain)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | output.push(try!(self.next_ks_byte()) ^ i); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | state.keystream = try!(encrypt(&rawjoin!(&end::little(self.nonce), &end::little(state.counter)), &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | key: try!(key::random(match mode.blocksize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | data.extend(&try!(self.random_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let plain_base64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let clean_base64 = try!(ascii::filter_whitespace(&plain_base64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let plainraw = try!(base64::base64_to_raw(&plaintext_base64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let cipher = try!(cipherbox.encrypt(&block)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | dict.push(try!(get_prefix_cipher(&input, &cbox, &block_a))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let cipher = try!(cbox.encrypt(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let out = try!(ascii::str_to_raw(&format!("{}\n", freq))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let base_freq = try!(get_base_freq()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let guess_freq = try!(compute_char_frequency(&text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let rx: Vec = try!(hex::hex_to_raw(x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let ry: Vec = try!(hex::hex_to_raw(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let rr: Vec = try!(xor::xor(&rx, &ry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let result = try!(hex::raw_to_hex::(&rr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectxorcipher.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let text = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ( $x : expr ) => ( try!( hex::hex_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set1/detectxorcipher.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | match obx::guess_key(&htr!(&hexstr), None) { [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let keylengths = try!(guess_key_length(&cipherraw, KEYLENGTH_GUESS_COUNT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let key = try!(guess_key(&cipherraw, keylength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let guessraw = try!(rkx::decrypt_raw(&cipherraw, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let guesstext = try!(ascii::raw_to_str(&guessraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let dist: f32 = try!(charfreq::distance_from_base(&guesstext)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let keystr = try!(ascii::raw_to_str(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let keybyte: u8 = try!(obx::guess_key(&slice, None)).key; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let keyraw = try!(ascii::str_to_raw(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let plainraw = try!(aes::decrypt(&cipherraw, &keyraw, &aes::ecb_128_pkcs7)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectaesecb.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let input = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectaesecb.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | ciphers.push(try!(hex::hex_to_raw(line))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let keyraw = try!(ascii::str_to_raw(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let plainraw = try!(aes::decrypt(&cipherraw, &keyraw, &aes::cbc_128_pkcs7)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let key = try!(key::random(mode.blocksize.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let cipher = try!(gen_cipher(&input, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if try!(oracle::detect_aes_ecb(&cipher, mode.blocksize.unwrap())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | let (blocksize, plaintext_size) = try!(detect_blocksize_plainsize(&cbox, max_blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | ctry!(!try!(oracle::detect_aes_ecb(&try!(cbox.encrypt(&vec![65 as u8; 2 * blocksize])), blocksize)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | ctry!(!try!(oracle::detect_aes_ecb(&try!(cbox.encrypt(&vec![65 as u8; 2 * blocksize])), blocksize)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let cipher = try!(cbox.encrypt(&prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let dict = try!(cb::make_dict(&dict_prefix, &cbox, max_u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:56:83 [INFO] [stdout] | [INFO] [stdout] 56 | ctry!(raw_char == 0, format!("no match for character at pos: {} \n{}", i, try!(ascii::raw_to_str(&plainraw)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | dict_prefix = try!(util::shift_left_and_push(&dict_prefix, raw_char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | let len1 = try!(cbox.encrypt(&Vec::::new())).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let len2 = try!(cbox.encrypt(&prefix)).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(try!(url::encode(&vec![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let params = try!(url::decode(¶m_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | key: try!(key::random(mode.blocksize.unwrap())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let plain_raw = try!(aes::decrypt(&cipher, &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let plain_str = rts!(&plain_raw); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let user = try!(User::decode(&plain_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let email_str = rts!(&email); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let encoded = try!(user.encode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let enc_raw = raw!(&encoded); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(try!(aes::encrypt(&enc_raw, &self.key, &self.mode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let blocksize = try!(detect_blocksize(&authbox, max_blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let padded_suffix_raw = try!((padding::Pkcs7.pad_fn)(&raw!("admin"), blocksize)); //"admin+padding" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | let padded_suffix_raw = try!((padding::Pkcs7.pad_fn)(&raw!("admin"), blocksize)); //"admin+padding" [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let mut email_raw = raw!(&email); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let token = try!(authbox.profile_for(&email_raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let token2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, "@", &email_domain).as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let token2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, "@", &email_domain).as_ref()))); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let role = try!(authbox.authenticate(&new_token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | let len1 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | let len1 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let len2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | let len2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(try!(AuthBox::new())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let cipher = try!(cbox.encrypt(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let block_a = try!(find_cons_same_cipher_block(&cipher, blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let mut ciphers = try!(find_target_ciphers_for_each_byte_shift(&cbox, blocksize, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut plaintext, ord_ciphers, finished) = try!(break_first_block(&cbox, blocksize, &block_a, &mut ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | plaintext = try!(break_rem_blocks(&cbox, blocksize, &block_a, &ord_ciphers, &plaintext)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let cipher = try!(cbox.encrypt(&input)); // so, we do large enough number of trials [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let dict = try!(cb::make_dict_for_random_prefix_cb(&prefix, &cbox, &valid_chars, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | prefix = try!(util::shift_left_and_push(&prefix, c as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/breakaesecb2.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let mut prefix = raw!(&plaintext); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | let dict = try!(cb::make_dict_for_random_prefix_cb(&prefix, &cbox, &valid_chars, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | prefix = try!(util::shift_left_and_push(&prefix, c as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | chex.push(try!(hex::u8_to_hex_char::(*c as u8 >> 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | chex.push(try!(hex::u8_to_hex_char::(*c as u8 & 0xF))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | key: try!(key::random(mode.blocksize.unwrap())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let plain_raw = try!(aes::decrypt(&cipher, &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let plain_str = rts!(&plain_raw); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let raw = raw!(strjoin!("comment1=", &self.escape(&comment1), [INFO] [stdout] | ___________________- [INFO] [stdout] 62 | | ";userdata=", &self.escape(&userdata), [INFO] [stdout] 63 | | ";comment2=", &self.escape(&comment2)).as_ref()); [INFO] [stdout] | |________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let a: u8 = try!(hex_char_to_u8(chars_iter.next().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let b: u8 = try!(hex_char_to_u8(chars_iter.next().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | result.push(try!(u8_to_hex_char::(n >> 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | result.push(try!(u8_to_hex_char::(n & 0xF))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | let mut b64char: char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | b64char = try!(u8_to_base64(b64index)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | let b3 = try!(base64_to_u8(buf[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let b4 = try!(base64_to_u8(buf[3])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let b1 = try!(base64_to_u8(buf[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let b2 = try!(base64_to_u8(buf[1])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let b3 = try!(base64_to_u8(buf[2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(try!(raw_to_base64(&try!(hex::hex_to_raw(&input))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(try!(raw_to_base64(&try!(hex::hex_to_raw(&input))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | let xc = try!(hex::hex_char_to_u8(h1.unwrap())) << 4 | try!(hex::hex_char_to_u8(h2.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | let xc = try!(hex::hex_char_to_u8(h1.unwrap())) << 4 | try!(hex::hex_char_to_u8(h2.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | dist = try!(options.weighted_distance(&xor(&cipher, key), *(weight_it.next().unwrap()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | dist = try!(options.distance(&xor(&cipher, key))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let best_key = try!(options.idx_to_key(best_key_idx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/common/cipher/one_byte_xor.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | (self.distance_fn)(rts!(&input).as_ref()) [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/one_byte_xor.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | Ok((self.weight_fn)(try!(self.distance(&input)), weight)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/padding.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let padsize = try!(pkcs7_detect(&block, blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/padding.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let padsize = try!(pkcs7_detect(&paddedtext.as_bytes().to_vec(), blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let padded = try!(mode.pad(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | result = try!(mode.encrypt(&padded, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | result = try!(mode.encrypt(&input, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | let result = try!(mode.decrypt(input, key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let mut block_cipher = try!(iv(&mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:192:23 [INFO] [stdout] | [INFO] [stdout] 192 | let last = try!(mode.pad(&block_v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&last, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:193:45 [INFO] [stdout] | [INFO] [stdout] 193 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&last, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:195:27 [INFO] [stdout] | [INFO] [stdout] 195 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&block_v, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:195:45 [INFO] [stdout] | [INFO] [stdout] 195 | block_cipher = try!(encrypt_ecb(&try!(xor::xor(&block_v, &block_cipher)), &key, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | let mut block_plain = try!(xor::xor(&block_cipher, &try!(decrypt_ecb(&block_v, &key, &mode)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:221:61 [INFO] [stdout] | [INFO] [stdout] 221 | let mut block_plain = try!(xor::xor(&block_cipher, &try!(decrypt_ecb(&block_v, &key, &mode)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:223:27 [INFO] [stdout] | [INFO] [stdout] 223 | block_plain = try!(mode.unpad(&block_plain)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | output.push(try!(self.next_ks_byte()) ^ i); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/aes.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | state.keystream = try!(encrypt(&rawjoin!(&end::little(self.nonce), &end::little(state.counter)), &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | key: try!(key::random(match mode.blocksize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | data.extend(&try!(self.random_data())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let plain_base64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 68 | let clean_base64 = try!(ascii::filter_whitespace(&plain_base64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | println!("submitted: {}", rts!(&raw)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(try!(aes::encrypt(&raw, &self.key, &self.mode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let plainraw = try!(base64::base64_to_raw(&plaintext_base64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | let cipher = try!(cipherbox.encrypt(&block)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | dict.push(try!(get_prefix_cipher(&input, &cbox, &block_a))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut cipher = try!(authbox.submit(&comment1, &userdata, &comment2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(try!(AuthBox::new())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | cbox: try!(cb::CipherBox::new(&vec![], aes::cbc_128_pkcs7)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/cipher/cipherbox.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | let cipher = try!(cbox.encrypt(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let out = try!(ascii::str_to_raw(&format!("{}\n", freq))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | let base_freq = try!(get_base_freq()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | let guess_freq = try!(compute_char_frequency(&text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/paddingoracle.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | self.cbox.encrypt(&raw!(self.strings[rand_idx])) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let cipher = try!(obox.get_cipher()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let plain_block = try!(break_last_block(&obox, &b12, blocksize)); // break one block at a time [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let rx: Vec = try!(hex::hex_to_raw(x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | let ry: Vec = try!(hex::hex_to_raw(y)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let rr: Vec = try!(xor::xor(&rx, &ry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/paddingoracle.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(rts!(&try!(padding::pkcs7_unpad(&plain, blocksize)))) [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/fixedxor.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let result = try!(hex::raw_to_hex::(&rr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectxorcipher.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let text = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(rts!(&try!(padding::pkcs7_unpad(&plain, blocksize)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | match try!(obox.dec_oracle(&rawjoin!(b1.into_iter(), last_block.clone().into_iter()))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let ctr = aes::CTR::new(&raw!(&key), 0); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/hex.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | ( $x : expr ) => ( try!( hex::hex_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set1/detectxorcipher.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | match obx::guess_key(&htr!(&hexstr), None) { [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/ctr.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let keylengths = try!(guess_key_length(&cipherraw, KEYLENGTH_GUESS_COUNT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let key = try!(guess_key(&cipherraw, keylength)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | let guessraw = try!(rkx::decrypt_raw(&cipherraw, &key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | ( $x : expr ) => ( try! ( base64::base64_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let guesstext = try!(ascii::raw_to_str(&guessraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | cw = try!(filter_candidates(tidx, &tc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | cw = try!(filter_candidates_for_last_chars(&ciphers, &keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let dist: f32 = try!(charfreq::distance_from_base(&guesstext)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | let keystr = try!(ascii::raw_to_str(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(options.set_candidates(&cw.0, &weights)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/breakrptxor.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | let keybyte: u8 = try!(obx::guess_key(&slice, None)).key; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | keystream.push(try!(obx::guess_key(&col, Some(&options))).key); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | ( $x : expr, $y : expr, $z : expr ) => ( try!(charfreq::trigrams_col( $x, $y, $z )).iter().map(|t| t.0).collect() ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let tri_col: Vec = trigrams_col_no_weights!(col, trigrams_limit, ""); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | let tcol: Vec<(u8, u32)> = try!(charfreq::trigrams_col(2, trigrams_limit_last_characters, rts!(&p.0).as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:157:99 [INFO] [stdout] | [INFO] [stdout] 157 | let tcol: Vec<(u8, u32)> = try!(charfreq::trigrams_col(2, trigrams_limit_last_characters, rts!(&p.0).as_ref())); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let keyraw = try!(ascii::str_to_raw(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let plainraw = try!(aes::decrypt(&cipherraw, &keyraw, &aes::ecb_128_pkcs7)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/aesdecrypt.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectaesecb.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let input = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | let text = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | let cbox = try!(cb::CipherBox::new(&vec![], aes::ctr_128)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | ciphers.push(try!(cbox.encrypt(&b64tr!(&line)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set1/detectaesecb.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | ciphers.push(try!(hex::hex_to_raw(line))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let cipherbase64 = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | let cipherclean = try!(ascii::filter_whitespace(&cipherbase64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | let cipherraw = try!(base64::base64_to_raw(&cipherclean)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | ( $x : expr ) => ( try! ( base64::base64_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | ciphers.push(try!(cbox.encrypt(&b64tr!(&line)))); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let keystream = try!(break_ctr(&ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let plains = try!(manual_guess_for_last_chars(&ciphers, &keystream, &guesses)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let keyraw = try!(ascii::str_to_raw(&key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let plainraw = try!(aes::decrypt(&cipherraw, &keyraw, &aes::cbc_128_pkcs7)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aescbc.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let key = try!(key::random(mode.blocksize.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | let suffix_r = raw!(&suffix); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | keystream = try!(fix_keystream(guess.0, guess.1, &ciphers, &mut keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 42 | let cipher = try!(gen_cipher(&input, &mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/aesoracle.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | if try!(oracle::detect_aes_ecb(&cipher, mode.blocksize.unwrap())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | let (blocksize, plaintext_size) = try!(detect_blocksize_plainsize(&cbox, max_blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | let user_input = try!(util::input("enter guess (line no, last chars) [blank to exit]: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | keystream = try!(fix_keystream(line_no, &suffix, &ciphers, &mut keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | ctry!(!try!(oracle::detect_aes_ecb(&try!(cbox.encrypt(&vec![65 as u8; 2 * blocksize])), blocksize)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | keystream.push(try!(obx::guess_key(&col, Some(&options))).key); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let keystream = try!(break_ctr(&ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | ctry!(!try!(oracle::detect_aes_ecb(&try!(cbox.encrypt(&vec![65 as u8; 2 * blocksize])), blocksize)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let cipher = try!(cbox.encrypt(&prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let dict = try!(cb::make_dict(&dict_prefix, &cbox, max_u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let plains = try!(breakctr::manual_guess_for_last_chars(&ciphers, &keystream, &guesses)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/err.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / macro_rules! ertry { [INFO] [stdout] 87 | | ( $x : expr ) => ( [INFO] [stdout] 88 | | match $x { [INFO] [stdout] 89 | | Ok(v) => v, [INFO] [stdout] 90 | | Err(e) => return e [INFO] [stdout] 91 | | } ); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/hex.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 0 ... 9 => char::from_u32(dec as u32 + 48).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:56:83 [INFO] [stdout] | [INFO] [stdout] 56 | ctry!(raw_char == 0, format!("no match for character at pos: {} \n{}", i, try!(ascii::raw_to_str(&plainraw)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | dict_prefix = try!(util::shift_left_and_push(&dict_prefix, raw_char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let plaintext = try!(ascii::raw_to_str(&plainraw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | let len1 = try!(cbox.encrypt(&Vec::::new())).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/hex.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | 10 ... 15 => T::u8_to_hex(dec).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/hex.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / macro_rules! rth { [INFO] [stdout] 88 | | ( $x : expr ) => ( try!( hex::raw_to_hex( $x ) ) ); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 0 ... 25 => index + 65, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let len2 = try!(cbox.encrypt(&prefix)).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | Ok(try!(url::encode(&vec![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let params = try!(url::decode(¶m_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | 26 ... 51 => index + 71, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | 52 ... 61 => index - 4, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | 65 ... 90 => b64char as u8 - 65, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | key: try!(key::random(mode.blocksize.unwrap())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let plain_raw = try!(aes::decrypt(&cipher, &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | let plain_str = rts!(&plain_raw); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 97 ... 122 => b64char as u8 - 71, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | 48 ... 57 => b64char as u8 + 4, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/ascii.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / macro_rules! rawd { [INFO] [stdout] 150 | | ( $x : expr ) => ( ascii::display_raw( $x ) ); [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let user = try!(User::decode(&plain_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:78:25 [INFO] [stdout] | [INFO] [stdout] 78 | let email_str = rts!(&email); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:81:23 [INFO] [stdout] | [INFO] [stdout] 81 | let encoded = try!(user.encode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/set2/breakaesecb.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / macro_rules! printr { [INFO] [stdout] 22 | | ( $x : expr ) => ( try!(ascii::raw_to_str($x)) ); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/set3/breakctr2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let enc_raw = raw!(&encoded); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(try!(aes::encrypt(&enc_raw, &self.key, &self.mode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let blocksize = try!(detect_blocksize(&authbox, max_blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | let padded_suffix_raw = try!((padding::Pkcs7.pad_fn)(&raw!("admin"), blocksize)); //"admin+padding" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:103:59 [INFO] [stdout] | [INFO] [stdout] 103 | let padded_suffix_raw = try!((padding::Pkcs7.pad_fn)(&raw!("admin"), blocksize)); //"admin+padding" [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let mut email_raw = raw!(&email); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let token = try!(authbox.profile_for(&email_raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let token2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, "@", &email_domain).as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:119:44 [INFO] [stdout] | [INFO] [stdout] 119 | let token2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, "@", &email_domain).as_ref()))); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | let role = try!(authbox.authenticate(&new_token)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | let len1 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:142:42 [INFO] [stdout] | [INFO] [stdout] 142 | let len1 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | let len2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/ecbadmin.rs:146:46 [INFO] [stdout] | [INFO] [stdout] 146 | let len2 = try!(authbox.profile_for(&raw!(strjoin!(&email_name, &email_domain).as_ref()))).len(); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/ecbadmin.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(try!(AuthBox::new())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let cipher = try!(cbox.encrypt(&input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | let block_a = try!(find_cons_same_cipher_block(&cipher, blocksize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | let mut ciphers = try!(find_target_ciphers_for_each_byte_shift(&cbox, blocksize, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:30:50 [INFO] [stdout] | [INFO] [stdout] 30 | let (mut plaintext, ord_ciphers, finished) = try!(break_first_block(&cbox, blocksize, &block_a, &mut ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | plaintext = try!(break_rem_blocks(&cbox, blocksize, &block_a, &ord_ciphers, &plaintext)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let cipher = try!(cbox.encrypt(&input)); // so, we do large enough number of trials [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | let dict = try!(cb::make_dict_for_random_prefix_cb(&prefix, &cbox, &valid_chars, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | prefix = try!(util::shift_left_and_push(&prefix, c as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/breakaesecb2.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let mut prefix = raw!(&plaintext); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | let dict = try!(cb::make_dict_for_random_prefix_cb(&prefix, &cbox, &valid_chars, &block_a)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/breakaesecb2.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | prefix = try!(util::shift_left_and_push(&prefix, c as u8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | chex.push(try!(hex::u8_to_hex_char::(*c as u8 >> 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | chex.push(try!(hex::u8_to_hex_char::(*c as u8 & 0xF))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | key: try!(key::random(mode.blocksize.unwrap())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | let plain_raw = try!(aes::decrypt(&cipher, &self.key, &self.mode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let plain_str = rts!(&plain_raw); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let raw = raw!(strjoin!("comment1=", &self.escape(&comment1), [INFO] [stdout] | ___________________- [INFO] [stdout] 62 | | ";userdata=", &self.escape(&userdata), [INFO] [stdout] 63 | | ";comment2=", &self.escape(&comment2)).as_ref()); [INFO] [stdout] | |________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set2/cbcadmin.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | println!("submitted: {}", rts!(&raw)); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(try!(aes::encrypt(&raw, &self.key, &self.mode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let mut cipher = try!(authbox.submit(&comment1, &userdata, &comment2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set2/cbcadmin.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | Ok(try!(AuthBox::new())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | cbox: try!(cb::CipherBox::new(&vec![], aes::cbc_128_pkcs7)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/paddingoracle.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | self.cbox.encrypt(&raw!(self.strings[rand_idx])) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | let cipher = try!(obox.get_cipher()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | let plain_block = try!(break_last_block(&obox, &b12, blocksize)); // break one block at a time [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/paddingoracle.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(rts!(&try!(padding::pkcs7_unpad(&plain, blocksize)))) [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(rts!(&try!(padding::pkcs7_unpad(&plain, blocksize)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/paddingoracle.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | match try!(obox.dec_oracle(&rawjoin!(b1.into_iter(), last_block.clone().into_iter()))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | let ctr = aes::CTR::new(&raw!(&key), 0); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/ctr.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | ( $x : expr ) => ( try! ( base64::base64_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/ctr.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(rts!(&try!(ctr.gen(&b64tr!(&input_b64))))) [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | cw = try!(filter_candidates(tidx, &tc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | cw = try!(filter_candidates_for_last_chars(&ciphers, &keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(options.set_candidates(&cw.0, &weights)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | keystream.push(try!(obx::guess_key(&col, Some(&options))).key); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/charfreq.rs:113:46 [INFO] [stdout] | [INFO] [stdout] 113 | ( $x : expr, $y : expr, $z : expr ) => ( try!(charfreq::trigrams_col( $x, $y, $z )).iter().map(|t| t.0).collect() ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let tri_col: Vec = trigrams_col_no_weights!(col, trigrams_limit, ""); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | let tcol: Vec<(u8, u32)> = try!(charfreq::trigrams_col(2, trigrams_limit_last_characters, rts!(&p.0).as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | ( $x : expr ) => ( try!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:157:99 [INFO] [stdout] | [INFO] [stdout] 157 | let tcol: Vec<(u8, u32)> = try!(charfreq::trigrams_col(2, trigrams_limit_last_characters, rts!(&p.0).as_ref())); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:266:16 [INFO] [stdout] | [INFO] [stdout] 266 | let text = try!(util::read_file_to_str(&filepath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:268:16 [INFO] [stdout] | [INFO] [stdout] 268 | let cbox = try!(cb::CipherBox::new(&vec![], aes::ctr_128)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | ciphers.push(try!(cbox.encrypt(&b64tr!(&line)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/base64.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | ( $x : expr ) => ( try! ( base64::base64_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | ciphers.push(try!(cbox.encrypt(&b64tr!(&line)))); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let keystream = try!(break_ctr(&ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | let plains = try!(manual_guess_for_last_chars(&ciphers, &keystream, &guesses)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/common/ascii.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ( $x : expr ) => ( try!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/set3/breakctr.rs:310:24 [INFO] [stdout] | [INFO] [stdout] 310 | let suffix_r = raw!(&suffix); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:327:25 [INFO] [stdout] | [INFO] [stdout] 327 | keystream = try!(fix_keystream(guess.0, guess.1, &ciphers, &mut keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:334:30 [INFO] [stdout] | [INFO] [stdout] 334 | let user_input = try!(util::input("enter guess (line no, last chars) [blank to exit]: ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr.rs:346:25 [INFO] [stdout] | [INFO] [stdout] 346 | keystream = try!(fix_keystream(line_no, &suffix, &ciphers, &mut keystream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | keystream.push(try!(obx::guess_key(&col, Some(&options))).key); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let keystream = try!(break_ctr(&ciphers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/set3/breakctr2.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let plains = try!(breakctr::manual_guess_for_last_chars(&ciphers, &keystream, &guesses)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/err.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / macro_rules! ertry { [INFO] [stdout] 87 | | ( $x : expr ) => ( [INFO] [stdout] 88 | | match $x { [INFO] [stdout] 89 | | Ok(v) => v, [INFO] [stdout] 90 | | Err(e) => return e [INFO] [stdout] 91 | | } ); [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/hex.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 0 ... 9 => char::from_u32(dec as u32 + 48).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/hex.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | 10 ... 15 => T::u8_to_hex(dec).unwrap(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/hex.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / macro_rules! rth { [INFO] [stdout] 88 | | ( $x : expr ) => ( try!( hex::raw_to_hex( $x ) ) ); [INFO] [stdout] 89 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | 0 ... 25 => index + 65, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | 26 ... 51 => index + 71, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | 52 ... 61 => index - 4, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | 65 ... 90 => b64char as u8 - 65, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | 97 ... 122 => b64char as u8 - 71, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/common/base64.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | 48 ... 57 => b64char as u8 + 4, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/common/ascii.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | / macro_rules! rawd { [INFO] [stdout] 150 | | ( $x : expr ) => ( ascii::display_raw( $x ) ); [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/set2/breakaesecb.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / macro_rules! printr { [INFO] [stdout] 22 | | ( $x : expr ) => ( try!(ascii::raw_to_str($x)) ); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/set3/breakctr2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/common/hex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/common/hex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/common/hex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::crypto::symmetriccipher::Decryptor` [INFO] [stdout] --> src/common/cipher/aes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::crypto::symmetriccipher::Decryptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/set3/breakctr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/url.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut nv = &mut pair.split('='); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/common/hex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::crypto::symmetriccipher::Decryptor` [INFO] [stdout] --> src/common/cipher/aes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use self::crypto::symmetriccipher::Decryptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/set3/breakctr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/set3/breakctr.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | None => { let mut b = buf_it.next().unwrap(); b.clear(); continue; } [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 191 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / macro_rules! r { [INFO] [stdout] 4 | | ( $x : expr ) => ( match $x { [INFO] [stdout] 5 | | Ok(v) => v, [INFO] [stdout] 6 | | Err(e) => { println!("{}", e); assert!(false); return; } [INFO] [stdout] 7 | | } ); [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common/url.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut nv = &mut pair.split('='); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / macro_rules! rr { [INFO] [stdout] 12 | | ( $x : expr, $ret: expr ) => ( match $x { [INFO] [stdout] 13 | | Ok(v) => v, [INFO] [stdout] 14 | | Err(e) => { println!("{}", e); assert!(false); return $ret; } [INFO] [stdout] 15 | | } ); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / macro_rules! re { [INFO] [stdout] 22 | | ( $x : expr ) => ( match $x { [INFO] [stdout] 23 | | Ok(_) => false, [INFO] [stdout] 24 | | Err(e) => { println!("{}", e); true } [INFO] [stdout] 25 | | } ); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / macro_rules! rn { [INFO] [stdout] 30 | | ( $x : expr ) => ( rr!( $x , None ) ); [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / macro_rules! raw { [INFO] [stdout] 34 | | ( $x : expr ) => ( r!( ascii::str_to_raw( $x ) ) ); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/macros.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / macro_rules! rts { [INFO] [stdout] 38 | | ( $x : expr ) => ( r!( ascii::raw_to_str( $x ) ) ); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> tests/common/hex.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / macro_rules! rth_err { [INFO] [stdout] 37 | | ( $x: expr, $y: expr ) => ( _rth!($x, $y, true) ); [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/set3/breakctr.rs:217:38 [INFO] [stdout] | [INFO] [stdout] 217 | None => { let mut b = buf_it.next().unwrap(); b.clear(); continue; } [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 191 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.92s [INFO] running `Command { std: "docker" "inspect" "b8ceae270cd7183adf20235666b351d0d2e7004e27f4ca98740f2a3c0e94c2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8ceae270cd7183adf20235666b351d0d2e7004e27f4ca98740f2a3c0e94c2f1", kill_on_drop: false }` [INFO] [stdout] b8ceae270cd7183adf20235666b351d0d2e7004e27f4ca98740f2a3c0e94c2f1