[INFO] fetching crate theban_db 0.7.0... [INFO] checking theban_db-0.7.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate theban_db 0.7.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate theban_db 0.7.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate theban_db 0.7.0 [INFO] finished tweaking crates.io crate theban_db 0.7.0 [INFO] tweaked toml for crates.io crate theban_db 0.7.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.5.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [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 rmp v0.7.5 (latest: v0.8.12) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded theban_interval_tree v0.7.1 [INFO] [stderr] Downloaded memrange v0.1.3 [INFO] [stderr] Downloaded rmp v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85d1f0b77f3ef7840930df9a3b828f1d0fe0ee948996fc519eead8f0a7d5cbd9 [INFO] running `Command { std: "docker" "start" "-a" "85d1f0b77f3ef7840930df9a3b828f1d0fe0ee948996fc519eead8f0a7d5cbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85d1f0b77f3ef7840930df9a3b828f1d0fe0ee948996fc519eead8f0a7d5cbd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85d1f0b77f3ef7840930df9a3b828f1d0fe0ee948996fc519eead8f0a7d5cbd9", kill_on_drop: false }` [INFO] [stdout] 85d1f0b77f3ef7840930df9a3b828f1d0fe0ee948996fc519eead8f0a7d5cbd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00650e9972ae0a8c65b682c657373f274c16ef7ec3ec69dce59e2810f7e8d1da [INFO] running `Command { std: "docker" "start" "-a" "00650e9972ae0a8c65b682c657373f274c16ef7ec3ec69dce59e2810f7e8d1da", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking rmp v0.7.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking memrange v0.1.3 [INFO] [stderr] Checking theban_interval_tree v0.7.1 [INFO] [stderr] Checking theban_db v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/dberror/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/serialize/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `w` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/serialize/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn read<'a>(mut r: &mut Read) -> Result; [INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `r` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(rmp::encode::write_str_len(&mut w, vec.len() as u32)); [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/serialize/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | try!(w.write_all(vec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let strref = try!(parse_bindata(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let strval = try!(String::from_utf8(strref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let len = try!(rmp::decode::read_str_len(&mut stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let n = try!(rmp::decode::read_full(&mut stream, &mut buf[0..ulen])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let min = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let max = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(rmp::encode::write_array_len(&mut w, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(rmp::encode::write_uint(&mut w, self.entry_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(write_vec(&self.data, &mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let ds = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(parse_bindata(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(write_vec(&self.data, &mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let vec = try!(parse_bindata(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(rmp::encode::write_array_len(&mut w, 3*len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | try!(rmp::encode::write_uint(&mut w, range.min)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(rmp::encode::write_uint(&mut w, range.max)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | try!(data.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let rng = try!(parse_range(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let data = try!(T::read(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | try!(rmp::encode::write_map_len(&mut w, self.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(rmp::encode::write_str_len(&mut w, name.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(w.write_all(&name.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(tree.write(&mut w)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let len = try!(rmp::decode::read_map_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let tbl_name = try!(parse_string(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | let tree = try!(IntervalTree::::read(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(rmp::encode::write_array_len(&mut w, 2 as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.obj_map.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.bit_map.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let objects = try!(BTreeMap::>::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let bitmaps = try!(BTreeMap::>::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(self.write(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let db = try!(DB::read(&mut Cursor::new(buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.write(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let mut f = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let mut f = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | let db = try!(DB::read(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/dberror/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/serialize/mod.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `w` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/serialize/mod.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | fn read<'a>(mut r: &mut Read) -> Result; [INFO] [stdout] | ^^^^^ help: remove `mut` from the parameter: `r` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(rmp::encode::write_str_len(&mut w, vec.len() as u32)); [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/serialize/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | try!(w.write_all(vec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let strref = try!(parse_bindata(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let strval = try!(String::from_utf8(strref)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let len = try!(rmp::decode::read_str_len(&mut stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let n = try!(rmp::decode::read_full(&mut stream, &mut buf[0..ulen])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let min = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let max = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(rmp::encode::write_array_len(&mut w, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(rmp::encode::write_uint(&mut w, self.entry_size)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | try!(write_vec(&self.data, &mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let ds = try!(rmp::decode::read_u64_loosely(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | let vec = try!(parse_bindata(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(write_vec(&self.data, &mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let vec = try!(parse_bindata(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(rmp::encode::write_array_len(&mut w, 3*len as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | try!(rmp::encode::write_uint(&mut w, range.min)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | try!(rmp::encode::write_uint(&mut w, range.max)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | try!(data.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let rng = try!(parse_range(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let data = try!(T::read(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | try!(rmp::encode::write_map_len(&mut w, self.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(rmp::encode::write_str_len(&mut w, name.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | try!(w.write_all(&name.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | try!(tree.write(&mut w)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | let len = try!(rmp::decode::read_map_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let tbl_name = try!(parse_string(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | let tree = try!(IntervalTree::::read(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(rmp::encode::write_array_len(&mut w, 2 as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.obj_map.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(self.bit_map.write(&mut w)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | let len = try!(rmp::decode::read_array_size(&mut r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let objects = try!(BTreeMap::>::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | let bitmaps = try!(BTreeMap::>::read(r)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(self.write(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let db = try!(DB::read(&mut Cursor::new(buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | try!(self.write(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let mut f = try!(File::create(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let mut f = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/serialize/mod.rs:181:18 [INFO] [stdout] | [INFO] [stdout] 181 | let db = try!(DB::read(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, PartialEq, Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/content.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/content.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, RustcEncodable, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError>; [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] 23 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn read<'a>(mut r: &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] 24 | fn read<'a>(mut r: &mut dyn Read) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_vec<'a>(vec: &Vec, mut w: &mut Write) -> Result<(), DBError> { [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] 27 | fn write_vec<'a>(vec: &Vec, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_string<'a>(stream: &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] 33 | fn parse_string<'a>(stream: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_bindata<'a>(mut stream: &mut Read) -> Result, DBError> { [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] 39 | fn parse_bindata<'a>(mut stream: &mut dyn Read) -> Result, DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_range<'a>(mut r: &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] 50 | fn parse_range<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 57 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | fn read<'a>(mut r: &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] 64 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 77 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | fn read<'a>(mut r: &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] 82 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 91 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | fn read<'a>(mut r: &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] 103 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 116 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | fn read<'a>(mut r: &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] 126 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 139 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn read<'a>(mut r: &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] 146 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError>; [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] 23 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | fn read<'a>(mut r: &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] 24 | fn read<'a>(mut r: &mut dyn Read) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:27:45 [INFO] [stdout] | [INFO] [stdout] 27 | fn write_vec<'a>(vec: &Vec, mut w: &mut Write) -> Result<(), DBError> { [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] 27 | fn write_vec<'a>(vec: &Vec, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse_string<'a>(stream: &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] 33 | fn parse_string<'a>(stream: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_bindata<'a>(mut stream: &mut Read) -> Result, DBError> { [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] 39 | fn parse_bindata<'a>(mut stream: &mut dyn Read) -> Result, DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | fn parse_range<'a>(mut r: &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] 50 | fn parse_range<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 57 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | fn read<'a>(mut r: &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] 64 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:77:37 [INFO] [stdout] | [INFO] [stdout] 77 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 77 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | fn read<'a>(mut r: &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] 82 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 91 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | fn read<'a>(mut r: &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] 103 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 116 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | fn read<'a>(mut r: &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] 126 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | fn write<'a>(&self, mut w: &mut Write) -> Result<(), DBError> { [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] 139 | fn write<'a>(&self, mut w: &mut dyn Write) -> Result<(), DBError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/mod.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn read<'a>(mut r: &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] 146 | fn read<'a>(mut r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut tree = self.obj_map.get_mut(table).unwrap(); [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/db.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(mut tree) = self.obj_map.get_mut(table) { [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/db.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | self.bit_map.get_mut(table).map(|mut tree| { tree.delete(rng) }); [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/db.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tree = self.bit_map.get_mut(table).unwrap(); [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/db.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tree = self.bit_map.get_mut(table).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut tree = self.obj_map.get_mut(table).unwrap(); [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] [stderr] error: could not compile `theban_db` (lib) due to 11 previous errors; 68 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(mut tree) = self.obj_map.get_mut(table) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:78:46 [INFO] [stdout] | [INFO] [stdout] 78 | self.bit_map.get_mut(table).map(|mut tree| { tree.delete(rng) }); [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/db.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tree = self.bit_map.get_mut(table).unwrap(); [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/db.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut tree = self.bit_map.get_mut(table).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `theban_db` (lib test) due to 11 previous errors; 68 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00650e9972ae0a8c65b682c657373f274c16ef7ec3ec69dce59e2810f7e8d1da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00650e9972ae0a8c65b682c657373f274c16ef7ec3ec69dce59e2810f7e8d1da", kill_on_drop: false }` [INFO] [stdout] 00650e9972ae0a8c65b682c657373f274c16ef7ec3ec69dce59e2810f7e8d1da [INFO] checking theban_db-0.7.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate theban_db 0.7.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate theban_db 0.7.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate theban_db 0.7.0 [INFO] finished tweaking crates.io crate theban_db 0.7.0 [INFO] tweaked toml for crates.io crate theban_db 0.7.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91195075c7789a0741b305e8f324f7321c25e37dc012a870ea53c4fb4ab7c9b4 [INFO] running `Command { std: "docker" "start" "-a" "91195075c7789a0741b305e8f324f7321c25e37dc012a870ea53c4fb4ab7c9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91195075c7789a0741b305e8f324f7321c25e37dc012a870ea53c4fb4ab7c9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91195075c7789a0741b305e8f324f7321c25e37dc012a870ea53c4fb4ab7c9b4", kill_on_drop: false }` [INFO] [stdout] 91195075c7789a0741b305e8f324f7321c25e37dc012a870ea53c4fb4ab7c9b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4da54efe5533b8c831e384e256348c19034775caf6598c1586d79b86195f6f [INFO] running `Command { std: "docker" "start" "-a" "df4da54efe5533b8c831e384e256348c19034775caf6598c1586d79b86195f6f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "df4da54efe5533b8c831e384e256348c19034775caf6598c1586d79b86195f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4da54efe5533b8c831e384e256348c19034775caf6598c1586d79b86195f6f", kill_on_drop: false }` [INFO] [stdout] df4da54efe5533b8c831e384e256348c19034775caf6598c1586d79b86195f6f