[INFO] fetching crate rbson 2.0.4...
[INFO] testing rbson-2.0.4 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate rbson 2.0.4 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate rbson 2.0.4 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rbson 2.0.4
[INFO] finished tweaking crates.io crate rbson 2.0.4
[INFO] tweaked toml for crates.io crate rbson 2.0.4 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate rbson 2.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ad451841d49e6478d9d9e3925c1220291b2f317f64d2c6537ae1a4ab75f859f5
[INFO] running `Command { std: "docker" "start" "-a" "ad451841d49e6478d9d9e3925c1220291b2f317f64d2c6537ae1a4ab75f859f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad451841d49e6478d9d9e3925c1220291b2f317f64d2c6537ae1a4ab75f859f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad451841d49e6478d9d9e3925c1220291b2f317f64d2c6537ae1a4ab75f859f5", kill_on_drop: false }`
[INFO] [stdout] ad451841d49e6478d9d9e3925c1220291b2f317f64d2c6537ae1a4ab75f859f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ad17983a31ba3ec4535eb045fd587e2a2aa6487c15055a789212d196474ce11
[INFO] running `Command { std: "docker" "start" "-a" "2ad17983a31ba3ec4535eb045fd587e2a2aa6487c15055a789212d196474ce11", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rbson v2.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/bson.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/de/raw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryInto,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/de/raw.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_CODE_WITH_SCOPE_SIZE`, `read_string`
[INFO] [stdout]   --> src/de/raw.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     read_string,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     MIN_CODE_WITH_SCOPE_SIZE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::de::serde::MapDeserializer`
[INFO] [stdout]   --> src/de/raw.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::de::serde::MapDeserializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TryFrom`, `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/de/mod.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/document.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/extjson/models.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{extjson, oid, spec::BinarySubtype, Bson};
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/array.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/raw/bson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/document.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::{oid::ObjectId, spec::ElementType, Document};
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MIN_CODE_WITH_SCOPE_SIZE`
[INFO] [stdout]  --> src/raw/iter.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 |     de::{read_bool, MIN_BSON_DOCUMENT_SIZE, MIN_CODE_WITH_SCOPE_SIZE},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId`, `write_cstring`
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     raw::RAW_DOCUMENT_NEWTYPE,
[INFO] [stdout] 11 |     ser::{write_binary, write_cstring, write_i32, write_i64, write_string, Error, Result},
[INFO] [stdout]    |                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter::FromIterator`
[INFO] [stdout]   --> src/ser/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::{io::Write, iter::FromIterator, mem};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CODE_WITH_SCOPE_SIZE` is never used
[INFO] [stdout]   --> src/de/mod.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub(crate) const MIN_CODE_WITH_SCOPE_SIZE: i32 = 4 + MIN_BSON_STRING_SIZE + MIN_BSON_DOCUMENT_SIZE;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1144:8
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     fn new(deserializer: &'a mut CodeWithScopeDeserializer<'de, 'd>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1187:8
[INFO] [stdout]      |
[INFO] [stdout] 1187 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint, len: i32) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Code` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1260:5
[INFO] [stdout]      |
[INFO] [stdout] 1259 | enum CodeWithScopeDeserializationStage {
[INFO] [stdout]      |      --------------------------------- variant in this enum
[INFO] [stdout] 1260 |     Code,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `CodeWithScopeDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1317:8
[INFO] [stdout]      |
[INFO] [stdout] 1317 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1369:5
[INFO] [stdout]      |
[INFO] [stdout] 1368 | enum DbPointerDeserializationStage {
[INFO] [stdout]      |      ----------------------------- variant in this enum
[INFO] [stdout] 1369 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `DbPointerDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1430:8
[INFO] [stdout]      |
[INFO] [stdout] 1430 |     fn new(root_deserializer: &'a mut Deserializer<'de>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1476:5
[INFO] [stdout]      |
[INFO] [stdout] 1475 | enum RegexDeserializationStage {
[INFO] [stdout]      |      ------------------------- variant in this enum
[INFO] [stdout] 1476 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `RegexDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Str`, `Int32` and `Boolean` are never constructed
[INFO] [stdout]     --> src/de/raw.rs:1505:5
[INFO] [stdout]      |
[INFO] [stdout] 1504 | enum BsonContent<'a> {
[INFO] [stdout]      |      ----------- variants in this enum
[INFO] [stdout] 1505 |     Str(&'a str),
[INFO] [stdout]      |     ^^^^^^^^^^^^
[INFO] [stdout] 1506 |     Int32(i32),
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 1507 |     Boolean(bool),
[INFO] [stdout]      |     ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `BsonContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1511:8
[INFO] [stdout]      |
[INFO] [stdout] 1511 |     fn new(key: &'static str, value: BsonContent<'a>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `bytes_remaining` is never used
[INFO] [stdout]     --> src/de/raw.rs:1607:8
[INFO] [stdout]      |
[INFO] [stdout] 1607 |     fn bytes_remaining(&self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `read_borrowed_str` is never used
[INFO] [stdout]     --> src/de/raw.rs:1685:8
[INFO] [stdout]      |
[INFO] [stdout] 1685 |     fn read_borrowed_str(&mut self) -> Result<&'a str> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BsonInteger` is never used
[INFO] [stdout]    --> src/de/serde.rs:403:6
[INFO] [stdout]     |
[INFO] [stdout] 403 | enum BsonInteger {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/de/serde.rs:897:19
[INFO] [stdout]     |
[INFO] [stdout] 897 |     pub(crate) fn new(doc: Document) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]   --> src/extjson/models.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub(crate) fn parse(self) -> extjson::de::Result<oid::ObjectId> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `scope` are never read
[INFO] [stdout]    --> src/extjson/models.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub(crate) struct JavaScriptCodeWithScope {
[INFO] [stdout]     |                   ----------------------- fields in this struct
[INFO] [stdout] 169 |     #[serde(rename = "$code")]
[INFO] [stdout] 170 |     pub(crate) code: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub(crate) scope: Option<serde_json::Map<String, serde_json::Value>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `next_oid` is never used
[INFO] [stdout]   --> src/raw/iter.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn next_oid(&self, starting_at: usize) -> Result<ObjectId> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Code`, `CodeWithScopeCode` and `CodeWithScopeScope` are never constructed
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enum SerializationStep {
[INFO] [stdout]    |        ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |       Code,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 48 |       CodeWithScopeCode,
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 | /     CodeWithScopeScope {
[INFO] [stdout] 50 | |         code: String,
[INFO] [stdout] 51 | |         raw: bool,
[INFO] [stdout] 52 | |     },
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SerializationStep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.88s
[INFO] running `Command { std: "docker" "inspect" "2ad17983a31ba3ec4535eb045fd587e2a2aa6487c15055a789212d196474ce11", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ad17983a31ba3ec4535eb045fd587e2a2aa6487c15055a789212d196474ce11", kill_on_drop: false }`
[INFO] [stdout] 2ad17983a31ba3ec4535eb045fd587e2a2aa6487c15055a789212d196474ce11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c07710281f2c71682c38cfcb6b6fdd562b65eaad8fc4861d2fd3a7651b805864
[INFO] running `Command { std: "docker" "start" "-a" "c07710281f2c71682c38cfcb6b6fdd562b65eaad8fc4861d2fd3a7651b805864", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]    Compiling semver v1.0.10
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling plotters-backend v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.9
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling plotters-svg v0.3.1
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling plotters v0.3.1
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.5
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/bson.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/de/raw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryInto,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/de/raw.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_CODE_WITH_SCOPE_SIZE`, `read_string`
[INFO] [stdout]   --> src/de/raw.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     read_string,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     MIN_CODE_WITH_SCOPE_SIZE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::de::serde::MapDeserializer`
[INFO] [stdout]   --> src/de/raw.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::de::serde::MapDeserializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TryFrom`, `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/de/mod.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/document.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/extjson/models.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{extjson, oid, spec::BinarySubtype, Bson};
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/array.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/raw/bson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/document.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::{oid::ObjectId, spec::ElementType, Document};
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MIN_CODE_WITH_SCOPE_SIZE`
[INFO] [stdout]  --> src/raw/iter.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 |     de::{read_bool, MIN_BSON_DOCUMENT_SIZE, MIN_CODE_WITH_SCOPE_SIZE},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId`, `write_cstring`
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     raw::RAW_DOCUMENT_NEWTYPE,
[INFO] [stdout] 11 |     ser::{write_binary, write_cstring, write_i32, write_i64, write_string, Error, Result},
[INFO] [stdout]    |                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter::FromIterator`
[INFO] [stdout]   --> src/ser/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::{io::Write, iter::FromIterator, mem};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CODE_WITH_SCOPE_SIZE` is never used
[INFO] [stdout]   --> src/de/mod.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub(crate) const MIN_CODE_WITH_SCOPE_SIZE: i32 = 4 + MIN_BSON_STRING_SIZE + MIN_BSON_DOCUMENT_SIZE;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1144:8
[INFO] [stdout]      |
[INFO] [stdout] 1144 |     fn new(deserializer: &'a mut CodeWithScopeDeserializer<'de, 'd>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1187:8
[INFO] [stdout]      |
[INFO] [stdout] 1187 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint, len: i32) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Code` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1260:5
[INFO] [stdout]      |
[INFO] [stdout] 1259 | enum CodeWithScopeDeserializationStage {
[INFO] [stdout]      |      --------------------------------- variant in this enum
[INFO] [stdout] 1260 |     Code,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `CodeWithScopeDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1317:8
[INFO] [stdout]      |
[INFO] [stdout] 1317 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1369:5
[INFO] [stdout]      |
[INFO] [stdout] 1368 | enum DbPointerDeserializationStage {
[INFO] [stdout]      |      ----------------------------- variant in this enum
[INFO] [stdout] 1369 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `DbPointerDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1430:8
[INFO] [stdout]      |
[INFO] [stdout] 1430 |     fn new(root_deserializer: &'a mut Deserializer<'de>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1476:5
[INFO] [stdout]      |
[INFO] [stdout] 1475 | enum RegexDeserializationStage {
[INFO] [stdout]      |      ------------------------- variant in this enum
[INFO] [stdout] 1476 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `RegexDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Str`, `Int32` and `Boolean` are never constructed
[INFO] [stdout]     --> src/de/raw.rs:1505:5
[INFO] [stdout]      |
[INFO] [stdout] 1504 | enum BsonContent<'a> {
[INFO] [stdout]      |      ----------- variants in this enum
[INFO] [stdout] 1505 |     Str(&'a str),
[INFO] [stdout]      |     ^^^^^^^^^^^^
[INFO] [stdout] 1506 |     Int32(i32),
[INFO] [stdout]      |     ^^^^^^^^^^
[INFO] [stdout] 1507 |     Boolean(bool),
[INFO] [stdout]      |     ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `BsonContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1511:8
[INFO] [stdout]      |
[INFO] [stdout] 1511 |     fn new(key: &'static str, value: BsonContent<'a>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `bytes_remaining` is never used
[INFO] [stdout]     --> src/de/raw.rs:1607:8
[INFO] [stdout]      |
[INFO] [stdout] 1607 |     fn bytes_remaining(&self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `read_borrowed_str` is never used
[INFO] [stdout]     --> src/de/raw.rs:1685:8
[INFO] [stdout]      |
[INFO] [stdout] 1685 |     fn read_borrowed_str(&mut self) -> Result<&'a str> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BsonInteger` is never used
[INFO] [stdout]    --> src/de/serde.rs:403:6
[INFO] [stdout]     |
[INFO] [stdout] 403 | enum BsonInteger {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/de/serde.rs:897:19
[INFO] [stdout]     |
[INFO] [stdout] 897 |     pub(crate) fn new(doc: Document) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `parse` is never used
[INFO] [stdout]   --> src/extjson/models.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub(crate) fn parse(self) -> extjson::de::Result<oid::ObjectId> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `scope` are never read
[INFO] [stdout]    --> src/extjson/models.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub(crate) struct JavaScriptCodeWithScope {
[INFO] [stdout]     |                   ----------------------- fields in this struct
[INFO] [stdout] 169 |     #[serde(rename = "$code")]
[INFO] [stdout] 170 |     pub(crate) code: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub(crate) scope: Option<serde_json::Map<String, serde_json::Value>>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `next_oid` is never used
[INFO] [stdout]   --> src/raw/iter.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn next_oid(&self, starting_at: usize) -> Result<ObjectId> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Code`, `CodeWithScopeCode` and `CodeWithScopeScope` are never constructed
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |   enum SerializationStep {
[INFO] [stdout]    |        ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |       Code,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 48 |       CodeWithScopeCode,
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 | /     CodeWithScopeScope {
[INFO] [stdout] 50 | |         code: String,
[INFO] [stdout] 51 | |         raw: bool,
[INFO] [stdout] 52 | |     },
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SerializationStep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]    Compiling proptest v1.0.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling criterion-plot v0.4.4
[INFO] [stderr]    Compiling criterion v0.3.5
[INFO] [stderr]    Compiling rbson v2.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `tests`
[INFO] [stdout]    --> src/lib.rs:305:1
[INFO] [stdout]     |
[INFO] [stdout] 305 | mod tests;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::tests::LOCK`
[INFO] [stdout]    --> src/oid.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 | use crate::tests::LOCK;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ no `LOCK` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::JavaScriptCodeWithScope`, `crate::Regex`
[INFO] [stdout]  --> src/raw/test/props.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{spec::BinarySubtype, Binary, Bson, Document, JavaScriptCodeWithScope, Regex};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^ no `Regex` in the root
[INFO] [stdout]   |                                                          |
[INFO] [stdout]   |                                                          no `JavaScriptCodeWithScope` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::JavaScriptCodeWithScope`, `crate::Regex`
[INFO] [stdout]   --> src/raw/test/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     JavaScriptCodeWithScope,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `JavaScriptCodeWithScope` in the root
[INFO] [stdout] 13 |     Regex,
[INFO] [stdout]    |     ^^^^^ no `Regex` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/bson.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/de/raw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryInto,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/de/raw.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_CODE_WITH_SCOPE_SIZE`, `read_string`
[INFO] [stdout]   --> src/de/raw.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     read_string,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     MIN_CODE_WITH_SCOPE_SIZE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::de::serde::MapDeserializer`
[INFO] [stdout]   --> src/de/raw.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::de::serde::MapDeserializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TryFrom`, `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/de/mod.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::raw::Deserializer as RawDeserializer`
[INFO] [stdout]   --> src/de/mod.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) use self::raw::Deserializer as RawDeserializer;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/document.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/extjson/models.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{extjson, oid, spec::BinarySubtype, Bson};
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/array.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/raw/bson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/document.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::{oid::ObjectId, spec::ElementType, Document};
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MIN_CODE_WITH_SCOPE_SIZE`
[INFO] [stdout]  --> src/raw/iter.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 |     de::{read_bool, MIN_BSON_DOCUMENT_SIZE, MIN_CODE_WITH_SCOPE_SIZE},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId`, `write_cstring`
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     raw::RAW_DOCUMENT_NEWTYPE,
[INFO] [stdout] 11 |     ser::{write_binary, write_cstring, write_i32, write_i64, write_string, Error, Result},
[INFO] [stdout]    |                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter::FromIterator`
[INFO] [stdout]   --> src/ser/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::{io::Write, iter::FromIterator, mem};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Bson::RegularExpression(Regex::new(pattern, options))
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `RegularExpression` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ObjectId` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:29:50
[INFO] [stdout]    |
[INFO] [stdout] 29 |         any::<[u8; 12]>().prop_map(|bytes| Bson::ObjectId(crate::oid::ObjectId::from_bytes(bytes))),
[INFO] [stdout]    |                                                  ^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `ObjectId` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 |         any::<String>().prop_map(Bson::JavaScriptCode),
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `JavaScriptCode` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 .prop_map(|(scope, code)| Bson::JavaScriptCodeWithScope(
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `JavaScriptCodeWithScope` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |           $crate::Bson::from($other)
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/test/mod.rs:98:30
[INFO] [stdout]     |
[INFO] [stdout] 98  |       let docbytes = to_bytes(&doc! {
[INFO] [stdout]     |  ______________________________-
[INFO] [stdout] 99  | |         "f64": 2.5,
[INFO] [stdout] 100 | |         "string": "hello",
[INFO] [stdout] 101 | |         "document": {},
[INFO] [stdout] ...   |
[INFO] [stdout] 115 | |         "end": "END",
[INFO] [stdout] 116 | |     });
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:111:40
[INFO] [stdout]     |
[INFO] [stdout] 111 | ...   "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope{ code: String::from("console.log(msg);"), scope: doc...
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |           $crate::Bson::from($other)
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/test/mod.rs:212:49
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let rawdoc = RawDocumentBuf::from_document(&doc! {
[INFO] [stdout]     |  _________________________________________________-
[INFO] [stdout] 213 | |         "object_id": ObjectId::from_bytes([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
[INFO] [stdout] 214 | |     })
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_object_id` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:220:10
[INFO] [stdout]     |
[INFO] [stdout] 220 |         .as_object_id()
[INFO] [stdout]     |          ^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub enum RawBson<'a> {
[INFO] [stdout]     | -------------------- method `as_object_id` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_regex` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 281 |         .as_regex()
[INFO] [stdout]     |          ^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub enum RawBson<'a> {
[INFO] [stdout]     | -------------------- method `as_regex` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:289:29
[INFO] [stdout]     |
[INFO] [stdout] 289 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:296:10
[INFO] [stdout]     |
[INFO] [stdout] 296 |         .as_javascript()
[INFO] [stdout]     |          ^^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub enum RawBson<'a> {
[INFO] [stdout]     | -------------------- method `as_javascript` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:304:25
[INFO] [stdout]     |
[INFO] [stdout] 304 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_symbol` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 312 |         .as_symbol()
[INFO] [stdout]     |          ^^^^^^^^^ help: there is an associated function with a similar name: `as_bool`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub enum RawBson<'a> {
[INFO] [stdout]     | -------------------- method `as_symbol` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:320:40
[INFO] [stdout]     |
[INFO] [stdout] 320 |         "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript_with_scope` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:330:10
[INFO] [stdout]     |
[INFO] [stdout] 330 |         .as_javascript_with_scope()
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub enum RawBson<'a> {
[INFO] [stdout]     | -------------------- method `as_javascript_with_scope` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |           $crate::Bson::from($other)
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/test/mod.rs:392:15
[INFO] [stdout]     |
[INFO] [stdout] 392 |       let doc = doc! {
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 393 | |         "f64": 2.5,
[INFO] [stdout] 394 | |         "string": "hello",
[INFO] [stdout] 395 | |         "document": {},
[INFO] [stdout] ...   |
[INFO] [stdout] 409 | |         "end": "END",
[INFO] [stdout] 410 | |     };
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:402:24
[INFO] [stdout]     |
[INFO] [stdout] 402 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:403:29
[INFO] [stdout]     |
[INFO] [stdout] 403 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:405:40
[INFO] [stdout]     |
[INFO] [stdout] 405 | ...   "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope{ code: String::from("console.log(msg);"), scope: doc...
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |           $crate::Bson::from($other)
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/test/mod.rs:433:30
[INFO] [stdout]     |
[INFO] [stdout] 433 |       let docbytes = to_bytes(&doc! {
[INFO] [stdout]     |  ______________________________-
[INFO] [stdout] 434 | |         "f64": 2.5,
[INFO] [stdout] 435 | |         "string": "hello",
[INFO] [stdout] 436 | |         "document": {},
[INFO] [stdout] ...   |
[INFO] [stdout] 440 | |         "boolean": false,
[INFO] [stdout] 441 | |     });
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ObjectId` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:465:15
[INFO] [stdout]     |
[INFO] [stdout] 465 |         Bson::ObjectId(ObjectId::from_bytes([
[INFO] [stdout]     |               ^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `ObjectId` not found here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rbson` due to 31 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c07710281f2c71682c38cfcb6b6fdd562b65eaad8fc4861d2fd3a7651b805864", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c07710281f2c71682c38cfcb6b6fdd562b65eaad8fc4861d2fd3a7651b805864", kill_on_drop: false }`
[INFO] [stdout] c07710281f2c71682c38cfcb6b6fdd562b65eaad8fc4861d2fd3a7651b805864
