[INFO] fetching crate ejdb 0.4.1... [INFO] checking ejdb-0.4.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate ejdb 0.4.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate ejdb 0.4.1 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ejdb 0.4.1 [INFO] finished tweaking crates.io crate ejdb 0.4.1 [INFO] tweaked toml for crates.io crate ejdb 0.4.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate ejdb 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v2.0.1 [INFO] [stderr] Downloaded cexpr v0.3.6 [INFO] [stderr] Downloaded try_from v0.2.2 [INFO] [stderr] Downloaded md5 v0.3.8 [INFO] [stderr] Downloaded bson v0.13.0 [INFO] [stderr] Downloaded addr2line v0.14.0 [INFO] [stderr] Downloaded clang-sys v0.26.4 [INFO] [stderr] Downloaded backtrace v0.3.55 [INFO] [stderr] Downloaded object v0.22.0 [INFO] [stderr] Downloaded ejdb-sys v0.3.0 [INFO] [stderr] Downloaded bindgen v0.46.0 [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8f6b1152f97ca32a501722e7b68ce917f7416e17b2f57f34a76db477df330be [INFO] running `Command { std: "docker" "start" "-a" "f8f6b1152f97ca32a501722e7b68ce917f7416e17b2f57f34a76db477df330be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8f6b1152f97ca32a501722e7b68ce917f7416e17b2f57f34a76db477df330be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8f6b1152f97ca32a501722e7b68ce917f7416e17b2f57f34a76db477df330be", kill_on_drop: false }` [INFO] [stdout] f8f6b1152f97ca32a501722e7b68ce917f7416e17b2f57f34a76db477df330be [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 769f5f508694c72a51ea8186d0a37b376b3ab101d1caddc1ac91b2270dcf594d [INFO] running `Command { std: "docker" "start" "-a" "769f5f508694c72a51ea8186d0a37b376b3ab101d1caddc1ac91b2270dcf594d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling bindgen v0.46.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking md5 v0.3.8 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling ejdb-sys v0.3.0 [INFO] [stderr] Checking bson v0.13.0 [INFO] [stderr] Checking ejdb v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use bson::{self, oid}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/indices.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/indices.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | let key = try!(CString::new(self.key).map_err(|_| "invalid key")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/meta.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/meta.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | let bson_doc = unsafe { try!(EjdbBsonDocument::from_ptr(doc).to_bson()) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/tx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let p = try!(CString::new(path).map_err(|_| "invalid path specified")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 511 | let mut ejdb_doc = try!(EjdbBsonDocument::from_bson(doc.borrow())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | try!(bson::encode_document(&mut query_doc, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | try!(bson::encode_document(&mut query_doc, hints)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:894:17 [INFO] [stdout] | [INFO] [stdout] 894 | try!(log_out.write(&log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/utils/tcxstr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/ejdb_bson.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use bson::{self, DecoderResult, Document, EncoderResult}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/ejdb_bson.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/types.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use bson::{self, oid}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use bson::{self, oid}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/indices.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/indices.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | let key = try!(CString::new(self.key).map_err(|_| "invalid key")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/meta.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/meta.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | let bson_doc = unsafe { try!(EjdbBsonDocument::from_ptr(doc).to_bson()) }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/tx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/database/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let p = try!(CString::new(path).map_err(|_| "invalid path specified")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:327:17 [INFO] [stdout] | [INFO] [stdout] 327 | let p = try!(CString::new(name).map_err(|_| "invalid collection name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 511 | let mut ejdb_doc = try!(EjdbBsonDocument::from_bson(doc.borrow())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:843:9 [INFO] [stdout] | [INFO] [stdout] 843 | try!(bson::encode_document(&mut query_doc, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | try!(bson::encode_document(&mut query_doc, hints)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/database/mod.rs:894:17 [INFO] [stdout] | [INFO] [stdout] 894 | try!(log_out.write(&log)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/utils/tcxstr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/ejdb_bson.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use bson::{self, DecoderResult, Document, EncoderResult}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ejdb_sys` is imported redundantly [INFO] [stdout] --> src/ejdb_bson.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ejdb_sys; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub extern crate ejdb_sys; [INFO] [stdout] | -------------------------- the item `ejdb_sys` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bson` is imported redundantly [INFO] [stdout] --> src/types.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use bson::{self, oid}; [INFO] [stdout] | ^^^^ the item `bson` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | try!(write!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/mod.rs:660:31 [INFO] [stdout] | [INFO] [stdout] 660 | log_out: Option<&'out mut io::Write>, [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] 660 | log_out: Option<&'out mut dyn io::Write>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/mod.rs:660:31 [INFO] [stdout] | [INFO] [stdout] 660 | log_out: Option<&'out mut io::Write>, [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] 660 | log_out: Option<&'out mut dyn io::Write>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/mod.rs:696:26 [INFO] [stdout] | [INFO] [stdout] 696 | target: &'o mut (io::Write + 'o), [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] 696 | target: &'o mut (dyn io::Write + 'o), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database/mod.rs:696:26 [INFO] [stdout] | [INFO] [stdout] 696 | target: &'o mut (io::Write + 'o), [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] 696 | target: &'o mut (dyn io::Write + 'o), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&error::Error> { [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] 28 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&error::Error> { [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] 28 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.13.0, cexpr v0.3.6, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "769f5f508694c72a51ea8186d0a37b376b3ab101d1caddc1ac91b2270dcf594d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "769f5f508694c72a51ea8186d0a37b376b3ab101d1caddc1ac91b2270dcf594d", kill_on_drop: false }` [INFO] [stdout] 769f5f508694c72a51ea8186d0a37b376b3ab101d1caddc1ac91b2270dcf594d