[INFO] fetching crate encryptfile 0.1.3... [INFO] checking encryptfile-0.1.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate encryptfile 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate encryptfile 0.1.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.5.0) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.3) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13a10e03383355c27b9a3ae2713496c1f5b8f06488f3e7f056e0813ba55a5e04 [INFO] running `Command { std: "docker" "start" "-a" "13a10e03383355c27b9a3ae2713496c1f5b8f06488f3e7f056e0813ba55a5e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13a10e03383355c27b9a3ae2713496c1f5b8f06488f3e7f056e0813ba55a5e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13a10e03383355c27b9a3ae2713496c1f5b8f06488f3e7f056e0813ba55a5e04", kill_on_drop: false }` [INFO] [stdout] 13a10e03383355c27b9a3ae2713496c1f5b8f06488f3e7f056e0813ba55a5e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8eb5b212056bfa4ee15952d57d9f58a33bf5415f6db47fc4e531831aed28de36 [INFO] running `Command { std: "docker" "start" "-a" "8eb5b212056bfa4ee15952d57d9f58a33bf5415f6db47fc4e531831aed28de36", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling rust-crypto v0.2.36 [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: 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: unused import: `super::process` [INFO] [stdout] --> src/crypt.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use super::process; [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/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/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/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: 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: 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: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: 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: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: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: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: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: 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: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: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: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: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: 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: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: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: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: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: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/config.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | Func(Rc IvArray>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | Func(Rc PwKeyArray>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Encrypting(Box), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | Decrypting(Box), [INFO] [stdout] | +++ [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: 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: 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: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: 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: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: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: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: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: 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: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: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: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: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: 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: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: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: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: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: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/config.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | Func(Rc u8>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | Func(Rc IvArray>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | Func(Rc PwKeyArray>>), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | Encrypting(Box), [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | Decrypting(Box), [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | fn read_key_metadata(s: &mut dyn Read, [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | mut in_stream: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | mut out_stream: Box) [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 | mut in_stream: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 | mut out_stream: Box) [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&self, s: &mut dyn Write) -> Result<(), EncryptError> { [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read(s: &mut dyn Read) -> Result { [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | fn read_key_metadata(s: &mut dyn Read, [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 | mut in_stream: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | mut out_stream: Box) [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 236 | mut in_stream: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 237 | mut out_stream: Box) [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&self, s: &mut dyn Write) -> Result<(), EncryptError> { [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn read(s: &mut dyn Read) -> Result { [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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | let in_stream: Box = match *c.get_input_stream() { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 | let out_stream: Box = match *c.get_output_stream() { [INFO] [stdout] | +++ [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] [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: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] = note: `#[warn(unused_mut)]` on by default [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: 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] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | let in_stream: Box = match *c.get_input_stream() { [INFO] [stdout] | +++ [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 291 | let out_stream: Box = match *c.get_output_stream() { [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] [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: field `write_buf` is never read [INFO] [stdout] --> src/crypt.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EncryptState<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub write_buf: &'a mut [u8], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: 72 warnings emitted [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] = note: `#[warn(unused_mut)]` on by default [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: 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] [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: field `write_buf` is never read [INFO] [stdout] --> src/crypt.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct EncryptState<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub write_buf: &'a mut [u8], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 390 - format!("Expected '{}', got '{}'", expected, s)); [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 usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.25s [INFO] running `Command { std: "docker" "inspect" "8eb5b212056bfa4ee15952d57d9f58a33bf5415f6db47fc4e531831aed28de36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eb5b212056bfa4ee15952d57d9f58a33bf5415f6db47fc4e531831aed28de36", kill_on_drop: false }` [INFO] [stdout] 8eb5b212056bfa4ee15952d57d9f58a33bf5415f6db47fc4e531831aed28de36