[INFO] fetching crate rbson 2.0.5...
[INFO] testing rbson-2.0.5 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate rbson 2.0.5 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate rbson 2.0.5
[INFO] finished tweaking crates.io crate rbson 2.0.5
[INFO] tweaked toml for crates.io crate rbson 2.0.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rbson 2.0.5 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rbson 2.0.5 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f93c308ec1eb8de3fb92c490d699206bb166e7067f538818a2770cca0749c4d2
[INFO] running `Command { std: "docker" "start" "-a" "f93c308ec1eb8de3fb92c490d699206bb166e7067f538818a2770cca0749c4d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f93c308ec1eb8de3fb92c490d699206bb166e7067f538818a2770cca0749c4d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f93c308ec1eb8de3fb92c490d699206bb166e7067f538818a2770cca0749c4d2", kill_on_drop: false }`
[INFO] [stdout] f93c308ec1eb8de3fb92c490d699206bb166e7067f538818a2770cca0749c4d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aae2a1253c200bc70f1984c1320a2a058eb39156ba135f4d2d83140287c78ecd
[INFO] running `Command { std: "docker" "start" "-a" "aae2a1253c200bc70f1984c1320a2a058eb39156ba135f4d2d83140287c78ecd", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling hashbrown v0.12.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling rbson v2.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ObjectId` and `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)]` (part of `#[warn(unused)]`) 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` and `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 import: `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[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` and `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` and `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: `TryFrom`
[INFO] [stdout]  --> src/de/serde.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[INFO] [stdout]      |                           ----^^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1329:27
[INFO] [stdout]      |
[INFO] [stdout] 1329 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[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/ser/raw/mod.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         mut self,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CODE_WITH_SCOPE_SIZE` is never used
[INFO] [stdout]   --> src/de/mod.rs:57:18
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CodeWithScopeAccess` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1139:8
[INFO] [stdout]      |
[INFO] [stdout] 1139 | struct CodeWithScopeAccess<'de, 'd, 'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[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] 1143 | impl<'de, 'd, 'a> CodeWithScopeAccess<'de, 'd, 'a> {
[INFO] [stdout]      | -------------------------------------------------- associated function in this implementation
[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] 1186 | impl<'de, 'a> CodeWithScopeDeserializer<'de, 'a> {
[INFO] [stdout]      | ------------------------------------------------ associated function in this implementation
[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] 1316 | impl<'de, 'a> DbPointerDeserializer<'de, 'a> {
[INFO] [stdout]      | -------------------------------------------- associated function in this implementation
[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] 1429 | impl<'de, 'a> RegexDeserializer<'de, 'a> {
[INFO] [stdout]      | ---------------------------------------- associated function in this implementation
[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: struct `RawBsonAccess` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1495:8
[INFO] [stdout]      |
[INFO] [stdout] 1495 | struct RawBsonAccess<'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BsonContent` is never used
[INFO] [stdout]     --> src/de/raw.rs:1504:6
[INFO] [stdout]      |
[INFO] [stdout] 1504 | enum BsonContent<'a> {
[INFO] [stdout]      |      ^^^^^^^^^^^
[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] 1510 | impl<'a> RawBsonAccess<'a> {
[INFO] [stdout]      | -------------------------- associated function in this implementation
[INFO] [stdout] 1511 |     fn new(key: &'static str, value: BsonContent<'a>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawBsonDeserializer` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1546:8
[INFO] [stdout]      |
[INFO] [stdout] 1546 | struct RawBsonDeserializer<'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes_remaining` and `read_borrowed_str` are never used
[INFO] [stdout]     --> src/de/raw.rs:1607:8
[INFO] [stdout]      |
[INFO] [stdout] 1594 | impl<'a> BsonBuf<'a> {
[INFO] [stdout]      | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1607 |     fn bytes_remaining(&self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[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] 896 | impl MapDeserializer {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 897 |     pub(crate) fn new(doc: Document) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectId` is never constructed
[INFO] [stdout]   --> src/extjson/models.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub(crate) struct ObjectId {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse` is never used
[INFO] [stdout]   --> src/extjson/models.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl ObjectId {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 84 |     pub(crate) fn parse(self) -> extjson::de::Result<oid::ObjectId> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JavaScriptCodeWithScope` is never constructed
[INFO] [stdout]    --> src/extjson/models.rs:168:19
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub(crate) struct JavaScriptCodeWithScope {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_oid` is never used
[INFO] [stdout]   --> src/raw/iter.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Iter<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[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]    |     ^^^^^^^^^^^^^^^^^^
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/de/error.rs:95:33
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub(crate) fn as_unexpected(&self) -> Unexpected {
[INFO] [stdout]    |                                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub(crate) fn as_unexpected(&self) -> Unexpected<'_> {
[INFO] [stdout]    |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn iter(&self) -> Iter {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn iter(&self) -> Iter<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:447:17
[INFO] [stdout]     |
[INFO] [stdout] 447 |     pub fn keys(&self) -> Keys {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 447 |     pub fn keys(&self) -> Keys<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:454:19
[INFO] [stdout]     |
[INFO] [stdout] 454 |     pub fn values(&self) -> Values {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 454 |     pub fn values(&self) -> Values<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:483:18
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub fn entry(&mut self, k: String) -> Entry {
[INFO] [stdout]     |                  ^^^^^^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub fn entry(&mut self, k: String) -> Entry<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.47s
[INFO] running `Command { std: "docker" "inspect" "aae2a1253c200bc70f1984c1320a2a058eb39156ba135f4d2d83140287c78ecd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aae2a1253c200bc70f1984c1320a2a058eb39156ba135f4d2d83140287c78ecd", kill_on_drop: false }`
[INFO] [stdout] aae2a1253c200bc70f1984c1320a2a058eb39156ba135f4d2d83140287c78ecd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dfe226e85846a892c5d12e5b579a6073ac4f433b64a2c7c462ca834720f473c2
[INFO] running `Command { std: "docker" "start" "-a" "dfe226e85846a892c5d12e5b579a6073ac4f433b64a2c7c462ca834720f473c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stdout] warning: unused imports: `ObjectId` and `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)]` (part of `#[warn(unused)]`) 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` and `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 import: `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[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` and `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` and `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: `TryFrom`
[INFO] [stdout]  --> src/de/serde.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[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: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[INFO] [stdout]      |                           ----^^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1329:27
[INFO] [stdout]      |
[INFO] [stdout] 1329 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[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/ser/raw/mod.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         mut self,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CODE_WITH_SCOPE_SIZE` is never used
[INFO] [stdout]   --> src/de/mod.rs:57:18
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CodeWithScopeAccess` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1139:8
[INFO] [stdout]      |
[INFO] [stdout] 1139 | struct CodeWithScopeAccess<'de, 'd, 'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[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] 1143 | impl<'de, 'd, 'a> CodeWithScopeAccess<'de, 'd, 'a> {
[INFO] [stdout]      | -------------------------------------------------- associated function in this implementation
[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] 1186 | impl<'de, 'a> CodeWithScopeDeserializer<'de, 'a> {
[INFO] [stdout]      | ------------------------------------------------ associated function in this implementation
[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] 1316 | impl<'de, 'a> DbPointerDeserializer<'de, 'a> {
[INFO] [stdout]      | -------------------------------------------- associated function in this implementation
[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] 1429 | impl<'de, 'a> RegexDeserializer<'de, 'a> {
[INFO] [stdout]      | ---------------------------------------- associated function in this implementation
[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: struct `RawBsonAccess` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1495:8
[INFO] [stdout]      |
[INFO] [stdout] 1495 | struct RawBsonAccess<'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BsonContent` is never used
[INFO] [stdout]     --> src/de/raw.rs:1504:6
[INFO] [stdout]      |
[INFO] [stdout] 1504 | enum BsonContent<'a> {
[INFO] [stdout]      |      ^^^^^^^^^^^
[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] 1510 | impl<'a> RawBsonAccess<'a> {
[INFO] [stdout]      | -------------------------- associated function in this implementation
[INFO] [stdout] 1511 |     fn new(key: &'static str, value: BsonContent<'a>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RawBsonDeserializer` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1546:8
[INFO] [stdout]      |
[INFO] [stdout] 1546 | struct RawBsonDeserializer<'a> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes_remaining` and `read_borrowed_str` are never used
[INFO] [stdout]     --> src/de/raw.rs:1607:8
[INFO] [stdout]      |
[INFO] [stdout] 1594 | impl<'a> BsonBuf<'a> {
[INFO] [stdout]      | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1607 |     fn bytes_remaining(&self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[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] 896 | impl MapDeserializer {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 897 |     pub(crate) fn new(doc: Document) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectId` is never constructed
[INFO] [stdout]   --> src/extjson/models.rs:78:19
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub(crate) struct ObjectId {
[INFO] [stdout]    |                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse` is never used
[INFO] [stdout]   --> src/extjson/models.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl ObjectId {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 84 |     pub(crate) fn parse(self) -> extjson::de::Result<oid::ObjectId> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JavaScriptCodeWithScope` is never constructed
[INFO] [stdout]    --> src/extjson/models.rs:168:19
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub(crate) struct JavaScriptCodeWithScope {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_oid` is never used
[INFO] [stdout]   --> src/raw/iter.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Iter<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[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]    |     ^^^^^^^^^^^^^^^^^^
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/de/error.rs:95:33
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub(crate) fn as_unexpected(&self) -> Unexpected {
[INFO] [stdout]    |                                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub(crate) fn as_unexpected(&self) -> Unexpected<'_> {
[INFO] [stdout]    |                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:193:17
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn iter(&self) -> Iter {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn iter(&self) -> Iter<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:447:17
[INFO] [stdout]     |
[INFO] [stdout] 447 |     pub fn keys(&self) -> Keys {
[INFO] [stdout]     |                 ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 447 |     pub fn keys(&self) -> Keys<'_> {
[INFO] [stdout]     |                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:454:19
[INFO] [stdout]     |
[INFO] [stdout] 454 |     pub fn values(&self) -> Values {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 454 |     pub fn values(&self) -> Values<'_> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/document.rs:483:18
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub fn entry(&mut self, k: String) -> Entry {
[INFO] [stdout]     |                  ^^^^^^^^^                ^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 483 |     pub fn entry(&mut self, k: String) -> Entry<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling proptest v1.0.0
[INFO] [stderr]    Compiling rbson v2.0.5 (/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]     = note: if there is a `mod tests` elsewhere in the crate already, import it with `use crate::...` instead
[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]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::extjson::models::JavaScriptCodeWithScope
[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]    = help: consider importing this struct instead:
[INFO] [stdout]            crate::extjson::models::JavaScriptCodeWithScope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId` and `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)]` (part of `#[warn(unused)]`) 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` and `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` and `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` and `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 import: `doc`
[INFO] [stdout]  --> src/raw/test/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     doc,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId` and `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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]     |           ^^^^^^^^^^^^ unsatisfied trait bound
[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 trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]    --> src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | pub enum Bson {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `Bson` implements `From<&T>`
[INFO] [stdout]               `Bson` implements `From<&[T]>`
[INFO] [stdout]               `Bson` implements `From<&str>`
[INFO] [stdout]               `Bson` implements `From<Document>`
[INFO] [stdout]               `Bson` implements `From<Vec<T>>`
[INFO] [stdout]               `Bson` implements `From<bool>`
[INFO] [stdout]               `Bson` implements `From<bson::Binary>`
[INFO] [stdout]               `Bson` implements `From<bson::Timestamp>`
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` which comes from the expansion of the macro `doc` (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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]     |           ^^^^^^^^^^^^ unsatisfied trait bound
[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 trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]    --> src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | pub enum Bson {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `Bson` implements `From<&T>`
[INFO] [stdout]               `Bson` implements `From<&[T]>`
[INFO] [stdout]               `Bson` implements `From<&str>`
[INFO] [stdout]               `Bson` implements `From<Document>`
[INFO] [stdout]               `Bson` implements `From<Vec<T>>`
[INFO] [stdout]               `Bson` implements `From<bool>`
[INFO] [stdout]               `Bson` implements `From<bson::Binary>`
[INFO] [stdout]               `Bson` implements `From<bson::Timestamp>`
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` which comes from the expansion of the macro `doc` (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<'a>` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:220:10
[INFO] [stdout]     |
[INFO] [stdout] 216 |       let oid = rawdoc
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 217 | |         .get("object_id")
[INFO] [stdout] 218 | |         .expect("error finding key object_id")
[INFO] [stdout] 219 | |         .expect("no key object_id")
[INFO] [stdout] 220 | |         .as_object_id()
[INFO] [stdout]     | |         -^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[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 enum
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_regex` found for enum `raw::bson::RawBson<'a>` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 277 |       let regex = rawdoc
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 278 | |         .get("regex")
[INFO] [stdout] 279 | |         .expect("error finding key regex")
[INFO] [stdout] 280 | |         .expect("no key regex")
[INFO] [stdout] 281 | |         .as_regex()
[INFO] [stdout]     | |         -^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[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 enum
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript` found for enum `raw::bson::RawBson<'a>` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:296:10
[INFO] [stdout]     |
[INFO] [stdout] 292 |       let js = rawdoc
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 293 | |         .get("javascript")
[INFO] [stdout] 294 | |         .expect("error finding key javascript")
[INFO] [stdout] 295 | |         .expect("no key javascript")
[INFO] [stdout] 296 | |         .as_javascript()
[INFO] [stdout]     | |         -^^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[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 enum
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_symbol` found for enum `raw::bson::RawBson<'a>` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 308 |       let symbol = rawdoc
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 309 | |         .get("symbol")
[INFO] [stdout] 310 | |         .expect("error finding key symbol")
[INFO] [stdout] 311 | |         .expect("no key symbol")
[INFO] [stdout] 312 | |         .as_symbol()
[INFO] [stdout]     | |_________-^^^^^^^^^
[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 enum
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_bool` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 312 -         .as_symbol()
[INFO] [stdout] 312 +         .as_bool()
[INFO] [stdout]     |
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript_with_scope` found for enum `raw::bson::RawBson<'a>` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:330:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |       let js_with_scope = rawdoc
[INFO] [stdout]     |  _________________________-
[INFO] [stdout] 327 | |         .get("javascript_with_scope")
[INFO] [stdout] 328 | |         .expect("error finding key javascript_with_scope")
[INFO] [stdout] 329 | |         .expect("no key javascript_with_scope")
[INFO] [stdout] 330 | |         .as_javascript_with_scope()
[INFO] [stdout]     | |         -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `raw::bson::RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[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 enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/raw/test/mod.rs:340:23
[INFO] [stdout]     |
[INFO] [stdout] 340 |     let scope_value = scope_value_bson.as_bool().expect("not a boolean");
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^ cannot infer type
[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]     |           ^^^^^^^^^^^^ unsatisfied trait bound
[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 trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]    --> src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | pub enum Bson {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `Bson` implements `From<&T>`
[INFO] [stdout]               `Bson` implements `From<&[T]>`
[INFO] [stdout]               `Bson` implements `From<&str>`
[INFO] [stdout]               `Bson` implements `From<Document>`
[INFO] [stdout]               `Bson` implements `From<Vec<T>>`
[INFO] [stdout]               `Bson` implements `From<bool>`
[INFO] [stdout]               `Bson` implements `From<bson::Binary>`
[INFO] [stdout]               `Bson` implements `From<bson::Timestamp>`
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` which comes from the expansion of the macro `doc` (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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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]     |           ^^^^^^^^^^^^ unsatisfied trait bound
[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 trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]    --> src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout]  41 | pub enum Bson {
[INFO] [stdout]     | ^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               `Bson` implements `From<&T>`
[INFO] [stdout]               `Bson` implements `From<&[T]>`
[INFO] [stdout]               `Bson` implements `From<&str>`
[INFO] [stdout]               `Bson` implements `From<Document>`
[INFO] [stdout]               `Bson` implements `From<Vec<T>>`
[INFO] [stdout]               `Bson` implements `From<bool>`
[INFO] [stdout]               `Bson` implements `From<bson::Binary>`
[INFO] [stdout]               `Bson` implements `From<bson::Timestamp>`
[INFO] [stdout]             and 10 others
[INFO] [stdout]     = note: this error originates in the macro `$crate::bson` which comes from the expansion of the macro `doc` (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 for this enum
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `Bson`, consider using `Bson::from_extended_document` which returns `Bson`
[INFO] [stdout]    --> src/bson.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub(crate) fn from_extended_document(doc: Document) -> Bson {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[INFO] [stdout]      |                           ----^^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1329:27
[INFO] [stdout]      |
[INFO] [stdout] 1329 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[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/ser/raw/mod.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         mut self,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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` (lib test) due to 30 previous errors; 20 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "dfe226e85846a892c5d12e5b579a6073ac4f433b64a2c7c462ca834720f473c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfe226e85846a892c5d12e5b579a6073ac4f433b64a2c7c462ca834720f473c2", kill_on_drop: false }`
[INFO] [stdout] dfe226e85846a892c5d12e5b579a6073ac4f433b64a2c7c462ca834720f473c2
