[INFO] fetching crate nightly-async-nats 0.27.1... [INFO] testing nightly-async-nats-0.27.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate nightly-async-nats 0.27.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate nightly-async-nats 0.27.1 [INFO] finished tweaking crates.io crate nightly-async-nats 0.27.1 [INFO] tweaked toml for crates.io crate nightly-async-nats 0.27.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nightly-async-nats 0.27.1 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 nightly-async-nats 0.27.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 746d8ce3f071dcf0a2024db1dba4bf674d474b6d5c01dd3fb91f5f4837260b0f [INFO] running `Command { std: "docker" "start" "-a" "746d8ce3f071dcf0a2024db1dba4bf674d474b6d5c01dd3fb91f5f4837260b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "746d8ce3f071dcf0a2024db1dba4bf674d474b6d5c01dd3fb91f5f4837260b0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "746d8ce3f071dcf0a2024db1dba4bf674d474b6d5c01dd3fb91f5f4837260b0f", kill_on_drop: false }` [INFO] [stdout] 746d8ce3f071dcf0a2024db1dba4bf674d474b6d5c01dd3fb91f5f4837260b0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3430a6e61998a78e4ad5a458c908feacd803263c8a3e8a3172a1baa8641e2409 [INFO] running `Command { std: "docker" "start" "-a" "3430a6e61998a78e4ad5a458c908feacd803263c8a3e8a3172a1baa8641e2409", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling rustls v0.20.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling data-encoding v2.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling base64-url v1.4.13 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling subslice v0.2.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling nuid v0.3.2 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling serde_repr v0.1.10 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling signatory v0.23.2 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling nkeys v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.26 [INFO] [stderr] Compiling futures v0.3.26 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling serde_nanos v0.1.2 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling nightly-async-nats v0.27.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PublishError(mpsc::error::SendError); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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/header.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&self) -> slice::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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&self) -> slice::Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch(&self) -> FetchBuilder { [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] 179 | pub fn fetch(&self) -> FetchBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn batch(&self) -> BatchBuilder { [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] 217 | pub fn batch(&self) -> BatchBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn sequence(&self, batch: usize) -> Result { [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] 257 | pub fn sequence(&self, batch: usize) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.33s [INFO] running `Command { std: "docker" "inspect" "3430a6e61998a78e4ad5a458c908feacd803263c8a3e8a3172a1baa8641e2409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3430a6e61998a78e4ad5a458c908feacd803263c8a3e8a3172a1baa8641e2409", kill_on_drop: false }` [INFO] [stdout] 3430a6e61998a78e4ad5a458c908feacd803263c8a3e8a3172a1baa8641e2409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a161df04547bfee76baef0b1c3cbca76d84a0d9358ec6ef3813b99dbb3e16a27 [INFO] running `Command { std: "docker" "start" "-a" "a161df04547bfee76baef0b1c3cbca76d84a0d9358ec6ef3813b99dbb3e16a27", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon-core v1.10.2 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PublishError(mpsc::error::SendError); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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/header.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&self) -> slice::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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 257 | pub fn iter(&self) -> slice::Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fetch(&self) -> FetchBuilder { [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] 179 | pub fn fetch(&self) -> FetchBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn batch(&self) -> BatchBuilder { [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] 217 | pub fn batch(&self) -> BatchBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jetstream/consumer/pull.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn sequence(&self, batch: usize) -> Result { [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] 257 | pub fn sequence(&self, batch: usize) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling rayon v1.6.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.16 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling nightly-async-nats v0.27.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use async_nats::jetstream::object_store::ObjectMeta; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/concurrent.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/jwt_tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/concurrent.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | let subscription = client.subscribe("greet.*".to_string()).await?.take(50); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let client: /* Type */ = async_nats::connect(nats_url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/concurrent.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | let subscription = client.subscribe("greet.*".to_string()).await?.take(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/sub.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sub.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | let mut subscriber = client.subscribe("foo".into()).await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let client: /* Type */ = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sub.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let mut subscriber = client.subscribe("foo".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/concurrent.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "concurrent") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/sub.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_pull.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | let consumer: PullConsumer = jetstream [INFO] [stdout] | __________________________________^ [INFO] [stdout] 23 | | .create_stream(jetstream::stream::Config { [INFO] [stdout] 24 | | name: stream_name, [INFO] [stdout] 25 | | subjects: vec!["events.>".to_string()], [INFO] [stdout] 26 | | ..Default::default() [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/kv.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_nats::jetstream; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "sub") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_pull.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | let mut messages = consumer.messages().await?.take(10); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/nkey_tests.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jwt_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let nc = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] 23 + let nc = ConnectOptions::with_credentials_file( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jwt_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 48 - let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] 48 + let client = ConnectOptions::with_credentials_file( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jwt_tests.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let s = nats_server::run_server("tests/configs/jwt.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "jetstream_pull") due to 6 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .await [INFO] [stdout] 27 | | .expect("loaded user creds file") [INFO] [stdout] 28 | | .connect(s.client_url()) [INFO] [stdout] 29 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | / nc.publish("hello".into(), "world".into()) [INFO] [stdout] 34 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jwt_tests.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | nats_server::run_server("tests/configs/jwt.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jwt_tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | nats_server::run_server("tests/configs/jwt.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jwt_tests.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | nats_server::run_server("tests/configs/jwt.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ______________________^ [INFO] [stdout] 49 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 50 | | ) [INFO] [stdout] 51 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|server| server.client_url().parse::().unwrap()) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ______________________^ [INFO] [stdout] 49 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 50 | | ) [INFO] [stdout] 51 | | .await [INFO] [stdout] ... | [INFO] [stdout] 60 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let mut subscriber = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(subscriber.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 30 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use nightly_async_nats::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 108 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 108 + .create_consumer(pull::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use async_nats::connection::State; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use async_nats::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/nkey_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] 23 + let nc = ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/nkey_tests.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] 44 + let client = ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let kv = jetstream [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 39 | kv.put("sue.color", "blue".into()).await?; [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `kv` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let kv: /* Type */ = jetstream [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "jwt_tests") due to 17 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / kv.update("sue.color", "red".into(), 1) [INFO] [stdout] 70 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let s = nats_server::run_server("tests/configs/nkey.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | .connect(s.client_url()) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / nc.publish("hello".into(), "world".into()) [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | let name = jetstream.stream_names().next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | .map(|server| server.client_url().parse::().unwrap()) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ______________________^ [INFO] [stdout] 45 | | .connect( [INFO] [stdout] 46 | | servers [INFO] [stdout] 47 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let mut subscriber = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let consumer = jetstream [INFO] [stdout] | ____________________^ [INFO] [stdout] 106 | | .get_stream("KV_profiles") [INFO] [stdout] 107 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(subscriber.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let consumer = jetstream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | let mut messages = consumer.messages().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `consumer` an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | let consumer: /* Type */ = jetstream [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut messages = consumer.messages().await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 113 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `messages` an explicit type [INFO] [stdout] | [INFO] [stdout] 112 | let mut messages: /* Type */ = consumer.messages().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ConnectOptions, Event, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 24 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/json.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 44 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 44 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 60 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | let client = client.clone(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | let client: /* Type */ = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | let server = nats_server::run_server("tests/configs/tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut subscriber = client.subscribe("foo".to_string()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | while let Some(message) = subscriber.next().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscriber` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let mut subscriber: /* Type */ = client.subscribe("foo".to_string()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut subscriber = client.subscribe("bar".to_string()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | while let Some(message) = subscriber.next().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscriber` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut subscriber: /* Type */ = client.subscribe("bar".to_string()).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | let mut subscriber = client.subscribe("foo".into()).await?.take(1); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let client: /* Type */ = async_nats::connect(nats_url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "nkey_tests") due to 15 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut watch = kv.watch("sue.*").await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `watch` an explicit type [INFO] [stdout] | [INFO] [stdout] 158 | let mut watch: /* Type */ = kv.watch("sue.*").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut subscriber = client.subscribe("foo".into()).await?.take(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 25 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 26 | | .add_client_certificate( [INFO] [stdout] 27 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 31 | | .connect(server.client_url()) [INFO] [stdout] 32 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use async_nats::connection::State; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use async_nats::header::{HeaderMap, NATS_MESSAGE_ID}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use async_nats::jetstream::consumer::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use async_nats::jetstream::context::Publish; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use async_nats::jetstream::response::Response; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use async_nats::jetstream::stream::{self, DiscardPolicy, StorageType}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | Err(err) => println!("error while in task: {:?} ", err.to_string()), [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let s = nats_server::run_server("tests/configs/tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / tokio::time::timeout( [INFO] [stdout] 43 | | tokio::time::Duration::from_secs(10), [INFO] [stdout] 44 | | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 45 | | .add_root_certificates(path.join("tests/configs/certs/client-all.pem")) [INFO] [stdout] ... | [INFO] [stdout] 53 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | .require_tls(true) [INFO] [stdout] 62 | | .connect("tls://demo.nats.io") [INFO] [stdout] 63 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / client [INFO] [stdout] 67 | | .publish("subject".into(), "data".into()) [INFO] [stdout] 68 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/pub.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | Ok::(now.elapsed()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | Ok::<(), async_nats::Error>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<(), async_nats::Error>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | Ok::(now.elapsed()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use async_nats::ConnectOptions; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pub.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | client.flush().await?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let client: /* Type */ = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "kv") due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 36 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 39 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 64 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 67 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 96 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 96 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 99 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 99 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 130 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 130 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:133:31 [INFO] [stdout] | [INFO] [stdout] 133 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 133 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 155 + .update_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 183 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 186 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 186 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 220 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 220 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:223:31 [INFO] [stdout] | [INFO] [stdout] 223 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 223 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 223 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:260:23 [INFO] [stdout] | [INFO] [stdout] 260 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 260 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 260 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "multiple_subs") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 263 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 263 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 300 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 300 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:303:31 [INFO] [stdout] | [INFO] [stdout] 303 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 303 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 303 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 338 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 338 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:341:31 [INFO] [stdout] | [INFO] [stdout] 341 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 341 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 341 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 397 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 397 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 400 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 400 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 400 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 450 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 450 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:453:31 [INFO] [stdout] | [INFO] [stdout] 453 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 453 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 453 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:489:31 [INFO] [stdout] | [INFO] [stdout] 489 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 489 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 489 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:515:23 [INFO] [stdout] | [INFO] [stdout] 515 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 515 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 515 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:518:31 [INFO] [stdout] | [INFO] [stdout] 518 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 518 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 518 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:550:22 [INFO] [stdout] | [INFO] [stdout] 550 | let hub_js = async_nats::jetstream::new(hub); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 550 - let hub_js = async_nats::jetstream::new(hub); [INFO] [stdout] 550 + let hub_js = jetstream::new(hub); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:553:31 [INFO] [stdout] | [INFO] [stdout] 553 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 553 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 553 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:562:29 [INFO] [stdout] | [INFO] [stdout] 562 | let mirror_bucket = async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 562 - let mirror_bucket = async_nats::jetstream::kv::Config { [INFO] [stdout] 562 + let mirror_bucket = kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:571:23 [INFO] [stdout] | [INFO] [stdout] 571 | let leaf_js = async_nats::jetstream::new(leaf.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 571 - let leaf_js = async_nats::jetstream::new(leaf.clone()); [INFO] [stdout] 571 + let leaf_js = jetstream::new(leaf.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:591:27 [INFO] [stdout] | [INFO] [stdout] 591 | let leaf_hub_js = async_nats::jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 591 - let leaf_hub_js = async_nats::jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] 591 + let leaf_hub_js = jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "tls_tests") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/pub.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/json.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 31 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 32 | | .connect(server.client_url()) [INFO] [stdout] 33 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let mut kv = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 39 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 40 | | bucket: "test".to_string(), [INFO] [stdout] 41 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let info = kv.stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "json") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 60 | | .connect(server.client_url()) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 67 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 68 | | bucket: "test".to_string(), [INFO] [stdout] 69 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 91 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 92 | | .connect(server.client_url()) [INFO] [stdout] 93 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 99 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 100 | | bucket: "test".to_string(), [INFO] [stdout] 101 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 106 | | }) [INFO] [stdout] 107 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 125 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 126 | | .connect(server.client_url()) [INFO] [stdout] 127 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let mut kv = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 133 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 134 | | bucket: "test".to_string(), [INFO] [stdout] 135 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 140 | | }) [INFO] [stdout] 141 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (example "pub") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | let value = kv.entry("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:151:23 [INFO] [stdout] | [INFO] [stdout] 151 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / context [INFO] [stdout] 155 | | .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 156 | | max_messages_per_subject: 10, [INFO] [stdout] 157 | | name: "KV_test".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 161 | | }) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | let info = kv.stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | let value = kv.entry("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 178 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 179 | | .connect(server.client_url()) [INFO] [stdout] 180 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 186 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 187 | | bucket: "test".to_string(), [INFO] [stdout] 188 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 193 | | }) [INFO] [stdout] 194 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | let rev = kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let rev2 = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 202 | | .update("key", updated_payload.clone(), rev) [INFO] [stdout] 203 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 214 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 215 | | // .connect(server.client_url()) [INFO] [stdout] 216 | | .connect(server.client_url()) [INFO] [stdout] 217 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 223 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 224 | | bucket: "delete".to_string(), [INFO] [stdout] 225 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 230 | | }) [INFO] [stdout] 231 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:235:21 [INFO] [stdout] | [INFO] [stdout] 235 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | kv.delete("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:238:18 [INFO] [stdout] | [INFO] [stdout] 238 | let ss = kv.get("kv").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:241:27 [INFO] [stdout] | [INFO] [stdout] 241 | let mut entries = kv.history("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 244 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Put); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 243 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 247 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Delete); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 246 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 254 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 255 | | // .connect(server.client_url()) [INFO] [stdout] 256 | | .connect(server.client_url()) [INFO] [stdout] 257 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 263 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 264 | | bucket: "purge".to_string(), [INFO] [stdout] 265 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }) [INFO] [stdout] 271 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | kv.put("dz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | kv.put("dz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | kv.put("dz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | kv.put("dz", "3".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | kv.put("dz", "4".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | kv.put("dz", "5".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | kv.put("baz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | kv.put("baz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | kv.put("baz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | kv.purge("dz").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 295 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 296 | | .connect(server.client_url()) [INFO] [stdout] 297 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:302:18 [INFO] [stdout] | [INFO] [stdout] 302 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 303 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 304 | | bucket: "history".to_string(), [INFO] [stdout] 305 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 310 | | }) [INFO] [stdout] 311 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | kv.put("key", format!("{i}").into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:317:27 [INFO] [stdout] | [INFO] [stdout] 317 | let mut history = kv.history("key").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 320 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:331:22 [INFO] [stdout] | [INFO] [stdout] 331 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:332:22 [INFO] [stdout] | [INFO] [stdout] 332 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 333 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 334 | | .connect(server.client_url()) [INFO] [stdout] 335 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 341 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 342 | | bucket: "history".to_string(), [INFO] [stdout] 343 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 348 | | }) [INFO] [stdout] 349 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | kv.put("foo", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | let mut watch = kv.watch("foo").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:361:21 [INFO] [stdout] | [INFO] [stdout] 361 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:371:21 [INFO] [stdout] | [INFO] [stdout] 371 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 392 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 393 | | .connect(server.client_url()) [INFO] [stdout] 394 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 400 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 401 | | bucket: "history".to_string(), [INFO] [stdout] 402 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 407 | | }) [INFO] [stdout] 408 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let mut watch = kv.watch_all().await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:419:21 [INFO] [stdout] | [INFO] [stdout] 419 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 443 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 445 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 446 | | .connect(server.client_url()) [INFO] [stdout] 447 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:452:18 [INFO] [stdout] | [INFO] [stdout] 452 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 453 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 454 | | bucket: "history".to_string(), [INFO] [stdout] 455 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 460 | | }) [INFO] [stdout] 461 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | let mut keys = kv.keys().await.unwrap().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | kv.delete("bar").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:477:20 [INFO] [stdout] | [INFO] [stdout] 477 | let keys = kv.keys().await.unwrap().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | kv.purge("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 485 | let keys = kv.keys().await.unwrap().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:488:18 [INFO] [stdout] | [INFO] [stdout] 488 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 489 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 490 | | bucket: "history2".to_string(), [INFO] [stdout] 491 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 497 | | }) [INFO] [stdout] 498 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | kv.put("baz", "value".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | assert_eq!(kv.keys().await.unwrap().count(), 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:508:22 [INFO] [stdout] | [INFO] [stdout] 508 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:509:22 [INFO] [stdout] | [INFO] [stdout] 509 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 510 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 511 | | .connect(server.client_url()) [INFO] [stdout] 512 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:517:18 [INFO] [stdout] | [INFO] [stdout] 517 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 518 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 519 | | bucket: "test".to_string(), [INFO] [stdout] 520 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 530 | | }) [INFO] [stdout] 531 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:534:29 [INFO] [stdout] | [INFO] [stdout] 534 | let mut subscribe = client.subscribe("bar.>".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | kv.put("key".to_string(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:538:23 [INFO] [stdout] | [INFO] [stdout] 538 | let message = subscribe.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:544:26 [INFO] [stdout] | [INFO] [stdout] 544 | let hub_server = nats_server::run_server("tests/configs/jetstream_hub.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:545:27 [INFO] [stdout] | [INFO] [stdout] 545 | let leaf_server = nats_server::run_server("tests/configs/jetstream_leaf.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:547:19 [INFO] [stdout] | [INFO] [stdout] 547 | let hub = async_nats::connect(hub_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:547:19 [INFO] [stdout] | [INFO] [stdout] 547 | let hub = async_nats::connect(hub_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let leaf = async_nats::connect(leaf_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:548:20 [INFO] [stdout] | [INFO] [stdout] 548 | let leaf = async_nats::connect(leaf_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | let hub_kv = hub_js [INFO] [stdout] | ______________________^ [INFO] [stdout] 553 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 554 | | bucket: "TEST".to_string(), [INFO] [stdout] 555 | | ..Default::default() [INFO] [stdout] 556 | | }) [INFO] [stdout] 557 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | hub_kv.put("name", "derek".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:560:9 [INFO] [stdout] | [INFO] [stdout] 560 | hub_kv.put("age", "22".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | leaf_js.create_key_value(mirror_bucket).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:574:22 [INFO] [stdout] | [INFO] [stdout] 574 | let mirror = leaf_js.get_stream("KV_MIRROR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:583:24 [INFO] [stdout] | [INFO] [stdout] 583 | let local_kv = leaf_js.get_key_value("MIRROR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | local_kv.put("name", "rip".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:587:20 [INFO] [stdout] | [INFO] [stdout] 587 | let name = local_kv.get("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:593:20 [INFO] [stdout] | [INFO] [stdout] 593 | let test = leaf_hub_js.get_key_value("TEST").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | test.put("name", "ivan".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:596:20 [INFO] [stdout] | [INFO] [stdout] 596 | let name = test.get("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | local_kv.get("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "kv_tests") due to 155 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 30 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 33 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 33 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 74 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 74 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 77 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 115 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 115 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:118:34 [INFO] [stdout] | [INFO] [stdout] 118 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 118 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 148 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 148 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 151 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 151 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 182 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 182 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:185:34 [INFO] [stdout] | [INFO] [stdout] 185 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 185 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 185 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 230 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:233:34 [INFO] [stdout] | [INFO] [stdout] 233 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 233 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 233 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 275 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 275 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 16 + use nightly_async_nats::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 278 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 278 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 134 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 134 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 147 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 147 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | assert!(async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 342 - assert!(async_nats::ConnectOptions::new() [INFO] [stdout] 342 + assert!(ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 359 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 359 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 385 - let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] 385 + let client = ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 400 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 400 + ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 414 - async_nats::ConnectOptions::new() [INFO] [stdout] 414 + ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "bad_password".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 423 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "bad_password".into()) [INFO] [stdout] 423 + ConnectOptions::with_user_and_password("derek".into(), "bad_password".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 436 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 436 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/client_tests.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let mut subscriber = client.subscribe("foo".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | client.publish("foo".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [INFO] [stdout] 40 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 33 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 34 | | bucket: "bucket".to_string(), [INFO] [stdout] 35 | | ..Default::default() [INFO] [stdout] 36 | | }) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | / client [INFO] [stdout] 63 | | .queue_subscribe("qfoo".into(), "group".into()) [INFO] [stdout] 64 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | client.publish("qfoo".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let mut object = bucket.get("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 77 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 78 | | bucket: "bucket".to_string(), [INFO] [stdout] 79 | | ..Default::default() [INFO] [stdout] 80 | | }) [INFO] [stdout] 81 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | / bucket [INFO] [stdout] 85 | | .put("FOO", &mut std::io::Cursor::new(vec![1, 2, 3, 4])) [INFO] [stdout] 86 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let mut watcher = bucket.watch().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | / bucket [INFO] [stdout] 96 | | .put("BAR", &mut io::Cursor::new(vec![2, 3, 4, 5])) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | bucket.delete("BAR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:105:22 [INFO] [stdout] | [INFO] [stdout] 105 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 118 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 119 | | bucket: "bucket".to_string(), [INFO] [stdout] 120 | | ..Default::default() [INFO] [stdout] 121 | | }) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | bucket.delete("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:145:22 [INFO] [stdout] | [INFO] [stdout] 145 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | let mut bucket = jetstream [INFO] [stdout] | __________________________^ [INFO] [stdout] 151 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 152 | | bucket: "bucket".to_string(), [INFO] [stdout] 153 | | ..Default::default() [INFO] [stdout] 154 | | }) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | bucket.seal().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:171:26 [INFO] [stdout] | [INFO] [stdout] 171 | let mut stream = jetstream.get_stream("OBJ_bucket").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let info = stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | subscriber.next(), [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 185 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 186 | | bucket: "bucket".to_string(), [INFO] [stdout] 187 | | ..Default::default() [INFO] [stdout] 188 | | }) [INFO] [stdout] 189 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | bucket.put(filename, &mut file.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:216:30 [INFO] [stdout] | [INFO] [stdout] 216 | let mut object = bucket.get(filename).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | object.read_to_end(&mut result).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 232 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 233 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 234 | | bucket: "bucket".to_string(), [INFO] [stdout] 235 | | ..Default::default() [INFO] [stdout] 236 | | }) [INFO] [stdout] 237 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | / bucket [INFO] [stdout] 240 | | .put( [INFO] [stdout] 241 | | ObjectMeta { [INFO] [stdout] 242 | | name: "Foo".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 248 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | / bucket [INFO] [stdout] 251 | | .put("DEL", &mut "32142421424".as_bytes()) [INFO] [stdout] 252 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let mut subscriber = client.clone().subscribe("foo".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | bucket.delete("DEL").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / cloned_client [INFO] [stdout] 108 | | .publish("foo".into(), "data".into()) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | / bucket [INFO] [stdout] 257 | | .put(format!("{i}").as_ref(), &mut "blalbalballba".as_bytes()) [INFO] [stdout] 258 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | let mut list = bucket.list().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | let obj = list.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | let mut subscriber = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | assert_eq!(list.next().await.unwrap().unwrap().name, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | / client [INFO] [stdout] 138 | | .publish_with_headers("test".into(), headers.clone(), b"".as_ref().into()) [INFO] [stdout] 139 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | assert_eq!(list.next().await.unwrap().unwrap().name, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let message = subscriber.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / client [INFO] [stdout] 152 | | .publish_with_headers("test".into(), headers.clone(), "test".into()) [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | let message = subscriber.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | let msg = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | / client [INFO] [stdout] 172 | | .publish(msg.reply.unwrap(), "resp".into()) [INFO] [stdout] 173 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | let mut insub = client.subscribe(inbox.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | / client [INFO] [stdout] 180 | | .publish_with_reply("test".into(), inbox, "data".into()) [INFO] [stdout] 181 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | assert!(insub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | let msg = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | / client [INFO] [stdout] 198 | | .publish(msg.reply.unwrap(), "reply".into()) [INFO] [stdout] 199 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 204 | let resp = tokio::time::timeout( [INFO] [stdout] | ____________________^ [INFO] [stdout] 205 | | tokio::time::Duration::from_millis(500), [INFO] [stdout] 206 | | client.request("test".into(), "request".into()), [INFO] [stdout] 207 | | ) [INFO] [stdout] 208 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 278 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 279 | | bucket: "bucket".to_string(), [INFO] [stdout] 280 | | ..Default::default() [INFO] [stdout] 281 | | }) [INFO] [stdout] 282 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | / bucket [INFO] [stdout] 285 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 286 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "object_store") due to 76 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | / bucket [INFO] [stdout] 289 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 290 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:218:20 [INFO] [stdout] | [INFO] [stdout] 218 | let _sub = client.subscribe("service".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | / bucket [INFO] [stdout] 293 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 294 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | / bucket [INFO] [stdout] 297 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 298 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | / bucket [INFO] [stdout] 301 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 302 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let err = client.request("service".into(), "payload".into()).await; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | err.unwrap_err() [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `err` an explicit type [INFO] [stdout] | [INFO] [stdout] 221 | let err: /* Type */ = client.request("service".into(), "payload".into()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / tokio::time::timeout( [INFO] [stdout] 238 | | tokio::time::Duration::from_millis(300), [INFO] [stdout] 239 | | client.request("test".into(), "request".into()), [INFO] [stdout] 240 | | ) [INFO] [stdout] 241 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:249:22 [INFO] [stdout] | [INFO] [stdout] 249 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:252:23 [INFO] [stdout] | [INFO] [stdout] 252 | let mut sub = client.subscribe("service".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:258:31 [INFO] [stdout] | [INFO] [stdout] 258 | let request = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | client.publish(reply, "ok".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | / client [INFO] [stdout] 268 | | .send_request("service".into(), request) [INFO] [stdout] 269 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | sub.unsubscribe().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:286:24 [INFO] [stdout] | [INFO] [stdout] 286 | let mut sub2 = client.subscribe("test2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:287:9 [INFO] [stdout] | [INFO] [stdout] 287 | client.publish("test2".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | assert!(sub2.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:297:23 [INFO] [stdout] | [INFO] [stdout] 297 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | sub.unsubscribe_after(3).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:315:22 [INFO] [stdout] | [INFO] [stdout] 315 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:317:23 [INFO] [stdout] | [INFO] [stdout] 317 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | sub.unsubscribe_after(1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | assert!(async_nats::connect("localhost:1111").await.is_err()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 331 | assert!(async_nats::connect("localhost:1111").await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | assert!(async_nats::connect("demo.nats.io").await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | assert!(async_nats::connect("demo.nats.io").await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 341 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | assert!(async_nats::ConnectOptions::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 343 | | .require_tls(true) [INFO] [stdout] 344 | | .connect(server.client_url()) [INFO] [stdout] 345 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:363:27 [INFO] [stdout] | [INFO] [stdout] 363 | .map(|server| server.client_url().parse::().unwrap()) [INFO] [stdout] | ^^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 363 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:359:22 [INFO] [stdout] | [INFO] [stdout] 359 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 360 | | .connect( [INFO] [stdout] 361 | | servers [INFO] [stdout] 362 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 367 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:370:30 [INFO] [stdout] | [INFO] [stdout] 370 | let mut subscriber = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | client.publish("test".into(), "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:374:13 [INFO] [stdout] | [INFO] [stdout] 374 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | assert!(subscriber.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let server = nats_server::run_server("tests/configs/token.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:385:22 [INFO] [stdout] | [INFO] [stdout] 385 | let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | ______________________^ [INFO] [stdout] 386 | | .connect(server.client_url()) [INFO] [stdout] 387 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | client.publish("test".into(), "test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 401 | | .connect(server.client_url()) [INFO] [stdout] 402 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:405:23 [INFO] [stdout] | [INFO] [stdout] 405 | let mut sub = client.subscribe("test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | client.publish("test".into(), "test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | / async_nats::ConnectOptions::new() [INFO] [stdout] 415 | | .connect(server.client_url()) [INFO] [stdout] 416 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:422:22 [INFO] [stdout] | [INFO] [stdout] 422 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "bad_password".into()) [INFO] [stdout] 424 | | .connect(server.client_url()) [INFO] [stdout] 425 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:431:22 [INFO] [stdout] | [INFO] [stdout] 431 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 437 | | .event_callback(move |event| { [INFO] [stdout] 438 | | let tx = tx.clone(); [INFO] [stdout] 439 | | let dc_tx = dc_tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 451 | | .connect(server.client_url()) [INFO] [stdout] 452 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | client.subscribe("test".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | let _server = nats_server::run_server_with_port("", Some(port.as_str())); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:481:22 [INFO] [stdout] | [INFO] [stdout] 481 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 482 | | .event_callback(move |event| { [INFO] [stdout] 483 | | let tx = tx.clone(); [INFO] [stdout] 484 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 490 | | .connect(server.client_url()) [INFO] [stdout] 491 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:494:23 [INFO] [stdout] | [INFO] [stdout] 494 | let mut sub = client.subscribe("data".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | / client [INFO] [stdout] 496 | | .publish("data".to_string(), "data".into()) [INFO] [stdout] 497 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | nats_server::set_lame_duck_mode(&server); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:510:22 [INFO] [stdout] | [INFO] [stdout] 510 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 514 | | .subscription_capacity(1) [INFO] [stdout] 515 | | .event_callback(move |event| { [INFO] [stdout] 516 | | let tx = tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 523 | | .connect(server.client_url()) [INFO] [stdout] 524 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:527:20 [INFO] [stdout] | [INFO] [stdout] 527 | let _sub = client.subscribe("data".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | / client [INFO] [stdout] 529 | | .publish("data".to_string(), "data".into()) [INFO] [stdout] 530 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | / client [INFO] [stdout] 533 | | .publish("data".to_string(), "data".into()) [INFO] [stdout] 534 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:536:9 [INFO] [stdout] | [INFO] [stdout] 536 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | / client [INFO] [stdout] 538 | | .publish("data".to_string(), "data".into()) [INFO] [stdout] 539 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:557:22 [INFO] [stdout] | [INFO] [stdout] 557 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:558:22 [INFO] [stdout] | [INFO] [stdout] 558 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 559 | | .connect(server.client_url()) [INFO] [stdout] 560 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:562:32 [INFO] [stdout] | [INFO] [stdout] 562 | let mut subscription = client.subscribe("echo".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | / client [INFO] [stdout] 564 | | .publish("echo".to_string(), "data".into()) [INFO] [stdout] 565 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | / tokio::time::timeout(Duration::from_millis(500), subscription.next()) [INFO] [stdout] 568 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 574 | | .no_echo() [INFO] [stdout] 575 | | .connect(server.client_url()) [INFO] [stdout] 576 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:578:32 [INFO] [stdout] | [INFO] [stdout] 578 | let mut subscription = client.subscribe("echo".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | / client [INFO] [stdout] 580 | | .publish("echo".to_string(), "data".into()) [INFO] [stdout] 581 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | / tokio::time::timeout(Duration::from_millis(50), subscription.next()) [INFO] [stdout] 584 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:590:22 [INFO] [stdout] | [INFO] [stdout] 590 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:593:35 [INFO] [stdout] | [INFO] [stdout] 593 | .event_callback(move |err| { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | tx.send(err.to_string()).unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 593 | .event_callback(move |err: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:592:23 [INFO] [stdout] | [INFO] [stdout] 592 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 593 | | .event_callback(move |err| { [INFO] [stdout] 594 | | let tx = tx.clone(); [INFO] [stdout] 595 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 599 | | .connect(server.client_url()) [INFO] [stdout] 600 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | let timeout_result = ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 647 | timeout_result.unwrap_err().kind(), [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `timeout_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 641 | let timeout_result: /* Type */ = ConnectOptions::new() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:655:22 [INFO] [stdout] | [INFO] [stdout] 655 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:656:22 [INFO] [stdout] | [INFO] [stdout] 656 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 657 | | .custom_inbox_prefix("BOB") [INFO] [stdout] 658 | | .connect(server.client_url()) [INFO] [stdout] 659 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:662:47 [INFO] [stdout] | [INFO] [stdout] 662 | let mut inbox_wildcard_subscription = client.subscribe("BOB.>".to_string()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:663:32 [INFO] [stdout] | [INFO] [stdout] 663 | let mut subscription = client.subscribe("request".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:668:27 [INFO] [stdout] | [INFO] [stdout] 668 | let msg = subscription.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:669:17 [INFO] [stdout] | [INFO] [stdout] 669 | / client [INFO] [stdout] 670 | | .publish(msg.reply.unwrap(), "prefix workers".into()) [INFO] [stdout] 671 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:676:9 [INFO] [stdout] | [INFO] [stdout] 676 | / client [INFO] [stdout] 677 | | .request("request".into(), "data".into()) [INFO] [stdout] 678 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | inbox_wildcard_subscription.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:685:22 [INFO] [stdout] | [INFO] [stdout] 685 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:686:22 [INFO] [stdout] | [INFO] [stdout] 686 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:686:22 [INFO] [stdout] | [INFO] [stdout] 686 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:695:22 [INFO] [stdout] | [INFO] [stdout] 695 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 696 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:696:22 [INFO] [stdout] | [INFO] [stdout] 696 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:703:23 [INFO] [stdout] | [INFO] [stdout] 703 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 704 | | .connect("localhost:7777") [INFO] [stdout] 705 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:707:22 [INFO] [stdout] | [INFO] [stdout] 707 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 708 | | .event_callback(|ev| async move { [INFO] [stdout] 709 | | println!("event: {ev}"); [INFO] [stdout] 710 | | }) [INFO] [stdout] 711 | | .retry_on_initial_connect() [INFO] [stdout] 712 | | .connect("localhost:7777") [INFO] [stdout] 713 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:716:23 [INFO] [stdout] | [INFO] [stdout] 716 | let mut sub = client.subscribe("DATA".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:717:9 [INFO] [stdout] | [INFO] [stdout] 717 | / client [INFO] [stdout] 718 | | .publish("DATA".into(), "payload".into()) [INFO] [stdout] 719 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:722:23 [INFO] [stdout] | [INFO] [stdout] 722 | let _server = nats_server::run_server_with_port("", Some("7777")); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:697:32 [INFO] [stdout] | [INFO] [stdout] 697 | let _error: Result<(), async_nats::PublishError> = [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nightly-async-nats` (test "client_tests") due to 193 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 49 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 62 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 62 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 91 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 91 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 118 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 266 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 266 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:294:23 [INFO] [stdout] | [INFO] [stdout] 294 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 294 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 294 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 306 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 306 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 306 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 323 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 323 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:335:23 [INFO] [stdout] | [INFO] [stdout] 335 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 335 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 335 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 355 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 355 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 355 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 400 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 400 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 421 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 421 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:443:23 [INFO] [stdout] | [INFO] [stdout] 443 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 443 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 443 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:446:28 [INFO] [stdout] | [INFO] [stdout] 446 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 446 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 446 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:477:23 [INFO] [stdout] | [INFO] [stdout] 477 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 477 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 477 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:480:28 [INFO] [stdout] | [INFO] [stdout] 480 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 480 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 480 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 506 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 506 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 506 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 539 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 539 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 539 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:549:23 [INFO] [stdout] | [INFO] [stdout] 549 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 549 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 549 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:570:23 [INFO] [stdout] | [INFO] [stdout] 570 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 570 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 570 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:589:23 [INFO] [stdout] | [INFO] [stdout] 589 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 589 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 589 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:625:23 [INFO] [stdout] | [INFO] [stdout] 625 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 625 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 625 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:680:23 [INFO] [stdout] | [INFO] [stdout] 680 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 680 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 680 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:739:23 [INFO] [stdout] | [INFO] [stdout] 739 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 739 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 739 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:810:23 [INFO] [stdout] | [INFO] [stdout] 810 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 810 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 810 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:863:23 [INFO] [stdout] | [INFO] [stdout] 863 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 863 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 863 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:924:23 [INFO] [stdout] | [INFO] [stdout] 924 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 924 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 924 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:992:23 [INFO] [stdout] | [INFO] [stdout] 992 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 992 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 992 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1013:23 [INFO] [stdout] | [INFO] [stdout] 1013 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1013 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1013 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1044:23 [INFO] [stdout] | [INFO] [stdout] 1044 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1044 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1044 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1083:23 [INFO] [stdout] | [INFO] [stdout] 1083 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1083 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1083 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1122:23 [INFO] [stdout] | [INFO] [stdout] 1122 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1122 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1122 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1168:23 [INFO] [stdout] | [INFO] [stdout] 1168 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1168 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1168 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1209:23 [INFO] [stdout] | [INFO] [stdout] 1209 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1209 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1209 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1257:23 [INFO] [stdout] | [INFO] [stdout] 1257 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1257 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1257 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1321:23 [INFO] [stdout] | [INFO] [stdout] 1321 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1321 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1321 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1363:23 [INFO] [stdout] | [INFO] [stdout] 1363 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1363 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1363 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1418:23 [INFO] [stdout] | [INFO] [stdout] 1418 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1418 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1418 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1463:23 [INFO] [stdout] | [INFO] [stdout] 1463 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1463 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1463 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1509:23 [INFO] [stdout] | [INFO] [stdout] 1509 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1509 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1509 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1555:23 [INFO] [stdout] | [INFO] [stdout] 1555 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1555 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1555 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1608:23 [INFO] [stdout] | [INFO] [stdout] 1608 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1608 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1608 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1660:23 [INFO] [stdout] | [INFO] [stdout] 1660 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1660 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1660 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1716:23 [INFO] [stdout] | [INFO] [stdout] 1716 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1716 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1716 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1761:23 [INFO] [stdout] | [INFO] [stdout] 1761 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1761 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1761 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1814:23 [INFO] [stdout] | [INFO] [stdout] 1814 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1814 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1814 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1863:23 [INFO] [stdout] | [INFO] [stdout] 1863 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1863 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1863 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1920:23 [INFO] [stdout] | [INFO] [stdout] 1920 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1920 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1920 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1956:23 [INFO] [stdout] | [INFO] [stdout] 1956 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1956 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1956 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2016:27 [INFO] [stdout] | [INFO] [stdout] 2016 | .ack_with(async_nats::jetstream::AckKind::Nak) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::AckKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `AckKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2016 - .ack_with(async_nats::jetstream::AckKind::Nak) [INFO] [stdout] 2016 + .ack_with(AckKind::Nak) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2032:22 [INFO] [stdout] | [INFO] [stdout] 2032 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2032 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2032 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2041:25 [INFO] [stdout] | [INFO] [stdout] 2041 | let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2041 - let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2041 + let jetstream = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2046:37 [INFO] [stdout] | [INFO] [stdout] 2046 | jetstream.create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2046 - jetstream.create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2046 + jetstream.create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2057:30 [INFO] [stdout] | [INFO] [stdout] 2057 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2057 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2057 + .create_consumer(pull::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2103:22 [INFO] [stdout] | [INFO] [stdout] 2103 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2103 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2103 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2111:29 [INFO] [stdout] | [INFO] [stdout] 2111 | let mut jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2111 - let mut jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2111 + let mut jetstream = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2146:25 [INFO] [stdout] | [INFO] [stdout] 2146 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2146 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2146 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2149:28 [INFO] [stdout] | [INFO] [stdout] 2149 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2149 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2149 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2153:33 [INFO] [stdout] | [INFO] [stdout] 2153 | republish: Some(async_nats::jetstream::stream::Republish { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2153 - republish: Some(async_nats::jetstream::stream::Republish { [INFO] [stdout] 2153 + republish: Some(stream::Republish { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2163:28 [INFO] [stdout] | [INFO] [stdout] 2163 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2163 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2163 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2173:30 [INFO] [stdout] | [INFO] [stdout] 2173 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2173 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2173 + .create_consumer(pull::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2202:25 [INFO] [stdout] | [INFO] [stdout] 2202 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2202 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2202 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2205:28 [INFO] [stdout] | [INFO] [stdout] 2205 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2205 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2205 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2242:25 [INFO] [stdout] | [INFO] [stdout] 2242 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2242 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2242 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2245:28 [INFO] [stdout] | [INFO] [stdout] 2245 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2245 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2245 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2263:28 [INFO] [stdout] | [INFO] [stdout] 2263 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2263 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2263 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2265:30 [INFO] [stdout] | [INFO] [stdout] 2265 | mirror: Some(async_nats::jetstream::stream::Source { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2265 - mirror: Some(async_nats::jetstream::stream::Source { [INFO] [stdout] 2265 + mirror: Some(stream::Source { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2282:30 [INFO] [stdout] | [INFO] [stdout] 2282 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2282 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2282 + .create_consumer(pull::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2302:25 [INFO] [stdout] | [INFO] [stdout] 2302 | let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2302 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2302 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2305:28 [INFO] [stdout] | [INFO] [stdout] 2305 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2305 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2305 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2313:28 [INFO] [stdout] | [INFO] [stdout] 2313 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2313 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2313 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2339:28 [INFO] [stdout] | [INFO] [stdout] 2339 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2339 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2339 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2342:21 [INFO] [stdout] | [INFO] [stdout] 2342 | async_nats::jetstream::stream::Source { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2342 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2342 + stream::Source { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2347:21 [INFO] [stdout] | [INFO] [stdout] 2347 | async_nats::jetstream::stream::Source { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2347 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2347 + stream::Source { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2373:30 [INFO] [stdout] | [INFO] [stdout] 2373 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2373 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2373 + .create_consumer(pull::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2401:23 [INFO] [stdout] | [INFO] [stdout] 2401 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2401 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2401 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2455:23 [INFO] [stdout] | [INFO] [stdout] 2455 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2455 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2455 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2459:32 [INFO] [stdout] | [INFO] [stdout] 2459 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2459 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2459 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2475:23 [INFO] [stdout] | [INFO] [stdout] 2475 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2475 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2475 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2479:32 [INFO] [stdout] | [INFO] [stdout] 2479 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2479 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2479 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2495:23 [INFO] [stdout] | [INFO] [stdout] 2495 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2495 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2495 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2498:28 [INFO] [stdout] | [INFO] [stdout] 2498 | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2498 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2498 + .create_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:2516:30 [INFO] [stdout] | [INFO] [stdout] 2516 | .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use nightly_async_nats::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2516 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 2516 + .create_consumer(push::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let account = context.query_account().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let account = context.query_account().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let _stream = context [INFO] [stdout] | _______________________^ [INFO] [stdout] 65 | | .create_stream(stream::Config { [INFO] [stdout] 66 | | name: "TEST".to_string(), [INFO] [stdout] 67 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 68 | | ..Default::default() [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 77 | | .publish_with_headers("foo".into(), headers, payload.as_ref().into()) [INFO] [stdout] 78 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 77 | | .publish_with_headers("foo".into(), headers, payload.as_ref().into()) [INFO] [stdout] 78 | | .await [INFO] [stdout] 79 | | .unwrap() [INFO] [stdout] 80 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:89:22 [INFO] [stdout] | [INFO] [stdout] 89 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | / context [INFO] [stdout] 94 | | .create_stream(stream::Config { [INFO] [stdout] 95 | | name: "TEST".to_string(), [INFO] [stdout] 96 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 97 | | ..Default::default() [INFO] [stdout] 98 | | }) [INFO] [stdout] 99 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 103 | | .publish("foo".to_string(), "payload".into()) [INFO] [stdout] 104 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(ack.await.is_ok()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 108 | | .publish("not_stream".to_string(), "payload".into()) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | assert!(ack.await.is_err()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | let mut stream = context [INFO] [stdout] | __________________________^ [INFO] [stdout] 121 | | .create_stream(stream::Config { [INFO] [stdout] 122 | | name: "TEST".to_string(), [INFO] [stdout] 123 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] ... | [INFO] [stdout] 126 | | }) [INFO] [stdout] 127 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / context [INFO] [stdout] 133 | | .send_publish( [INFO] [stdout] 134 | | "foo".to_string(), [INFO] [stdout] 135 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 139 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / context [INFO] [stdout] 133 | | .send_publish( [INFO] [stdout] 134 | | "foo".to_string(), [INFO] [stdout] 135 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 140 | | .unwrap() [INFO] [stdout] 141 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / context [INFO] [stdout] 145 | | .send_publish("foo".to_string(), Publish::build().message_id(id.clone())) [INFO] [stdout] 146 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | / context [INFO] [stdout] 145 | | .send_publish("foo".to_string(), Publish::build().message_id(id.clone())) [INFO] [stdout] 146 | | .await [INFO] [stdout] 147 | | .unwrap() [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let info = stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 154 | | .direct_get_last_for_subject("foo".to_string()) [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / context [INFO] [stdout] 161 | | .send_publish( [INFO] [stdout] 162 | | "foo".to_string(), [INFO] [stdout] 163 | | Publish::build().expected_last_message_id("BAD_ID"), [INFO] [stdout] 164 | | ) [INFO] [stdout] 165 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / context [INFO] [stdout] 161 | | .send_publish( [INFO] [stdout] 162 | | "foo".to_string(), [INFO] [stdout] 163 | | Publish::build().expected_last_message_id("BAD_ID"), [INFO] [stdout] ... | [INFO] [stdout] 166 | | .unwrap() [INFO] [stdout] 167 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / context [INFO] [stdout] 171 | | .send_publish( [INFO] [stdout] 172 | | "foo".to_string(), [INFO] [stdout] 173 | | Publish::build().expected_last_message_id(id.clone()), [INFO] [stdout] 174 | | ) [INFO] [stdout] 175 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / context [INFO] [stdout] 171 | | .send_publish( [INFO] [stdout] 172 | | "foo".to_string(), [INFO] [stdout] 173 | | Publish::build().expected_last_message_id(id.clone()), [INFO] [stdout] ... | [INFO] [stdout] 176 | | .unwrap() [INFO] [stdout] 177 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / context [INFO] [stdout] 182 | | .send_publish( [INFO] [stdout] 183 | | "foo".to_string(), [INFO] [stdout] 184 | | Publish::build().expected_last_sequence(2), [INFO] [stdout] 185 | | ) [INFO] [stdout] 186 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | / context [INFO] [stdout] 182 | | .send_publish( [INFO] [stdout] 183 | | "foo".to_string(), [INFO] [stdout] 184 | | Publish::build().expected_last_sequence(2), [INFO] [stdout] ... | [INFO] [stdout] 187 | | .unwrap() [INFO] [stdout] 188 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / context [INFO] [stdout] 192 | | .send_publish( [INFO] [stdout] 193 | | "foo".to_string(), [INFO] [stdout] 194 | | Publish::build().expected_last_sequence(2), [INFO] [stdout] 195 | | ) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / context [INFO] [stdout] 192 | | .send_publish( [INFO] [stdout] 193 | | "foo".to_string(), [INFO] [stdout] 194 | | Publish::build().expected_last_sequence(2), [INFO] [stdout] ... | [INFO] [stdout] 197 | | .unwrap() [INFO] [stdout] 198 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / context [INFO] [stdout] 202 | | .send_publish( [INFO] [stdout] 203 | | "foo".to_string(), [INFO] [stdout] 204 | | Publish::build().expected_last_subject_sequence(3), [INFO] [stdout] 205 | | ) [INFO] [stdout] 206 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / context [INFO] [stdout] 202 | | .send_publish( [INFO] [stdout] 203 | | "foo".to_string(), [INFO] [stdout] 204 | | Publish::build().expected_last_subject_sequence(3), [INFO] [stdout] ... | [INFO] [stdout] 207 | | .unwrap() [INFO] [stdout] 208 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / context [INFO] [stdout] 212 | | .send_publish( [INFO] [stdout] 213 | | "foo".to_string(), [INFO] [stdout] 214 | | Publish::build().expected_last_subject_sequence(3), [INFO] [stdout] 215 | | ) [INFO] [stdout] 216 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / context [INFO] [stdout] 212 | | .send_publish( [INFO] [stdout] 213 | | "foo".to_string(), [INFO] [stdout] 214 | | Publish::build().expected_last_subject_sequence(3), [INFO] [stdout] ... | [INFO] [stdout] 217 | | .unwrap() [INFO] [stdout] 218 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / context [INFO] [stdout] 223 | | .send_publish( [INFO] [stdout] 224 | | "bar".to_string(), [INFO] [stdout] 225 | | Publish::build().expected_last_subject_sequence(0), [INFO] [stdout] 226 | | ) [INFO] [stdout] 227 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / context [INFO] [stdout] 223 | | .send_publish( [INFO] [stdout] 224 | | "bar".to_string(), [INFO] [stdout] 225 | | Publish::build().expected_last_subject_sequence(0), [INFO] [stdout] ... | [INFO] [stdout] 228 | | .unwrap() [INFO] [stdout] 229 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / context [INFO] [stdout] 233 | | .send_publish( [INFO] [stdout] 234 | | "bar".to_string(), [INFO] [stdout] 235 | | Publish::build().expected_last_subject_sequence(0), [INFO] [stdout] 236 | | ) [INFO] [stdout] 237 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | / context [INFO] [stdout] 233 | | .send_publish( [INFO] [stdout] 234 | | "bar".to_string(), [INFO] [stdout] 235 | | Publish::build().expected_last_subject_sequence(0), [INFO] [stdout] ... | [INFO] [stdout] 238 | | .unwrap() [INFO] [stdout] 239 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(stream.info().await.unwrap().state.messages, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / context [INFO] [stdout] 244 | | .send_publish( [INFO] [stdout] 245 | | "foo".to_string(), [INFO] [stdout] 246 | | Publish::build().header(NATS_MESSAGE_ID, id.as_str()), [INFO] [stdout] 247 | | ) [INFO] [stdout] 248 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / context [INFO] [stdout] 244 | | .send_publish( [INFO] [stdout] 245 | | "foo".to_string(), [INFO] [stdout] 246 | | Publish::build().header(NATS_MESSAGE_ID, id.as_str()), [INFO] [stdout] ... | [INFO] [stdout] 249 | | .unwrap() [INFO] [stdout] 250 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:253:20 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(stream.info().await.unwrap().state.messages, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / context [INFO] [stdout] 255 | | .send_publish("bar".to_string(), Publish::build().expected_stream("TEST")) [INFO] [stdout] 256 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / context [INFO] [stdout] 255 | | .send_publish("bar".to_string(), Publish::build().expected_stream("TEST")) [INFO] [stdout] 256 | | .await [INFO] [stdout] 257 | | .unwrap() [INFO] [stdout] 258 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | / context [INFO] [stdout] 269 | | .create_stream(stream::Config { [INFO] [stdout] 270 | | name: "TEST".to_string(), [INFO] [stdout] 271 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 272 | | ..Default::default() [INFO] [stdout] 273 | | }) [INFO] [stdout] 274 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 281 | | .publish("foo".into(), payload.as_ref().into()) [INFO] [stdout] 282 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 281 | | .publish("foo".into(), payload.as_ref().into()) [INFO] [stdout] 282 | | .await [INFO] [stdout] 283 | | .unwrap() [INFO] [stdout] 284 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | context.request("INFO".to_string(), &()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:304:22 [INFO] [stdout] | [INFO] [stdout] 304 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:308:47 [INFO] [stdout] | [INFO] [stdout] 308 | let response: Response = context [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 309 | | .request("STREAM.INFO.nonexisting".to_string(), &()) [INFO] [stdout] 310 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | let client = async_nats::connect("nats://localhost:4222").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | let client = async_nats::connect("nats://localhost:4222").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | context.request("API.FONI".to_string(), &()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | / context [INFO] [stdout] 340 | | .create_stream(&stream::Config { [INFO] [stdout] 341 | | name: "events2".to_string(), [INFO] [stdout] 342 | | ..Default::default() [INFO] [stdout] 343 | | }) [INFO] [stdout] 344 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:352:23 [INFO] [stdout] | [INFO] [stdout] 352 | let cluster = nats_server::run_cluster("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let client = async_nats::connect(cluster.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let client = async_nats::connect(cluster.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | let mut stream = context [INFO] [stdout] | __________________________^ [INFO] [stdout] 358 | | .create_stream(&stream::Config { [INFO] [stdout] 359 | | name: "events2".to_string(), [INFO] [stdout] 360 | | num_replicas: 3, [INFO] [stdout] ... | [INFO] [stdout] 364 | | }) [INFO] [stdout] 365 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | / stream [INFO] [stdout] 372 | | .info() [INFO] [stdout] 373 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:383:24 [INFO] [stdout] | [INFO] [stdout] 383 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 384 | | .create_consumer(jetstream::consumer::pull::Config { [INFO] [stdout] 385 | | durable_name: Some("name".to_string()), [INFO] [stdout] 386 | | ..Default::default() [INFO] [stdout] 387 | | }) [INFO] [stdout] 388 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | context.delete_stream("events2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:398:22 [INFO] [stdout] | [INFO] [stdout] 398 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:399:22 [INFO] [stdout] | [INFO] [stdout] 399 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | / context [INFO] [stdout] 405 | | .get_stream("events") [INFO] [stdout] 406 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | / context [INFO] [stdout] 405 | | .get_stream("events") [INFO] [stdout] 406 | | .await [INFO] [stdout] 407 | | .unwrap() [INFO] [stdout] 408 | | .info() [INFO] [stdout] 409 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 419 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 420 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | / context [INFO] [stdout] 427 | | .publish("events".to_string(), "data".into()) [INFO] [stdout] 428 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:431:26 [INFO] [stdout] | [INFO] [stdout] 431 | let mut stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | stream.purge().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:436:20 [INFO] [stdout] | [INFO] [stdout] 436 | assert_eq!(stream.info().await.unwrap().state.messages, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:441:22 [INFO] [stdout] | [INFO] [stdout] 441 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | / context [INFO] [stdout] 446 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 447 | | name: "events".to_string(), [INFO] [stdout] 448 | | subjects: vec!["events.*".to_string()], [INFO] [stdout] 449 | | ..Default::default() [INFO] [stdout] 450 | | }) [INFO] [stdout] 451 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | / context [INFO] [stdout] 456 | | .publish("events.one".to_string(), "data".into()) [INFO] [stdout] 457 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:461:13 [INFO] [stdout] | [INFO] [stdout] 461 | / context [INFO] [stdout] 462 | | .publish("events.two".to_string(), "data".into()) [INFO] [stdout] 463 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:466:26 [INFO] [stdout] | [INFO] [stdout] 466 | let mut stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | stream.purge().filter("events.two").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(stream.info().await.unwrap().state.messages, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 476 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:476:22 [INFO] [stdout] | [INFO] [stdout] 476 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | / context [INFO] [stdout] 480 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 481 | | name: "events".to_string(), [INFO] [stdout] 482 | | subjects: vec!["events.*".to_string()], [INFO] [stdout] 483 | | ..Default::default() [INFO] [stdout] 484 | | }) [INFO] [stdout] 485 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | / context [INFO] [stdout] 490 | | .publish("events.two".to_string(), "data".into()) [INFO] [stdout] 491 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:494:26 [INFO] [stdout] | [INFO] [stdout] 494 | let mut stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | stream.purge().sequence(90).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:497:20 [INFO] [stdout] | [INFO] [stdout] 497 | assert_eq!(stream.info().await.unwrap().state.messages, 11); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | stream.purge().keep(5).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:499:20 [INFO] [stdout] | [INFO] [stdout] 499 | assert_eq!(stream.info().await.unwrap().state.messages, 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 508 | context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | / context [INFO] [stdout] 511 | | .get_or_create_stream("events") [INFO] [stdout] 512 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | / context [INFO] [stdout] 522 | | .get_or_create_stream(&stream::Config { [INFO] [stdout] 523 | | name: "events2".to_string(), [INFO] [stdout] 524 | | ..Default::default() [INFO] [stdout] 525 | | }) [INFO] [stdout] 526 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:537:22 [INFO] [stdout] | [INFO] [stdout] 537 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:542:17 [INFO] [stdout] | [INFO] [stdout] 542 | assert!(context.delete_stream("events").await.unwrap().success); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:547:22 [INFO] [stdout] | [INFO] [stdout] 547 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:551:23 [INFO] [stdout] | [INFO] [stdout] 551 | let _stream = context.create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:552:20 [INFO] [stdout] | [INFO] [stdout] 552 | let info = context [INFO] [stdout] | ____________________^ [INFO] [stdout] 553 | | .update_stream(stream::Config { [INFO] [stdout] 554 | | name: "events".to_string(), [INFO] [stdout] 555 | | max_messages: 1000, [INFO] [stdout] ... | [INFO] [stdout] 558 | | }) [INFO] [stdout] 559 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | context.update_stream(&info.config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:568:22 [INFO] [stdout] | [INFO] [stdout] 568 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:572:22 [INFO] [stdout] | [INFO] [stdout] 572 | let stream = context.get_or_create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:574:27 [INFO] [stdout] | [INFO] [stdout] 574 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 575 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 576 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:574:27 [INFO] [stdout] | [INFO] [stdout] 574 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 575 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 576 | | .await [INFO] [stdout] 577 | | .unwrap() [INFO] [stdout] 578 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:581:27 [INFO] [stdout] | [INFO] [stdout] 581 | let raw_message = stream.get_raw_message(publish_ack.sequence).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:587:22 [INFO] [stdout] | [INFO] [stdout] 587 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:588:22 [INFO] [stdout] | [INFO] [stdout] 588 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:588:22 [INFO] [stdout] | [INFO] [stdout] 588 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:591:22 [INFO] [stdout] | [INFO] [stdout] 591 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 592 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 593 | | subjects: vec!["events".to_string(), "entries".to_string()], [INFO] [stdout] 594 | | name: "events".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 598 | | }) [INFO] [stdout] 599 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:603:27 [INFO] [stdout] | [INFO] [stdout] 603 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 604 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 605 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | / context [INFO] [stdout] 609 | | .publish("entries".into(), payload.as_ref().into()) [INFO] [stdout] 610 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | let raw_message = stream [INFO] [stdout] | ___________________________^ [INFO] [stdout] 614 | | .get_last_raw_message_by_subject("events") [INFO] [stdout] 615 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:618:42 [INFO] [stdout] | [INFO] [stdout] 618 | assert_eq!(raw_message.sequence, publish_ack.await.unwrap().sequence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 623 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 624 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:627:22 [INFO] [stdout] | [INFO] [stdout] 627 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 628 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 629 | | subjects: vec!["events".to_string(), "entries".to_string()], [INFO] [stdout] 630 | | name: "events".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 635 | | }) [INFO] [stdout] 636 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | / context [INFO] [stdout] 641 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 642 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:644:27 [INFO] [stdout] | [INFO] [stdout] 644 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 645 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 646 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | / context [INFO] [stdout] 650 | | .publish("entries".into(), payload.as_ref().into()) [INFO] [stdout] 651 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:654:23 [INFO] [stdout] | [INFO] [stdout] 654 | let message = stream.direct_get_last_for_subject("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:667:13 [INFO] [stdout] | [INFO] [stdout] 667 | publish_ack.await.unwrap().sequence [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:671:9 [INFO] [stdout] | [INFO] [stdout] 671 | / stream [INFO] [stdout] 672 | | .direct_get_last_for_subject("wrong") [INFO] [stdout] 673 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:678:22 [INFO] [stdout] | [INFO] [stdout] 678 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:679:22 [INFO] [stdout] | [INFO] [stdout] 679 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:679:22 [INFO] [stdout] | [INFO] [stdout] 679 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 683 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 684 | | subjects: vec!["events".to_string(), "entries".to_string()], [INFO] [stdout] 685 | | name: "events".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 690 | | }) [INFO] [stdout] 691 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 696 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 697 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 699 | / context [INFO] [stdout] 700 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 701 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | / context [INFO] [stdout] 705 | | .publish("entries".into(), payload.as_ref().into()) [INFO] [stdout] 706 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:709:23 [INFO] [stdout] | [INFO] [stdout] 709 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 710 | | .direct_get_next_for_subject("events", None) [INFO] [stdout] 711 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | publish_ack.await.unwrap().sequence [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:729:9 [INFO] [stdout] | [INFO] [stdout] 729 | / stream [INFO] [stdout] 730 | | .direct_get_next_for_subject("wrong", None) [INFO] [stdout] 731 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:737:22 [INFO] [stdout] | [INFO] [stdout] 737 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:738:22 [INFO] [stdout] | [INFO] [stdout] 738 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:738:22 [INFO] [stdout] | [INFO] [stdout] 738 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:741:22 [INFO] [stdout] | [INFO] [stdout] 741 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 742 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 743 | | subjects: vec!["events".to_string(), "entries".to_string()], [INFO] [stdout] 744 | | name: "events".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 749 | | }) [INFO] [stdout] 750 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:754:9 [INFO] [stdout] | [INFO] [stdout] 754 | / context [INFO] [stdout] 755 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 756 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | / context [INFO] [stdout] 759 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 760 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:762:27 [INFO] [stdout] | [INFO] [stdout] 762 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 763 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 764 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | / context [INFO] [stdout] 767 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 768 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | / context [INFO] [stdout] 772 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 773 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:776:23 [INFO] [stdout] | [INFO] [stdout] 776 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 777 | | .direct_get_next_for_subject("events", Some(3)) [INFO] [stdout] 778 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:792:13 [INFO] [stdout] | [INFO] [stdout] 792 | publish_ack.await.unwrap().sequence [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | / stream [INFO] [stdout] 797 | | .direct_get_next_for_subject("events", Some(14)) [INFO] [stdout] 798 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | / stream [INFO] [stdout] 801 | | .direct_get_next_for_subject("entries", Some(1)) [INFO] [stdout] 802 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:808:22 [INFO] [stdout] | [INFO] [stdout] 808 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:809:22 [INFO] [stdout] | [INFO] [stdout] 809 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:809:22 [INFO] [stdout] | [INFO] [stdout] 809 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:812:22 [INFO] [stdout] | [INFO] [stdout] 812 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 813 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 814 | | subjects: vec!["events".to_string(), "entries".to_string()], [INFO] [stdout] 815 | | name: "events".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 820 | | }) [INFO] [stdout] 821 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | / context [INFO] [stdout] 826 | | .publish("events".into(), "not this".into()) [INFO] [stdout] 827 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:829:27 [INFO] [stdout] | [INFO] [stdout] 829 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 830 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 831 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:834:9 [INFO] [stdout] | [INFO] [stdout] 834 | / context [INFO] [stdout] 835 | | .publish("entries".into(), payload.as_ref().into()) [INFO] [stdout] 836 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:839:23 [INFO] [stdout] | [INFO] [stdout] 839 | let message = stream.direct_get(2).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 852 | publish_ack.await.unwrap().sequence [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | stream.direct_get(22).await.expect_err("should error"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:861:22 [INFO] [stdout] | [INFO] [stdout] 861 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:862:22 [INFO] [stdout] | [INFO] [stdout] 862 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:862:22 [INFO] [stdout] | [INFO] [stdout] 862 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | let stream = context.get_or_create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | / context [INFO] [stdout] 868 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 869 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:871:27 [INFO] [stdout] | [INFO] [stdout] 871 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 872 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 873 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | / context [INFO] [stdout] 876 | | .publish("events".into(), payload.as_ref().into()) [INFO] [stdout] 877 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:880:24 [INFO] [stdout] | [INFO] [stdout] 880 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 881 | | .get_or_create_consumer( [INFO] [stdout] 882 | | "consumer", [INFO] [stdout] 883 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 887 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:890:28 [INFO] [stdout] | [INFO] [stdout] 890 | let mut messages = consumer.messages().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:892:29 [INFO] [stdout] | [INFO] [stdout] 892 | .delete_message(publish_ack.await.unwrap().sequence) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:891:9 [INFO] [stdout] | [INFO] [stdout] 891 | / stream [INFO] [stdout] 892 | | .delete_message(publish_ack.await.unwrap().sequence) [INFO] [stdout] 893 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | / messages [INFO] [stdout] 898 | | .next() [INFO] [stdout] 899 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:908:13 [INFO] [stdout] | [INFO] [stdout] 908 | / messages [INFO] [stdout] 909 | | .next() [INFO] [stdout] 910 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:922:22 [INFO] [stdout] | [INFO] [stdout] 922 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:923:22 [INFO] [stdout] | [INFO] [stdout] 923 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:923:22 [INFO] [stdout] | [INFO] [stdout] 923 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | / context [INFO] [stdout] 928 | | .get_or_create_stream("events") [INFO] [stdout] 929 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | / context [INFO] [stdout] 928 | | .get_or_create_stream("events") [INFO] [stdout] 929 | | .await [INFO] [stdout] 930 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 935 | | }) [INFO] [stdout] 936 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | / context [INFO] [stdout] 940 | | .get_or_create_stream("events") [INFO] [stdout] 941 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | / context [INFO] [stdout] 940 | | .get_or_create_stream("events") [INFO] [stdout] 941 | | .await [INFO] [stdout] 942 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 948 | | }) [INFO] [stdout] 949 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | / context [INFO] [stdout] 953 | | .get_or_create_stream("events") [INFO] [stdout] 954 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | / context [INFO] [stdout] 953 | | .get_or_create_stream("events") [INFO] [stdout] 954 | | .await [INFO] [stdout] 955 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 959 | | }) [INFO] [stdout] 960 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:963:24 [INFO] [stdout] | [INFO] [stdout] 963 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 964 | | .get_or_create_stream("events") [INFO] [stdout] 965 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:963:24 [INFO] [stdout] | [INFO] [stdout] 963 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 964 | | .get_or_create_stream("events") [INFO] [stdout] 965 | | .await [INFO] [stdout] 966 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 970 | | }) [INFO] [stdout] 971 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | / context [INFO] [stdout] 977 | | .get_or_create_stream("events") [INFO] [stdout] 978 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | / context [INFO] [stdout] 977 | | .get_or_create_stream("events") [INFO] [stdout] 978 | | .await [INFO] [stdout] 979 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 984 | | }) [INFO] [stdout] 985 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:990:22 [INFO] [stdout] | [INFO] [stdout] 990 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:991:22 [INFO] [stdout] | [INFO] [stdout] 991 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:991:22 [INFO] [stdout] | [INFO] [stdout] 991 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:994:22 [INFO] [stdout] | [INFO] [stdout] 994 | let stream = context.get_or_create_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | / stream [INFO] [stdout] 996 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 997 | | durable_name: Some("consumer".to_string()), [INFO] [stdout] 998 | | ..Default::default() [INFO] [stdout] 999 | | }) [INFO] [stdout] 1000 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | stream.delete_consumer("consumer").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1003:17 [INFO] [stdout] | [INFO] [stdout] 1003 | assert!(stream [INFO] [stdout] | _________________^ [INFO] [stdout] 1004 | | .get_consumer::("consumer") [INFO] [stdout] 1005 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1011:22 [INFO] [stdout] | [INFO] [stdout] 1011 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1012:22 [INFO] [stdout] | [INFO] [stdout] 1012 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1012:22 [INFO] [stdout] | [INFO] [stdout] 1012 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1015:22 [INFO] [stdout] | [INFO] [stdout] 1015 | let stream = context.get_or_create_stream("stream").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | / stream [INFO] [stdout] 1017 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1018 | | durable_name: Some("pull".to_string()), [INFO] [stdout] 1019 | | ..Default::default() [INFO] [stdout] 1020 | | }) [INFO] [stdout] 1021 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | / stream [INFO] [stdout] 1025 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1026 | | deliver_subject: "subject".to_string(), [INFO] [stdout] 1027 | | durable_name: Some("push".to_string()), [INFO] [stdout] 1028 | | ..Default::default() [INFO] [stdout] 1029 | | }) [INFO] [stdout] 1030 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1033:39 [INFO] [stdout] | [INFO] [stdout] 1033 | let _consumer: PullConsumer = stream.get_consumer("pull").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1034:39 [INFO] [stdout] | [INFO] [stdout] 1034 | let _consumer: PushConsumer = stream.get_consumer("push").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1036:24 [INFO] [stdout] | [INFO] [stdout] 1036 | let consumer = stream.get_consumer("pull").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1037:9 [INFO] [stdout] | [INFO] [stdout] 1037 | consumer.fetch().max_messages(10).messages().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1042:22 [INFO] [stdout] | [INFO] [stdout] 1042 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1043:22 [INFO] [stdout] | [INFO] [stdout] 1043 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1043:22 [INFO] [stdout] | [INFO] [stdout] 1043 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1046:22 [INFO] [stdout] | [INFO] [stdout] 1046 | let stream = context.get_or_create_stream("stream").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1049:39 [INFO] [stdout] | [INFO] [stdout] 1049 | let _consumer: PullConsumer = stream [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1050 | | .get_or_create_consumer::( [INFO] [stdout] 1051 | | "consumer", [INFO] [stdout] 1052 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1057 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1061:9 [INFO] [stdout] | [INFO] [stdout] 1061 | / stream [INFO] [stdout] 1062 | | .get_consumer::("consumer") [INFO] [stdout] 1063 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1067:9 [INFO] [stdout] | [INFO] [stdout] 1067 | / stream [INFO] [stdout] 1068 | | .get_or_create_consumer::( [INFO] [stdout] 1069 | | "consumer", [INFO] [stdout] 1070 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1075 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1081:22 [INFO] [stdout] | [INFO] [stdout] 1081 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1082:22 [INFO] [stdout] | [INFO] [stdout] 1082 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | / context [INFO] [stdout] 1086 | | .create_stream(stream::Config { [INFO] [stdout] 1087 | | name: "events".to_string(), [INFO] [stdout] 1088 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1089 | | ..Default::default() [INFO] [stdout] 1090 | | }) [INFO] [stdout] 1091 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1094:22 [INFO] [stdout] | [INFO] [stdout] 1094 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1095:24 [INFO] [stdout] | [INFO] [stdout] 1095 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1096 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1097 | | durable_name: Some("pull".to_string()), [INFO] [stdout] 1098 | | ..Default::default() [INFO] [stdout] 1099 | | }) [INFO] [stdout] 1100 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1104:13 [INFO] [stdout] | [INFO] [stdout] 1104 | / context [INFO] [stdout] 1105 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1106 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1112:43 [INFO] [stdout] | [INFO] [stdout] 1112 | while let Ok(Some(message)) = batch.try_next().await { [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1120:22 [INFO] [stdout] | [INFO] [stdout] 1120 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1121:22 [INFO] [stdout] | [INFO] [stdout] 1121 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1121:22 [INFO] [stdout] | [INFO] [stdout] 1121 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | / context [INFO] [stdout] 1124 | | .create_stream(stream::Config { [INFO] [stdout] 1125 | | name: "events".to_string(), [INFO] [stdout] 1126 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1127 | | ..Default::default() [INFO] [stdout] 1128 | | }) [INFO] [stdout] 1129 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1132:22 [INFO] [stdout] | [INFO] [stdout] 1132 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1133:9 [INFO] [stdout] | [INFO] [stdout] 1133 | / stream [INFO] [stdout] 1134 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1135 | | durable_name: Some("push".to_string()), [INFO] [stdout] 1136 | | ..Default::default() [INFO] [stdout] 1137 | | }) [INFO] [stdout] 1138 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1141:38 [INFO] [stdout] | [INFO] [stdout] 1141 | let consumer: PullConsumer = stream.get_consumer("push").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1144:13 [INFO] [stdout] | [INFO] [stdout] 1144 | / context [INFO] [stdout] 1145 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1146 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1150:28 [INFO] [stdout] | [INFO] [stdout] 1150 | let mut messages = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1151 | | .stream() [INFO] [stdout] 1152 | | .max_messages_per_batch(1) [INFO] [stdout] 1153 | | .messages() [INFO] [stdout] 1154 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1166:22 [INFO] [stdout] | [INFO] [stdout] 1166 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1167:22 [INFO] [stdout] | [INFO] [stdout] 1167 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1167:22 [INFO] [stdout] | [INFO] [stdout] 1167 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1170 | / context [INFO] [stdout] 1171 | | .create_stream(stream::Config { [INFO] [stdout] 1172 | | name: "events".to_string(), [INFO] [stdout] 1173 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1174 | | ..Default::default() [INFO] [stdout] 1175 | | }) [INFO] [stdout] 1176 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1179:22 [INFO] [stdout] | [INFO] [stdout] 1179 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1180:9 [INFO] [stdout] | [INFO] [stdout] 1180 | / stream [INFO] [stdout] 1181 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1182 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1183 | | durable_name: Some("push".to_string()), [INFO] [stdout] 1184 | | ..Default::default() [INFO] [stdout] 1185 | | }) [INFO] [stdout] 1186 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1189:38 [INFO] [stdout] | [INFO] [stdout] 1189 | let consumer: PushConsumer = stream.get_consumer("push").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1192:13 [INFO] [stdout] | [INFO] [stdout] 1192 | / context [INFO] [stdout] 1193 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1194 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1198:28 [INFO] [stdout] | [INFO] [stdout] 1198 | let mut messages = consumer.messages().await.unwrap().take(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1207:22 [INFO] [stdout] | [INFO] [stdout] 1207 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1208:22 [INFO] [stdout] | [INFO] [stdout] 1208 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1208:22 [INFO] [stdout] | [INFO] [stdout] 1208 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1211:9 [INFO] [stdout] | [INFO] [stdout] 1211 | / context [INFO] [stdout] 1212 | | .create_stream(stream::Config { [INFO] [stdout] 1213 | | name: "events".to_string(), [INFO] [stdout] 1214 | | subjects: vec!["events".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1217 | | }) [INFO] [stdout] 1218 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1221:22 [INFO] [stdout] | [INFO] [stdout] 1221 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1222:45 [INFO] [stdout] | [INFO] [stdout] 1222 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1223 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1224 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1225 | | ..Default::default() [INFO] [stdout] 1226 | | }) [INFO] [stdout] 1227 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1237:21 [INFO] [stdout] | [INFO] [stdout] 1237 | / context [INFO] [stdout] 1238 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1239 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1245:28 [INFO] [stdout] | [INFO] [stdout] 1245 | let mut messages = consumer.messages().await.unwrap().take(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1247:27 [INFO] [stdout] | [INFO] [stdout] 1247 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1255:13 [INFO] [stdout] | [INFO] [stdout] 1255 | nats_server::run_server_with_port("tests/configs/jetstream.conf", Some("5656")); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1256:22 [INFO] [stdout] | [INFO] [stdout] 1256 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1256:22 [INFO] [stdout] | [INFO] [stdout] 1256 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1259:9 [INFO] [stdout] | [INFO] [stdout] 1259 | / context [INFO] [stdout] 1260 | | .create_stream(stream::Config { [INFO] [stdout] 1261 | | name: "events".to_string(), [INFO] [stdout] 1262 | | subjects: vec!["events.>".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1265 | | }) [INFO] [stdout] 1266 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1269:22 [INFO] [stdout] | [INFO] [stdout] 1269 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1270:45 [INFO] [stdout] | [INFO] [stdout] 1270 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1271 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1272 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1273 | | ..Default::default() [INFO] [stdout] 1274 | | }) [INFO] [stdout] 1275 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1293:21 [INFO] [stdout] | [INFO] [stdout] 1293 | / context [INFO] [stdout] 1294 | | .publish(format!("events.{i}"), i.to_string().into()) [INFO] [stdout] 1295 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1302:28 [INFO] [stdout] | [INFO] [stdout] 1302 | let mut messages = consumer.messages().await.unwrap().take(1001).enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1305:25 [INFO] [stdout] | [INFO] [stdout] 1305 | assert!(message.is_err()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1318:22 [INFO] [stdout] | [INFO] [stdout] 1318 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1320:22 [INFO] [stdout] | [INFO] [stdout] 1320 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1323:9 [INFO] [stdout] | [INFO] [stdout] 1323 | / context [INFO] [stdout] 1324 | | .create_stream(stream::Config { [INFO] [stdout] 1325 | | name: "events".to_string(), [INFO] [stdout] 1326 | | subjects: vec!["events".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1329 | | }) [INFO] [stdout] 1330 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1333:22 [INFO] [stdout] | [INFO] [stdout] 1333 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1334:45 [INFO] [stdout] | [INFO] [stdout] 1334 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1335 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1336 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1337 | | ..Default::default() [INFO] [stdout] 1338 | | }) [INFO] [stdout] 1339 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1343:13 [INFO] [stdout] | [INFO] [stdout] 1343 | / context [INFO] [stdout] 1344 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1345 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1351:28 [INFO] [stdout] | [INFO] [stdout] 1351 | let mut messages = consumer.messages().await.unwrap().take(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1353:27 [INFO] [stdout] | [INFO] [stdout] 1353 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1361:22 [INFO] [stdout] | [INFO] [stdout] 1361 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1362:22 [INFO] [stdout] | [INFO] [stdout] 1362 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1362:22 [INFO] [stdout] | [INFO] [stdout] 1362 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1365:9 [INFO] [stdout] | [INFO] [stdout] 1365 | / context [INFO] [stdout] 1366 | | .create_stream(stream::Config { [INFO] [stdout] 1367 | | name: "events".to_string(), [INFO] [stdout] 1368 | | subjects: vec!["events".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1373 | | }) [INFO] [stdout] 1374 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1377:22 [INFO] [stdout] | [INFO] [stdout] 1377 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1378:45 [INFO] [stdout] | [INFO] [stdout] 1378 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1379 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1380 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1381 | | ..Default::default() [INFO] [stdout] 1382 | | }) [INFO] [stdout] 1383 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1387:13 [INFO] [stdout] | [INFO] [stdout] 1387 | / context [INFO] [stdout] 1388 | | .publish("events".to_string(), format!("{i}").into()) [INFO] [stdout] 1389 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1394:9 [INFO] [stdout] | [INFO] [stdout] 1394 | stream.delete_message(510).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1395:9 [INFO] [stdout] | [INFO] [stdout] 1395 | stream.delete_message(600).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | stream.delete_message(800).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1399:28 [INFO] [stdout] | [INFO] [stdout] 1399 | let mut messages = consumer.messages().await.unwrap().take(497); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1407:27 [INFO] [stdout] | [INFO] [stdout] 1407 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1416:22 [INFO] [stdout] | [INFO] [stdout] 1416 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1417:22 [INFO] [stdout] | [INFO] [stdout] 1417 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1417:22 [INFO] [stdout] | [INFO] [stdout] 1417 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1420 | / context [INFO] [stdout] 1421 | | .create_stream(stream::Config { [INFO] [stdout] 1422 | | name: "events".to_string(), [INFO] [stdout] 1423 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1424 | | ..Default::default() [INFO] [stdout] 1425 | | }) [INFO] [stdout] 1426 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1429:22 [INFO] [stdout] | [INFO] [stdout] 1429 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | / stream [INFO] [stdout] 1431 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1432 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1433 | | durable_name: Some("push".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1437 | | }) [INFO] [stdout] 1438 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1441:38 [INFO] [stdout] | [INFO] [stdout] 1441 | let consumer: PushConsumer = stream.get_consumer("push").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | / context [INFO] [stdout] 1447 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1448 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1452:28 [INFO] [stdout] | [INFO] [stdout] 1452 | let mut messages = consumer.messages().await.unwrap().take(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1461:22 [INFO] [stdout] | [INFO] [stdout] 1461 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1462:22 [INFO] [stdout] | [INFO] [stdout] 1462 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1462:22 [INFO] [stdout] | [INFO] [stdout] 1462 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1465:9 [INFO] [stdout] | [INFO] [stdout] 1465 | / context [INFO] [stdout] 1466 | | .create_stream(stream::Config { [INFO] [stdout] 1467 | | name: "events".to_string(), [INFO] [stdout] 1468 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1469 | | ..Default::default() [INFO] [stdout] 1470 | | }) [INFO] [stdout] 1471 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1474:22 [INFO] [stdout] | [INFO] [stdout] 1474 | let stream = context.get_stream("events").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1475:9 [INFO] [stdout] | [INFO] [stdout] 1475 | / stream [INFO] [stdout] 1476 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1477 | | deliver_subject: "push".to_string(), [INFO] [stdout] 1478 | | durable_name: Some("push".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1481 | | }) [INFO] [stdout] 1482 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1485:38 [INFO] [stdout] | [INFO] [stdout] 1485 | let consumer: PushConsumer = stream.get_consumer("push").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1486:28 [INFO] [stdout] | [INFO] [stdout] 1486 | let mut messages = consumer.messages().await.unwrap().take(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1491:13 [INFO] [stdout] | [INFO] [stdout] 1491 | / context [INFO] [stdout] 1492 | | .publish("events".to_string(), "dat".into()) [INFO] [stdout] 1493 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1507:22 [INFO] [stdout] | [INFO] [stdout] 1507 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1508:22 [INFO] [stdout] | [INFO] [stdout] 1508 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1508:22 [INFO] [stdout] | [INFO] [stdout] 1508 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it