[INFO] fetching crate simple_nats_client 0.1.0...
[INFO] testing simple_nats_client-0.1.0 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate simple_nats_client 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate simple_nats_client 0.1.0
[INFO] finished tweaking crates.io crate simple_nats_client 0.1.0
[INFO] tweaked toml for crates.io crate simple_nats_client 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate simple_nats_client 0.1.0 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 25 packages to highest compatible versions
[INFO] [stderr]       Adding env_logger v0.3.5 (available: v0.11.11)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.34)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | homepage = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |              -----------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `simple_nats_client` (manifest) generated 2 warnings
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26
[INFO] running `Command { std: "docker" "start" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "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" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "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" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | homepage = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |              -----------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `simple_nats_client` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling simple_nats_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:445:30
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut dyn Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:451:29
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut dyn Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 3.20s
[INFO] running `Command { std: "docker" "inspect" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "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" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | homepage = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |              -----------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `simple_nats_client` (manifest) generated 2 warnings
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling winapi v0.2.8
[INFO] [stderr]    Compiling regex-syntax v0.3.9
[INFO] [stderr]    Compiling utf8-ranges v0.1.3
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:445:30
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut dyn Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:451:29
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut dyn Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling simple_nats_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/multithread.rs:11:23
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/multithread.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 13 - static INIT: Once = ONCE_INIT;
[INFO] [stdout] 13 + static INIT: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/test.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::sync::{Once, ONCE_INIT};
[INFO] [stdout]    |                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> tests/test.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 14 - static INIT: Once = ONCE_INIT;
[INFO] [stdout] 14 + static INIT: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:445:30
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 445 |     fn write_request(c: &mut dyn Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/nats_client.rs:451:29
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 451 |     fn read_request(c: &mut dyn Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 7.90s
[INFO] running `Command { std: "docker" "inspect" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "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" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | homepage = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 | repository = "https://github.com/itn3000/simple_nats_client"
[INFO] [stderr]    |              -----------------------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `simple_nats_client` (manifest) generated 2 warnings
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/nats_client.rs:445:30
[INFO] [stderr]     |
[INFO] [stderr] 445 |     fn write_request(c: &mut Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stderr]     |                              ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 445 |     fn write_request(c: &mut dyn Write, data: &[u8], from: &str) -> Result<usize> {
[INFO] [stderr]     |                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/nats_client.rs:451:29
[INFO] [stderr]     |
[INFO] [stderr] 451 |     fn read_request(c: &mut Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stderr]     |                             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 451 |     fn read_request(c: &mut dyn Read, buf: &mut [u8], from: &str) -> Result<usize> {
[INFO] [stderr]     |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: `simple_nats_client` (lib) generated 2 warnings (run `cargo fix --lib -p simple_nats_client` to apply 2 suggestions)
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/multithread.rs:11:23
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::sync::{Once, ONCE_INIT};
[INFO] [stderr]    |                       ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/multithread.rs:13:21
[INFO] [stderr]    |
[INFO] [stderr] 13 | static INIT: Once = ONCE_INIT;
[INFO] [stderr]    |                     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 13 - static INIT: Once = ONCE_INIT;
[INFO] [stderr] 13 + static INIT: Once = Once::new();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/test.rs:12:23
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::sync::{Once, ONCE_INIT};
[INFO] [stderr]    |                       ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> tests/test.rs:14:21
[INFO] [stderr]    |
[INFO] [stderr] 14 | static INIT: Once = ONCE_INIT;
[INFO] [stderr]    |                     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 14 - static INIT: Once = ONCE_INIT;
[INFO] [stderr] 14 + static INIT: Once = Once::new();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `simple_nats_client` (test "multithread") generated 2 warnings (run `cargo fix --test "multithread" -p simple_nats_client` to apply 1 suggestion)
[INFO] [stderr] warning: `simple_nats_client` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: `simple_nats_client` (test "test") generated 2 warnings (run `cargo fix --test "test" -p simple_nats_client` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/simple_nats_client/9fd4fa75632a8576/out/simple_nats_client-9fd4fa75632a8576)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/multithread.rs (/opt/rustwide/target/release/build/simple_nats_client/2a76c0a30db814c6/out/multithread-2a76c0a30db814c6)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_i32_convert ... ok
[INFO] [stdout] test pub_sub_mt_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- pub_sub_mt_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread '<unnamed>' (486) panicked at tests/multithread.rs:51:102:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: ConnectionError(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" }, "NatsClient::new")
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4ba9aff0e1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5c4ba9b1496a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x5c4ba9b036ec - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5c4ba9adac06 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5c4ba9af7259 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x5c4ba9a442d0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5c4ba9af7412 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5c4ba9adacb2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5c4ba9ad38e9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5c4ba9adbaad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x5c4ba9b1511c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5c4ba9b14ef2 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x5c4ba9a34c5b - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<multithread[5b012f3582e5943b]::pub_sub_mt_test::{closure#0}, ()>
[INFO] [stdout]   13:     0x5c4ba9a33490 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<multithread[5b012f3582e5943b]::pub_sub_mt_test::{closure#0}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   14:     0x5c4ba9afe41f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   15:     0x78b02c7fedfa - <unknown>
[INFO] [stdout]   16:     0x78b02c8923d4 - clone
[INFO] [stdout]   17:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] thread 'pub_sub_mt_test' (484) panicked at tests/multithread.rs:82:15:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: RecvError
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5c4ba9aff0e1 - <<std[617be2ca0a6fd877]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[a373ad73a504971]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5c4ba9b1496a - core[a373ad73a504971]::fmt::write
[INFO] [stdout]    2:     0x5c4ba9b036ec - <alloc[2e1b2a31b91974c5]::vec::Vec<u8> as core[a373ad73a504971]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5c4ba9adac06 - std[617be2ca0a6fd877]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5c4ba9af7259 - std[617be2ca0a6fd877]::panicking::default_hook
[INFO] [stdout]    5:     0x5c4ba9a442d0 - test[aada8e7e76ba119b]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5c4ba9af7412 - std[617be2ca0a6fd877]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5c4ba9adacb2 - std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5c4ba9ad38e9 - std[617be2ca0a6fd877]::sys::backtrace::__rust_end_short_backtrace::<std[617be2ca0a6fd877]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5c4ba9adbaad - __rustc[ea4f61d10b84890b]::rust_begin_unwind
[INFO] [stdout]   10:     0x5c4ba9b1511c - core[a373ad73a504971]::panicking::panic_fmt
[INFO] [stderr] error: test failed, to rerun pass `--test multithread`
[INFO] [stdout]   11:     0x5c4ba9b14ef2 - core[a373ad73a504971]::result::unwrap_failed
[INFO] [stdout]   12:     0x5c4ba9a35d55 - <multithread[5b012f3582e5943b]::pub_sub_mt_test::{closure#0} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   13:     0x5c4ba9a3771b - test[aada8e7e76ba119b]::__rust_begin_short_backtrace::<core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>, fn() -> core[a373ad73a504971]::result::Result<(), alloc[2e1b2a31b91974c5]::string::String>>
[INFO] [stdout]   14:     0x5c4ba9a448f5 - test[aada8e7e76ba119b]::run_test::{closure#0}
[INFO] [stdout]   15:     0x5c4ba9a3e1e4 - std[617be2ca0a6fd877]::sys::backtrace::__rust_begin_short_backtrace::<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>
[INFO] [stdout]   16:     0x5c4ba9a47982 - <std[617be2ca0a6fd877]::thread::lifecycle::spawn_unchecked<test[aada8e7e76ba119b]::run_test::{closure#1}, ()>::{closure#1} as core[a373ad73a504971]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   17:     0x5c4ba9afe41f - <std[617be2ca0a6fd877]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   18:     0x78b02c7fedfa - <unknown>
[INFO] [stdout]   19:     0x78b02c8923d4 - clone
[INFO] [stdout]   20:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     pub_sub_mt_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26", kill_on_drop: false }`
[INFO] [stdout] ddb2f2689cf8c5f41de6587859d87fb975fe7c2bf10f8b89c8f0ba74e1955f26
