[INFO] fetching crate encryptfile 0.1.3... [INFO] checking encryptfile-0.1.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate encryptfile 0.1.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate encryptfile 0.1.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate encryptfile 0.1.3 [INFO] finished tweaking crates.io crate encryptfile 0.1.3 [INFO] tweaked toml for crates.io crate encryptfile 0.1.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e5a39f7b6015b549a52eec5f1423fb465a073d11f275889bb651391928b4145 [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" "1e5a39f7b6015b549a52eec5f1423fb465a073d11f275889bb651391928b4145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5a39f7b6015b549a52eec5f1423fb465a073d11f275889bb651391928b4145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5a39f7b6015b549a52eec5f1423fb465a073d11f275889bb651391928b4145", kill_on_drop: false }` [INFO] [stdout] 1e5a39f7b6015b549a52eec5f1423fb465a073d11f275889bb651391928b4145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fe782c44201de4420d0e0df8746967b5a2aea841c5a6aeebd928e09e72fb6f7 [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" "2fe782c44201de4420d0e0df8746967b5a2aea841c5a6aeebd928e09e72fb6f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking encryptfile v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Func(Rc IvArray>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> IvArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | Func(Rc PwKeyArray>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> PwKeyArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto_util.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | Encrypting(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crypto::symmetriccipher::Encryptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto_util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Decrypting(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crypto::symmetriccipher::Decryptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto_util.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let result = try!(encryptor.encrypt(&mut read_buffer, [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/crypto_util.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let result = try!(decryptor.decrypt(&mut read_buffer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(s.write_u64::(self.magic)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(s.write_u32::(self.fversion)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(s.write_u32::(self.hmac_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(s.write_u32::(self.key_md_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(s.write_all(&self.iv)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&self, s: &mut Write) -> Result<(), EncryptError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | magic: try!(s.read_u64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | fversion: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | hmac_len: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | key_md_size: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let nread = try!(s.read(&mut header.iv)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(header.verify()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read(s: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(md.write_u32::(MD_TYPE_SCRYPT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(md.write_u8(logn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(md.write_u32::(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(md.write_u32::(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let nread = try!(s.read(&mut raw_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let ktype = try!(s.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | let logn = ScryptLogN(try!(s.read_u8())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | let r = ScryptR(try!(s.read_u32::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let p = ScryptP(try!(s.read_u32::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | fn read_key_metadata(s: &mut Read, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let pwkey = try!(super::get_pw_key(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | let key_md = try!(get_key_metadata(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | try!(out_stream.write_all(&header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let num_read = try!(in_stream.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | Ok(d) => try!(out_stream.write_all(&d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | try!(out_stream.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | try!(header.write(&mut out_stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | try!(out_stream.write_all(&hmac)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | try!(out_stream.seek(SeekFrom::Current(hmac_unused as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | try!(out_stream.write_all(&key_md)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | let pos = try!(out_stream.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | mut in_stream: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | mut out_stream: Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | let header = try!(FileHeader::read(&mut in_stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let nread = try!(in_stream.read(&mut hmac_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | try!(in_stream.seek(SeekFrom::Current(hmac_unused as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:253:38 [INFO] [stdout] | [INFO] [stdout] 253 | let (method, raw_md_bytes) = try!(read_key_metadata(&mut in_stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let key = try!(match *state.config.get_password() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let key = try!(super::get_pw_key(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | try!(in_stream.seek(SeekFrom::Start(header_capacity as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let num_read = try!(in_stream.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(d) => try!(out_stream.write_all(&d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | mut in_stream: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | mut out_stream: Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> u8` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Func(Rc IvArray>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> IvArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | Func(Rc PwKeyArray>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> PwKeyArray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto_util.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | Encrypting(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crypto::symmetriccipher::Encryptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypto_util.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Decrypting(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crypto::symmetriccipher::Decryptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypto_util.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let result = try!(encryptor.encrypt(&mut read_buffer, [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/crypto_util.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | let result = try!(decryptor.decrypt(&mut read_buffer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(s.write_u64::(self.magic)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(s.write_u32::(self.fversion)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(s.write_u32::(self.hmac_len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(s.write_u32::(self.key_md_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(s.write_all(&self.iv)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&self, s: &mut Write) -> Result<(), EncryptError> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | magic: try!(s.read_u64::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | fversion: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | hmac_len: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | key_md_size: try!(s.read_u32::()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let nread = try!(s.read(&mut header.iv)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | try!(header.verify()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read(s: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(md.write_u32::(MD_TYPE_SCRYPT)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(md.write_u8(logn)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | InputStream::File(ref file) => Box::new(try!(File::open(file))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | Box::new(try!(OpenOptions::new().read(true).write(true).create(true).open(file))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | let iv = try!(get_iv(c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | try!(encrypt(state, in_stream, out_stream)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | let tstream = try!(File::create(&tmp_outpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | try!(decrypt(state, in_stream, Box::new(tstream))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | try!(rename(tmp_outpath, fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | try!(decrypt(state, in_stream, out_stream)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let in_stream: Box = match *c.get_input_stream() { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let out_stream: Box = match *c.get_output_stream() { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(md.write_u32::(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(md.write_u32::(p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let nread = try!(s.read(&mut raw_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let ktype = try!(s.read_u32::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:148:39 [INFO] [stdout] | [INFO] [stdout] 148 | let logn = ScryptLogN(try!(s.read_u8())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | let r = ScryptR(try!(s.read_u32::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let p = ScryptP(try!(s.read_u32::())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | fn read_key_metadata(s: &mut Read, [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | let pwkey = try!(super::get_pw_key(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | let key_md = try!(get_key_metadata(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | try!(out_stream.write_all(&header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | let num_read = try!(in_stream.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | Ok(d) => try!(out_stream.write_all(&d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | try!(out_stream.seek(SeekFrom::Start(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | try!(header.write(&mut out_stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | try!(out_stream.write_all(&hmac)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | try!(out_stream.seek(SeekFrom::Current(hmac_unused as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | try!(out_stream.write_all(&key_md)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | let pos = try!(out_stream.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | mut in_stream: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | mut out_stream: Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | let header = try!(FileHeader::read(&mut in_stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let nread = try!(in_stream.read(&mut hmac_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | try!(in_stream.seek(SeekFrom::Current(hmac_unused as i64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:253:38 [INFO] [stdout] | [INFO] [stdout] 253 | let (method, raw_md_bytes) = try!(read_key_metadata(&mut in_stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:255:19 [INFO] [stdout] | [INFO] [stdout] 255 | let key = try!(match *state.config.get_password() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let key = try!(super::get_pw_key(state.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | try!(in_stream.seek(SeekFrom::Start(header_capacity as u64))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let num_read = try!(in_stream.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/crypt.rs:298:22 [INFO] [stdout] | [INFO] [stdout] 298 | Ok(d) => try!(out_stream.write_all(&d)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | mut in_stream: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/crypt.rs:237:36 [INFO] [stdout] | [INFO] [stdout] 237 | mut out_stream: Box) [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:288:49 [INFO] [stdout] | [INFO] [stdout] 288 | InputStream::File(ref file) => Box::new(try!(File::open(file))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | Box::new(try!(OpenOptions::new().read(true).write(true).create(true).open(file))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:324:22 [INFO] [stdout] | [INFO] [stdout] 324 | let iv = try!(get_iv(c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | try!(encrypt(state, in_stream, out_stream)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | let tstream = try!(File::create(&tmp_outpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | try!(decrypt(state, in_stream, Box::new(tstream))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | try!(rename(tmp_outpath, fname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:343:17 [INFO] [stdout] | [INFO] [stdout] 343 | try!(decrypt(state, in_stream, out_stream)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | let in_stream: Box = match *c.get_input_stream() { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn SeekRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let out_stream: Box = match *c.get_output_stream() { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn SeekWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/lib.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | let mut first = &mut iv[0..IV_SIZE / 2]; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut second = &mut iv[IV_SIZE / 2..IV_SIZE]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypt.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut buf = state.read_buf; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/lib.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/lib.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypt.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut buf = state.read_buf; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 70 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:205:25 [INFO] [stdout] | [INFO] [stdout] 205 | let mut first = &mut iv[0..IV_SIZE / 2]; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut second = &mut iv[IV_SIZE / 2..IV_SIZE]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypt.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut buf = state.read_buf; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypt.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | let mut buf = state.read_buf; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crypt.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | format!("Expected '{}', got '{}'", expected, s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 390 | "Expected '{}', got '{}'", expected, s); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 359 | assert!(xs == ys, failmsg); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 359 | assert!(xs == ys, "{}", failmsg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.80s [INFO] running `Command { std: "docker" "inspect" "2fe782c44201de4420d0e0df8746967b5a2aea841c5a6aeebd928e09e72fb6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fe782c44201de4420d0e0df8746967b5a2aea841c5a6aeebd928e09e72fb6f7", kill_on_drop: false }` [INFO] [stdout] 2fe782c44201de4420d0e0df8746967b5a2aea841c5a6aeebd928e09e72fb6f7