[INFO] fetching crate bson2 2.0.3...
[INFO] testing bson2-2.0.3 against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate bson2 2.0.3 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate bson2 2.0.3
[INFO] finished tweaking crates.io crate bson2 2.0.3
[INFO] tweaked toml for crates.io crate bson2 2.0.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bson2 2.0.3 on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate bson2 2.0.3 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_with_macros v1.5.1
[INFO] [stderr]   Downloaded darling v0.13.0
[INFO] [stderr]   Downloaded darling_macro v0.13.0
[INFO] [stderr]   Downloaded serde_with v1.11.0
[INFO] [stderr]   Downloaded ctor v0.1.21
[INFO] [stderr]   Downloaded output_vt100 v0.1.2
[INFO] [stderr]   Downloaded serde_bytes v0.11.5
[INFO] [stderr]   Downloaded rustversion v1.0.5
[INFO] [stderr]   Downloaded pretty_assertions v0.6.1
[INFO] [stderr]   Downloaded darling_core v0.13.0
[INFO] [stderr]   Downloaded serde_json v1.0.70
[INFO] [stderr]   Downloaded proptest v1.0.0
[INFO] [stderr]   Downloaded difference v2.0.0
[INFO] [stderr]   Downloaded itertools v0.10.1
[INFO] [stderr]   Downloaded semver v1.0.4
[INFO] [stderr]   Downloaded libc v0.2.107
[INFO] [stderr]   Downloaded assert_matches v1.5.0
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a
[INFO] running `"docker" "start" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] running `"docker" "inspect" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling libc v0.2.107
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.70
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling serde_bytes v0.11.5
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling bson2 v2.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:676:65
[INFO] [stdout]     |
[INFO] [stdout] 676 |                 Ok("Infinity") => return Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:677:66
[INFO] [stdout]     |
[INFO] [stdout] 677 |                 Ok("-Infinity") => return Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:678:60
[INFO] [stdout]     |
[INFO] [stdout] 678 |                 Ok("NaN") => return Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:733:52
[INFO] [stdout]     |
[INFO] [stdout] 733 | ...                   && t <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:734:52
[INFO] [stdout]     |
[INFO] [stdout] 734 | ...                   && i <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:380:62
[INFO] [stdout]     |
[INFO] [stdout] 380 |                         "Infinity" => Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:381:63
[INFO] [stdout]     |
[INFO] [stdout] 381 |                         "-Infinity" => Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:382:57
[INFO] [stdout]     |
[INFO] [stdout] 382 |                         "NaN" => Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:39
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:68
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |             "Infinity" => Ok(std::f64::INFINITY),
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 61 |             "-Infinity" => Ok(std::f64::NEG_INFINITY),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |             "NaN" => Ok(std::f64::NAN),
[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]   = note: `#[warn(unused_imports)]` (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:1307:27
[INFO] [stdout]      |
[INFO] [stdout] 1307 |     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:1417:27
[INFO] [stdout]      |
[INFO] [stdout] 1417 |     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: enum `BsonInteger` is never used
[INFO] [stdout]    --> src/de/serde.rs:542:6
[INFO] [stdout]     |
[INFO] [stdout] 542 | enum BsonInteger {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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:465:17
[INFO] [stdout]     |
[INFO] [stdout] 465 |     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] 465 |     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:472:19
[INFO] [stdout]     |
[INFO] [stdout] 472 |     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] 472 |     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:501:18
[INFO] [stdout]     |
[INFO] [stdout] 501 |     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] 501 |     pub fn entry(&mut self, k: String) -> Entry<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 22.14s
[INFO] running `"docker" "inspect" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling plotters-backend v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling wait-timeout v0.2.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling plotters-svg v0.3.1
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling itertools v0.10.1
[INFO] [stderr]    Compiling plotters v0.3.1
[INFO] [stderr]    Compiling rusty-fork v0.3.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling bit-set v0.5.2
[INFO] [stderr]    Compiling rand_xorshift v0.3.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:676:65
[INFO] [stdout]     |
[INFO] [stdout] 676 |                 Ok("Infinity") => return Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:677:66
[INFO] [stdout]     |
[INFO] [stdout] 677 |                 Ok("-Infinity") => return Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:678:60
[INFO] [stdout]     |
[INFO] [stdout] 678 |                 Ok("NaN") => return Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:733:52
[INFO] [stdout]     |
[INFO] [stdout] 733 | ...                   && t <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:734:52
[INFO] [stdout]     |
[INFO] [stdout] 734 | ...                   && i <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:380:62
[INFO] [stdout]     |
[INFO] [stdout] 380 |                         "Infinity" => Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:381:63
[INFO] [stdout]     |
[INFO] [stdout] 381 |                         "-Infinity" => Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:382:57
[INFO] [stdout]     |
[INFO] [stdout] 382 |                         "NaN" => Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:39
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:68
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |             "Infinity" => Ok(std::f64::INFINITY),
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 61 |             "-Infinity" => Ok(std::f64::NEG_INFINITY),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |             "NaN" => Ok(std::f64::NAN),
[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]   = note: `#[warn(unused_imports)]` (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:1307:27
[INFO] [stdout]      |
[INFO] [stdout] 1307 |     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:1417:27
[INFO] [stdout]      |
[INFO] [stdout] 1417 |     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: enum `BsonInteger` is never used
[INFO] [stdout]    --> src/de/serde.rs:542:6
[INFO] [stdout]     |
[INFO] [stdout] 542 | enum BsonInteger {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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:465:17
[INFO] [stdout]     |
[INFO] [stdout] 465 |     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] 465 |     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:472:19
[INFO] [stdout]     |
[INFO] [stdout] 472 |     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] 472 |     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:501:18
[INFO] [stdout]     |
[INFO] [stdout] 501 |     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] 501 |     pub fn entry(&mut self, k: String) -> Entry<'_> {
[INFO] [stdout]     |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling pretty_assertions v0.6.1
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling criterion-plot v0.4.4
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling proptest v1.0.0
[INFO] [stderr]    Compiling criterion v0.3.5
[INFO] [stderr]    Compiling bson2 v2.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `tests`
[INFO] [stdout]    --> src/lib.rs:306:1
[INFO] [stdout]     |
[INFO] [stdout] 306 | 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] 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]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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: `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: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:676:65
[INFO] [stdout]     |
[INFO] [stdout] 676 |                 Ok("Infinity") => return Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:677:66
[INFO] [stdout]     |
[INFO] [stdout] 677 |                 Ok("-Infinity") => return Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/bson.rs:678:60
[INFO] [stdout]     |
[INFO] [stdout] 678 |                 Ok("NaN") => return Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:733:52
[INFO] [stdout]     |
[INFO] [stdout] 733 | ...                   && t <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/bson.rs:734:52
[INFO] [stdout]     |
[INFO] [stdout] 734 | ...                   && i <= (std::u32::MAX as i64)
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:380:62
[INFO] [stdout]     |
[INFO] [stdout] 380 |                         "Infinity" => Bson::Double(std::f64::INFINITY),
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:381:63
[INFO] [stdout]     |
[INFO] [stdout] 381 |                         "-Infinity" => Bson::Double(std::f64::NEG_INFINITY),
[INFO] [stdout]     |                                                               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]    --> src/de/serde.rs:382:57
[INFO] [stdout]     |
[INFO] [stdout] 382 |                         "NaN" => Bson::Double(std::f64::NAN),
[INFO] [stdout]     |                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MIN`: replaced by the `MIN` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:39
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::i32::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/extjson/de.rs:184:68
[INFO] [stdout]     |
[INFO] [stdout] 184 |                     if i >= std::i32::MIN as i64 && i <= std::i32::MAX as i64 {
[INFO] [stdout]     |                                                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |             "Infinity" => Ok(std::f64::INFINITY),
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NEG_INFINITY`: replaced by the `NEG_INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 61 |             "-Infinity" => Ok(std::f64::NEG_INFINITY),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::NAN`: replaced by the `NAN` associated constant on `f64`
[INFO] [stdout]   --> src/extjson/models.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 |             "NaN" => Ok(std::f64::NAN),
[INFO] [stdout]    |                                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/de/raw.rs:1676:51
[INFO] [stdout]      |
[INFO] [stdout] 1676 |         let bytes_read = self.bytes[self.index..].as_ref().read(buf)?;
[INFO] [stdout]      |                                                   ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]      |
[INFO] [stdout] 1676 -         let bytes_read = self.bytes[self.index..].as_ref().read(buf)?;
[INFO] [stdout] 1676 +         let bytes_read = <[u8] as AsRef<T>>::as_ref(&self.bytes[self.index..]).read(buf)?;
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::num::<impl usize>::max_value`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/oid.rs:270:24
[INFO] [stdout]     |
[INFO] [stdout] 270 |     let start = usize::max_value();
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1307:27
[INFO] [stdout]      |
[INFO] [stdout] 1307 |     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:1417:27
[INFO] [stdout]      |
[INFO] [stdout] 1417 |     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: E0282, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bson2` (lib test) due to 2 previous errors; 20 warnings emitted
[INFO] running `"docker" "inspect" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] running `"docker" "rm" "-f" "1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a"`
[INFO] [stdout] 1a07e2bce3b55008ede6147ddbc4fdddf289165fb6380fbee3c1c0867a91c14a
