[INFO] fetching crate async-nats-wrpc 0.35.1... [INFO] testing async-nats-wrpc-0.35.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate async-nats-wrpc 0.35.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate async-nats-wrpc 0.35.1 [INFO] finished tweaking crates.io crate async-nats-wrpc 0.35.1 [INFO] tweaked toml for crates.io crate async-nats-wrpc 0.35.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-nats-wrpc 0.35.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-nats-wrpc 0.35.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is-terminal v0.4.12 [INFO] [stderr] Downloaded oorandom v11.1.3 [INFO] [stderr] Downloaded serde_nanos v0.1.4 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded nuid v0.5.0 [INFO] [stderr] Downloaded serde_repr v0.1.19 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded clap v4.5.4 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded signatory v0.27.1 [INFO] [stderr] Downloaded security-framework v2.11.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded aws-lc-rs v1.7.1 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded openssl-sys v0.9.102 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded curve25519-dalek v4.1.2 [INFO] [stderr] Downloaded backtrace v0.3.71 [INFO] [stderr] Downloaded url v2.5.0 [INFO] [stderr] Downloaded rustls v0.23.7 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded nkeys v0.4.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded iso8601 v0.6.1 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded platforms v3.4.0 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded security-framework-sys v2.11.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded tryhard v0.5.1 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.12.8 [INFO] [stderr] Downloaded aws-lc-sys v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40a84924ce5d68239f0eb6b7072943fb29e77009920e654a6d48fd79ff69c0a9 [INFO] running `Command { std: "docker" "start" "-a" "40a84924ce5d68239f0eb6b7072943fb29e77009920e654a6d48fd79ff69c0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40a84924ce5d68239f0eb6b7072943fb29e77009920e654a6d48fd79ff69c0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a84924ce5d68239f0eb6b7072943fb29e77009920e654a6d48fd79ff69c0a9", kill_on_drop: false }` [INFO] [stdout] 40a84924ce5d68239f0eb6b7072943fb29e77009920e654a6d48fd79ff69c0a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9359effaf1cfc8e8cbc270757430210a9a203006a5b9a2c5ffd6bbc516359524 [INFO] running `Command { std: "docker" "start" "-a" "9359effaf1cfc8e8cbc270757430210a9a203006a5b9a2c5ffd6bbc516359524", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls v0.23.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling nkeys v0.4.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling async-nats-wrpc v0.35.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn get_all(&self, key: K) -> GetAll { [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] 203 | pub fn get_all(&self, key: K) -> GetAll<'_, HeaderValue> { [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:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | 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] 208 | 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:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 253 | 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/stream.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn purge(&self) -> Purge { [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] 651 | pub fn purge(&self) -> Purge<'_, No, No> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "9359effaf1cfc8e8cbc270757430210a9a203006a5b9a2c5ffd6bbc516359524", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9359effaf1cfc8e8cbc270757430210a9a203006a5b9a2c5ffd6bbc516359524", kill_on_drop: false }` [INFO] [stdout] 9359effaf1cfc8e8cbc270757430210a9a203006a5b9a2c5ffd6bbc516359524 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 622ee09883bd507c719bae7271d621b7199a96ce1293b0bf3493d826c94009c3 [INFO] running `Command { std: "docker" "start" "-a" "622ee09883bd507c719bae7271d621b7199a96ce1293b0bf3493d826c94009c3", kill_on_drop: false }` [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling nkeys v0.4.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling iso8601 v0.6.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling async-nats-wrpc v0.35.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:203:39 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn get_all(&self, key: K) -> GetAll { [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] 203 | pub fn get_all(&self, key: K) -> GetAll<'_, HeaderValue> { [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:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | 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] 208 | 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:253:18 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 253 | 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/stream.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 651 | pub fn purge(&self) -> Purge { [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] 651 | pub fn purge(&self) -> Purge<'_, No, No> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jsonschema v0.17.1 [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_push.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_nats::jetstream::{self, consumer::PushConsumer}; [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_push.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_nats::jetstream::{self, consumer::PushConsumer}; [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_push.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | 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[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_push.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | let inbox = client.new_inbox(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | 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/jetstream_push.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | let consumer: PushConsumer = jetstream [INFO] [stdout] | __________________________________^ [INFO] [stdout] 24 | | .create_stream(jetstream::stream::Config { [INFO] [stdout] 25 | | name: stream_name, [INFO] [stdout] 26 | | subjects: vec!["events.>".to_string()], [INFO] [stdout] 27 | | ..Default::default() [INFO] [stdout] 28 | | }) [INFO] [stdout] 29 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_push.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | 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/jwt_tests.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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_push.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | 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[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_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/client_tests.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | 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[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | 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] [stderr] error: could not compile `async-nats-wrpc` (example "jetstream_push") due to 7 previous errors [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/sync_context.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | let client = rt.block_on(async_nats::connect("nats://localhost:4222"))?; [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/sync_context.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | 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] For more information about this error, try `rustc --explain E0433`. [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.*").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.*").await?.take(50); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-wrpc` (example "sync_context") due to 2 previous errors [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::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] --> 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 `async-nats-wrpc` (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] --> 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 async_nats_wrpc::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:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let nc = 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 43 - let nc = async_nats::ConnectOptions::new() [INFO] [stdout] 43 + let nc = 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/jwt_tests.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 68 - let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] 68 + 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use async_nats::header::{self, 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:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use async_nats::jetstream::context::{Publish, PublishErrorKind}; [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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | 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:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use async_nats::jetstream::stream::{ [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:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use async_nats::jetstream::stream::{Compression, ConsumerLimits, Source, SubjectTransform}; [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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use async_nats::jetstream::AckKind; [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/jetstream_tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use async_nats::header::{self, 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:3277:13 [INFO] [stdout] | [INFO] [stdout] 3277 | use async_nats::jetstream::stream::SubjectTransform; [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/jetstream_tests.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let mut root_store = async_nats::rustls::RootCertStore::empty(); [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/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", "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:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let tls_client = async_nats::rustls::ClientConfig::builder() [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/jwt_tests.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let nc = async_nats::ConnectOptions::new() [INFO] [stdout] | __________________^ [INFO] [stdout] 44 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let nc = async_nats::ConnectOptions::new() [INFO] [stdout] | __________________^ [INFO] [stdout] 44 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 45 | | .await [INFO] [stdout] 46 | | .expect("loaded user creds file") [INFO] [stdout] 47 | | .connect(s.client_url()) [INFO] [stdout] 48 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / nc.publish("hello", "world".into()) [INFO] [stdout] 53 | | .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:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | 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:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | 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:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | 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:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 70 | | ) [INFO] [stdout] 71 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | .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] 76 | .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:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let client = async_nats::ConnectOptions::with_credentials_file( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | path.join("tests/configs/TestUser.creds"), [INFO] [stdout] 70 | | ) [INFO] [stdout] 71 | | .await [INFO] [stdout] ... | [INFO] [stdout] 80 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-wrpc` (test "jwt_tests") due to 22 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | 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:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(subscriber.next().await.is_some()); [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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 35 + 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:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 53 + 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:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 65 + 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:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 80 + 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:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 104 + 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/tls_tests.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 118 + 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/tls_tests.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 143 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 143 + 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:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 157 + 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:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 175 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 175 + 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:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 187 + 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 `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | 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:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | 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] --> tests/tls_tests.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(async_nats::connect(&server.client_url()).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/tls_tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | async_nats::connect(format!("tls://127.0.0.1:{}", server.client_port())) [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/tls_tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / async_nats::connect(format!("tls://127.0.0.1:{}", server.client_port())) [INFO] [stdout] 29 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 36 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 37 | | .add_client_certificate( [INFO] [stdout] 38 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 42 | | .connect(server.client_url()) [INFO] [stdout] 43 | | .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/tls_tests.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let server = nats_server::run_server("tests/configs/ip-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:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 54 | | .add_root_certificates(path.join("tests/configs/certs/ip-ca.pem")) [INFO] [stdout] 55 | | .require_tls(true) [INFO] [stdout] 56 | | .connect(format!("tls://127.0.0.1:{}", server.client_port())) [INFO] [stdout] 57 | | .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/tls_tests.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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] --> tests/tls_tests.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | 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] --> tests/tls_tests.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 66 | | .require_tls(true) [INFO] [stdout] 67 | | .connect(server.client_url()) [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 `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | 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:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / tokio::time::timeout( [INFO] [stdout] 79 | | tokio::time::Duration::from_secs(10), [INFO] [stdout] 80 | | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 81 | | .add_root_certificates(path.join("tests/configs/certs/client-all.pem")) [INFO] [stdout] ... | [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 105 | | .require_tls(true) [INFO] [stdout] 106 | | .tls_client_config(tls_client) [INFO] [stdout] 107 | | .connect("demo.nats.io") [INFO] [stdout] 108 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | let mut subscribe = client.subscribe("subject").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | client.publish("subject", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(subscribe.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | .require_tls(true) [INFO] [stdout] 120 | | .connect("tls://demo.nats.io") [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let mut subscription = client.subscribe("subject").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | client.publish("subject", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(subscription.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/tls_tests.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | nats_server::run_server_with_port("tests/configs/tls_first.conf", Some("9090")); [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:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 144 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 145 | | .add_client_certificate( [INFO] [stdout] 146 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 151 | | .connect("tls://localhost:9090") [INFO] [stdout] 152 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 158 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 159 | | .add_client_certificate( [INFO] [stdout] 160 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 164 | | .connect("tls://localhost:9090") [INFO] [stdout] 165 | | .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/tls_tests.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let server = nats_server::run_server("tests/configs/tls_first_auto.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:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 176 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 177 | | .add_client_certificate( [INFO] [stdout] 178 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 182 | | .connect(server.client_url()) [INFO] [stdout] 183 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 188 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 189 | | .add_client_certificate( [INFO] [stdout] 190 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 195 | | .connect(server.client_url()) [INFO] [stdout] 196 | | .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] [stderr] error: could not compile `async-nats-wrpc` (test "tls_tests") due to 41 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 34 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 34 + 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/client_tests.rs:180:27 [INFO] [stdout] | [INFO] [stdout] 180 | 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 async_nats_wrpc::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 180 + 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:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | 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 async_nats_wrpc::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 193 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 193 + 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:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 390 - assert!(async_nats::ConnectOptions::new() [INFO] [stdout] 390 + 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:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 408 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 408 + 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/client_tests.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 434 - let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] 434 + 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:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 449 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 449 + 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:463:19 [INFO] [stdout] | [INFO] [stdout] 463 | let err = 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 463 - let err = async_nats::ConnectOptions::new() [INFO] [stdout] 463 + let err = 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:474:19 [INFO] [stdout] | [INFO] [stdout] 474 | let err = async_nats::ConnectOptions::with_user_and_password( [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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 474 - let err = async_nats::ConnectOptions::with_user_and_password( [INFO] [stdout] 474 + let err = ConnectOptions::with_user_and_password( [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:491:22 [INFO] [stdout] | [INFO] [stdout] 491 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 491 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 491 + 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/client_tests.rs:847:22 [INFO] [stdout] | [INFO] [stdout] 847 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 847 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 847 + 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/client_tests.rs:879:28 [INFO] [stdout] | [INFO] [stdout] 879 | let mut auth = async_nats::Auth::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 async_nats_wrpc::Auth; [INFO] [stdout] | [INFO] [stdout] help: if you import `Auth`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 879 - let mut auth = async_nats::Auth::new(); [INFO] [stdout] 879 + let mut auth = Auth::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:908:36 [INFO] [stdout] | [INFO] [stdout] 908 | Event::ClientError(async_nats::ClientError::Other(_)) => (), [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] 15 + use async_nats_wrpc::ClientError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 908 - Event::ClientError(async_nats::ClientError::Other(_)) => (), [INFO] [stdout] 908 + Event::ClientError(ClientError::Other(_)) => (), [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:914:32 [INFO] [stdout] | [INFO] [stdout] 914 | Event::ClientError(async_nats::ClientError::MaxReconnects) [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] 15 + use async_nats_wrpc::ClientError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 914 - Event::ClientError(async_nats::ClientError::MaxReconnects) [INFO] [stdout] 914 + Event::ClientError(ClientError::MaxReconnects) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/client_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | 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:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | 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:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 35 | | .event_callback(move |event| { [INFO] [stdout] 36 | | let dctx = dctx.clone(); [INFO] [stdout] 37 | | let rctx = rctx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 46 | | .connect(server.client_url()) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let mut sub = client.subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | client.publish("test", "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:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | client.force_reconnect().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | client.publish("foo", "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:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / tokio::time::timeout(Duration::from_secs(5), sub.next()) [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/client_tests.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | 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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | 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:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | 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:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let mut subscriber = client.subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | client.publish("foo", "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:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | 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:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [INFO] [stdout] 89 | | .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:103:22 [INFO] [stdout] | [INFO] [stdout] 103 | 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:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | 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:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | 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:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | / client [INFO] [stdout] 112 | | .queue_subscribe("qfoo", "group".into()) [INFO] [stdout] 113 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | client.publish("qfoo", "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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | 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/client_tests.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | 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:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | 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:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | 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:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let mut subscriber = client.clone().subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | cloned_client.publish("foo", "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:160:15 [INFO] [stdout] | [INFO] [stdout] 160 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [INFO] [stdout] 161 | | .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:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | 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:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | / client [INFO] [stdout] 184 | | .publish_with_headers("test", headers.clone(), b"".as_ref().into()) [INFO] [stdout] 185 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | 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:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | 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:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | / client [INFO] [stdout] 198 | | .publish_with_headers("test", headers.clone(), "test".into()) [INFO] [stdout] 199 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | 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:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | 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:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | 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:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | 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:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:216:27 [INFO] [stdout] | [INFO] [stdout] 216 | 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:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | / client [INFO] [stdout] 218 | | .publish(msg.reply.unwrap(), "resp".into()) [INFO] [stdout] 219 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | 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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / client [INFO] [stdout] 226 | | .publish_with_reply("test", inbox, "data".into()) [INFO] [stdout] 227 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:229:17 [INFO] [stdout] | [INFO] [stdout] 229 | 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: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:23 [INFO] [stdout] | [INFO] [stdout] 237 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | 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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | / client [INFO] [stdout] 244 | | .publish(msg.reply.unwrap(), "reply".into()) [INFO] [stdout] 245 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | let resp = tokio::time::timeout( [INFO] [stdout] | ____________________^ [INFO] [stdout] 251 | | tokio::time::Duration::from_millis(500), [INFO] [stdout] 252 | | client.request("test", "request".into()), [INFO] [stdout] 253 | | ) [INFO] [stdout] 254 | | .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:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | 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:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | 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:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | 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:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | let _sub = client.subscribe("service").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | 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:19 [INFO] [stdout] | [INFO] [stdout] 267 | let err = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 268 | | .request("service", "payload".into()) [INFO] [stdout] 269 | | .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:276:22 [INFO] [stdout] | [INFO] [stdout] 276 | 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:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | 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:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | 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:279:19 [INFO] [stdout] | [INFO] [stdout] 279 | let err = tokio::time::timeout( [INFO] [stdout] | ___________________^ [INFO] [stdout] 280 | | tokio::time::Duration::from_millis(300), [INFO] [stdout] 281 | | client.request("test", "request".into()), [INFO] [stdout] 282 | | ) [INFO] [stdout] 283 | | .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:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | 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:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let mut sub = client.subscribe("service").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | 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:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | 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:305:17 [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:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | client.send_request("service", request).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:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | 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:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | 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:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | 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:319:23 [INFO] [stdout] | [INFO] [stdout] 319 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | client.publish("test", "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 | 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:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/client_tests.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | let result = sub.unsubscribe().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | println!("source: {:?}", err.source()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 325 | let result: Result<_, E> = sub.unsubscribe().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:334:24 [INFO] [stdout] | [INFO] [stdout] 334 | let mut sub2 = client.subscribe("test2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | client.publish("test2", "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:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | 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:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | 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:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | 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:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | 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:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | 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:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | client.publish("test", "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:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | 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:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | client.publish("test", "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:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | 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:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | 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:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | 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:362:22 [INFO] [stdout] | [INFO] [stdout] 362 | 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:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | 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:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | 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:365:23 [INFO] [stdout] | [INFO] [stdout] 365 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | client.publish("test", "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:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | client.publish("test", "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:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | 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:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | 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:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | 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:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | 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:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | 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:379:17 [INFO] [stdout] | [INFO] [stdout] 379 | 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:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | 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:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | assert!(async_nats::ConnectOptions::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 391 | | .require_tls(true) [INFO] [stdout] 392 | | .connect(server.client_url()) [INFO] [stdout] 393 | | .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:403:13 [INFO] [stdout] | [INFO] [stdout] 403 | 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:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | 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:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | 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:412:27 [INFO] [stdout] | [INFO] [stdout] 412 | .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] 412 | .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:408:22 [INFO] [stdout] | [INFO] [stdout] 408 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 409 | | .connect( [INFO] [stdout] 410 | | servers [INFO] [stdout] 411 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 416 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:422:13 [INFO] [stdout] | [INFO] [stdout] 422 | client.publish("test", "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:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | 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:424:21 [INFO] [stdout] | [INFO] [stdout] 424 | 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:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | 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:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | ______________________^ [INFO] [stdout] 435 | | .connect(server.client_url()) [INFO] [stdout] 436 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:439:23 [INFO] [stdout] | [INFO] [stdout] 439 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | client.publish("test", "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:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | 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:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | 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:447:22 [INFO] [stdout] | [INFO] [stdout] 447 | 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:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 450 | | .connect(server.client_url()) [INFO] [stdout] 451 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:454:23 [INFO] [stdout] | [INFO] [stdout] 454 | let mut sub = client.subscribe("test").await.unwrap(); [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.publish("test", "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:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | 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:457:17 [INFO] [stdout] | [INFO] [stdout] 457 | 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:462:22 [INFO] [stdout] | [INFO] [stdout] 462 | 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:463:19 [INFO] [stdout] | [INFO] [stdout] 463 | let err = async_nats::ConnectOptions::new() [INFO] [stdout] | ___________________^ [INFO] [stdout] 464 | | .connect(server.client_url()) [INFO] [stdout] 465 | | .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:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | 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:474:19 [INFO] [stdout] | [INFO] [stdout] 474 | let err = async_nats::ConnectOptions::with_user_and_password( [INFO] [stdout] | ___________________^ [INFO] [stdout] 475 | | "derek".into(), [INFO] [stdout] 476 | | "bad_password".into(), [INFO] [stdout] ... | [INFO] [stdout] 479 | | .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:486:22 [INFO] [stdout] | [INFO] [stdout] 486 | 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:491:22 [INFO] [stdout] | [INFO] [stdout] 491 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 492 | | .event_callback(move |event| { [INFO] [stdout] 493 | | let tx = tx.clone(); [INFO] [stdout] 494 | | let dc_tx = dc_tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 506 | | .connect(server.client_url()) [INFO] [stdout] 507 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | 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:517:23 [INFO] [stdout] | [INFO] [stdout] 517 | 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:533:22 [INFO] [stdout] | [INFO] [stdout] 533 | 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:536:22 [INFO] [stdout] | [INFO] [stdout] 536 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 537 | | .event_callback(move |event| { [INFO] [stdout] 538 | | let tx = tx.clone(); [INFO] [stdout] 539 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 545 | | .connect(server.client_url()) [INFO] [stdout] 546 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:549:23 [INFO] [stdout] | [INFO] [stdout] 549 | let mut sub = client.subscribe("data").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | client.publish("data", "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:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | 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:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | 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:562:22 [INFO] [stdout] | [INFO] [stdout] 562 | 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:565:22 [INFO] [stdout] | [INFO] [stdout] 565 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 566 | | .subscription_capacity(1) [INFO] [stdout] 567 | | .event_callback(move |event| { [INFO] [stdout] 568 | | let tx = tx.clone(); [INFO] [stdout] ... | [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:579:20 [INFO] [stdout] | [INFO] [stdout] 579 | let _sub = client.subscribe("data").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | client.publish("data", "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:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | client.publish("data", "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:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | 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:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | client.publish("data", "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:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | 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:600:22 [INFO] [stdout] | [INFO] [stdout] 600 | 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:601:22 [INFO] [stdout] | [INFO] [stdout] 601 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 602 | | .connect(server.client_url()) [INFO] [stdout] 603 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:605:32 [INFO] [stdout] | [INFO] [stdout] 605 | let mut subscription = client.subscribe("echo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:606:9 [INFO] [stdout] | [INFO] [stdout] 606 | client.publish("echo", "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:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | / tokio::time::timeout(Duration::from_millis(500), subscription.next()) [INFO] [stdout] 608 | | .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:612:22 [INFO] [stdout] | [INFO] [stdout] 612 | 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:613:22 [INFO] [stdout] | [INFO] [stdout] 613 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 614 | | .no_echo() [INFO] [stdout] 615 | | .connect(server.client_url()) [INFO] [stdout] 616 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 618 | let mut subscription = client.subscribe("echo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | client.publish("echo", "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:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | / tokio::time::timeout(Duration::from_millis(50), subscription.next()) [INFO] [stdout] 621 | | .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:627:22 [INFO] [stdout] | [INFO] [stdout] 627 | 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:630:35 [INFO] [stdout] | [INFO] [stdout] 630 | .event_callback(move |err| { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 633 | 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] 630 | .event_callback(move |err: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:629:23 [INFO] [stdout] | [INFO] [stdout] 629 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 630 | | .event_callback(move |err| { [INFO] [stdout] 631 | | let tx = tx.clone(); [INFO] [stdout] 632 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 636 | | .connect(server.client_url()) [INFO] [stdout] 637 | | .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:648:22 [INFO] [stdout] | [INFO] [stdout] 648 | 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:652:17 [INFO] [stdout] | [INFO] [stdout] 652 | let _ = ConnectOptions::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 653 | | .retry_on_initial_connect() [INFO] [stdout] 654 | | .reconnect_delay_callback(move |attempts| { [INFO] [stdout] 655 | | let tx = tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 667 | | .connect(server.client_url()) [INFO] [stdout] 668 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | let timeout_result = ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 733 | 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] 727 | 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:741:22 [INFO] [stdout] | [INFO] [stdout] 741 | 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:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 743 | | .custom_inbox_prefix("BOB") [INFO] [stdout] 744 | | .connect(server.client_url()) [INFO] [stdout] 745 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:748:47 [INFO] [stdout] | [INFO] [stdout] 748 | let mut inbox_wildcard_subscription = client.subscribe("BOB.>").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:749:32 [INFO] [stdout] | [INFO] [stdout] 749 | let mut subscription = client.subscribe("request").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:754:27 [INFO] [stdout] | [INFO] [stdout] 754 | 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:755:17 [INFO] [stdout] | [INFO] [stdout] 755 | / client [INFO] [stdout] 756 | | .publish(msg.reply.unwrap(), "prefix workers".into()) [INFO] [stdout] 757 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:762:9 [INFO] [stdout] | [INFO] [stdout] 762 | client.request("request", "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:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | 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:768:22 [INFO] [stdout] | [INFO] [stdout] 768 | 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:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | 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:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | 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:778:22 [INFO] [stdout] | [INFO] [stdout] 778 | 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:779:22 [INFO] [stdout] | [INFO] [stdout] 779 | 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:779:22 [INFO] [stdout] | [INFO] [stdout] 779 | 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:786:23 [INFO] [stdout] | [INFO] [stdout] 786 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 787 | | .connect("localhost:7777") [INFO] [stdout] 788 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:790:22 [INFO] [stdout] | [INFO] [stdout] 790 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 791 | | .event_callback(|ev| async move { [INFO] [stdout] 792 | | println!("event: {ev}"); [INFO] [stdout] 793 | | }) [INFO] [stdout] 794 | | .retry_on_initial_connect() [INFO] [stdout] 795 | | .connect("localhost:7777") [INFO] [stdout] 796 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:799:23 [INFO] [stdout] | [INFO] [stdout] 799 | let mut sub = client.subscribe("DATA").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | client.publish("DATA", "payload".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 `nats_server` [INFO] [stdout] --> tests/client_tests.rs:802:23 [INFO] [stdout] | [INFO] [stdout] 802 | 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:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | 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:809:13 [INFO] [stdout] | [INFO] [stdout] 809 | 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:810:13 [INFO] [stdout] | [INFO] [stdout] 810 | 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:826:27 [INFO] [stdout] | [INFO] [stdout] 826 | .map(|s| s.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] 826 | .map(|s: /* Type */| s.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:813:17 [INFO] [stdout] | [INFO] [stdout] 813 | let _ = ConnectOptions::with_user_and_password("js".into(), "js".into()) [INFO] [stdout] | _________________^ [INFO] [stdout] 814 | | .event_callback(move |event| { [INFO] [stdout] 815 | | let tx = tx.clone(); [INFO] [stdout] 816 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 829 | | .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:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | 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:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | 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/client_tests.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | 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:847:22 [INFO] [stdout] | [INFO] [stdout] 847 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 848 | | .user_and_password("js".into(), "js".into()) [INFO] [stdout] 849 | | .token("s3cr3t".into()) [INFO] [stdout] 850 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 851 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:856:27 [INFO] [stdout] | [INFO] [stdout] 856 | .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] 856 | .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:847:22 [INFO] [stdout] | [INFO] [stdout] 847 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 848 | | .user_and_password("js".into(), "js".into()) [INFO] [stdout] 849 | | .token("s3cr3t".into()) [INFO] [stdout] 850 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] ... | [INFO] [stdout] 860 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:863:30 [INFO] [stdout] | [INFO] [stdout] 863 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | client.publish("test", "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:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | 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:867:21 [INFO] [stdout] | [INFO] [stdout] 867 | 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:876:22 [INFO] [stdout] | [INFO] [stdout] 876 | 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:878:9 [INFO] [stdout] | [INFO] [stdout] 878 | / ConnectOptions::with_auth_callback(move |_| async move { [INFO] [stdout] 879 | | let mut auth = async_nats::Auth::new(); [INFO] [stdout] 880 | | auth.username = Some("derek".to_string()); [INFO] [stdout] 881 | | auth.password = Some("s3cr3t".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 884 | | .connect(server.client_url()) [INFO] [stdout] 885 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:892:23 [INFO] [stdout] | [INFO] [stdout] 892 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 893 | | .max_reconnects(5) [INFO] [stdout] 894 | | .retry_on_initial_connect() [INFO] [stdout] 895 | | .event_callback(move |event| { [INFO] [stdout] ... | [INFO] [stdout] 902 | | .connect("localhost:7777") [INFO] [stdout] 903 | | .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:920:22 [INFO] [stdout] | [INFO] [stdout] 920 | let server = nats_server::run_server("tests/configs/max_payload.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/client_tests.rs:922:22 [INFO] [stdout] | [INFO] [stdout] 922 | 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:922:22 [INFO] [stdout] | [INFO] [stdout] 922 | 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:927:9 [INFO] [stdout] | [INFO] [stdout] 927 | client.publish("big", payload.into()).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:928:9 [INFO] [stdout] | [INFO] [stdout] 928 | client.publish("small", "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:929:9 [INFO] [stdout] | [INFO] [stdout] 929 | / client [INFO] [stdout] 930 | | .publish("just_ok", vec![0u8; 1024 * 128].into()) [INFO] [stdout] 931 | | .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:780:32 [INFO] [stdout] | [INFO] [stdout] 780 | 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 `async-nats-wrpc` (test "client_tests") due to 231 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:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 56 + 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:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 69 + 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:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 98 + 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:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 122 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 122 + 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:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 253 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 253 + 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:281:23 [INFO] [stdout] | [INFO] [stdout] 281 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 281 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 281 + 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:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 292 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 292 + 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:309:23 [INFO] [stdout] | [INFO] [stdout] 309 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 309 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 309 + 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:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 320 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 320 + 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:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 340 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 340 + 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:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 390 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 390 + 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:411:23 [INFO] [stdout] | [INFO] [stdout] 411 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 411 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 411 + 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:435:23 [INFO] [stdout] | [INFO] [stdout] 435 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 435 + 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:438:28 [INFO] [stdout] | [INFO] [stdout] 438 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 438 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 438 + .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:473:23 [INFO] [stdout] | [INFO] [stdout] 473 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 473 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 473 + 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:476:28 [INFO] [stdout] | [INFO] [stdout] 476 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 476 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 476 + .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:504:23 [INFO] [stdout] | [INFO] [stdout] 504 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 504 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 504 + 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:537:23 [INFO] [stdout] | [INFO] [stdout] 537 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 537 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 537 + 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:547:23 [INFO] [stdout] | [INFO] [stdout] 547 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 547 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 547 + 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:568:23 [INFO] [stdout] | [INFO] [stdout] 568 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 568 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 568 + 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:587:23 [INFO] [stdout] | [INFO] [stdout] 587 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 587 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 587 + 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:627:23 [INFO] [stdout] | [INFO] [stdout] 627 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 627 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 627 + 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:684:23 [INFO] [stdout] | [INFO] [stdout] 684 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 684 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 684 + 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:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 743 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 743 + 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:820:23 [INFO] [stdout] | [INFO] [stdout] 820 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 820 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 820 + 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:881:23 [INFO] [stdout] | [INFO] [stdout] 881 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 881 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 881 + 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:942:23 [INFO] [stdout] | [INFO] [stdout] 942 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 942 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 942 + 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:1010:23 [INFO] [stdout] | [INFO] [stdout] 1010 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1010 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1010 + 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:1031:23 [INFO] [stdout] | [INFO] [stdout] 1031 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1031 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1031 + 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:1062:23 [INFO] [stdout] | [INFO] [stdout] 1062 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1062 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1062 + 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:1110:23 [INFO] [stdout] | [INFO] [stdout] 1110 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1110 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1110 + 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:1139:23 [INFO] [stdout] | [INFO] [stdout] 1139 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1139 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1139 + 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:1172:23 [INFO] [stdout] | [INFO] [stdout] 1172 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1172 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1172 + 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:1200:23 [INFO] [stdout] | [INFO] [stdout] 1200 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1200 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1200 + 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:1276:23 [INFO] [stdout] | [INFO] [stdout] 1276 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1276 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1276 + 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:1319:23 [INFO] [stdout] | [INFO] [stdout] 1319 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1319 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1319 + 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:1357:23 [INFO] [stdout] | [INFO] [stdout] 1357 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1357 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1357 + 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:1402:23 [INFO] [stdout] | [INFO] [stdout] 1402 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1402 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1402 + 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:1448:23 [INFO] [stdout] | [INFO] [stdout] 1448 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1448 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1448 + 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:1512:23 [INFO] [stdout] | [INFO] [stdout] 1512 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1512 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1512 + 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:1556:23 [INFO] [stdout] | [INFO] [stdout] 1556 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1556 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1556 + 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:1613:23 [INFO] [stdout] | [INFO] [stdout] 1613 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1613 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1613 + 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:1655:23 [INFO] [stdout] | [INFO] [stdout] 1655 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1655 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1655 + 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:1708:13 [INFO] [stdout] | [INFO] [stdout] 1708 | async_nats::jetstream::consumer::push::MessagesErrorKind::MissingHeartbeat [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 enums [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_wrpc::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_wrpc::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1708 - async_nats::jetstream::consumer::push::MessagesErrorKind::MissingHeartbeat [INFO] [stdout] 1708 + MessagesErrorKind::MissingHeartbeat [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:1727:23 [INFO] [stdout] | [INFO] [stdout] 1727 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1727 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1727 + 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:1773:23 [INFO] [stdout] | [INFO] [stdout] 1773 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1773 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1773 + 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:1823:23 [INFO] [stdout] | [INFO] [stdout] 1823 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1823 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1823 + 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:1873:23 [INFO] [stdout] | [INFO] [stdout] 1873 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1873 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1873 + 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:1912:23 [INFO] [stdout] | [INFO] [stdout] 1912 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1912 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1912 + 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:1965:23 [INFO] [stdout] | [INFO] [stdout] 1965 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1965 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1965 + 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:2014:23 [INFO] [stdout] | [INFO] [stdout] 2014 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2014 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2014 + 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:2089:23 [INFO] [stdout] | [INFO] [stdout] 2089 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2089 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2089 + 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:2266:23 [INFO] [stdout] | [INFO] [stdout] 2266 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2266 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2266 + 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:2296:13 [INFO] [stdout] | [INFO] [stdout] 2296 | async_nats::jetstream::consumer::pull::MessagesErrorKind::ConsumerDeleted, [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 enums [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_wrpc::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_wrpc::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2296 - async_nats::jetstream::consumer::pull::MessagesErrorKind::ConsumerDeleted, [INFO] [stdout] 2296 + MessagesErrorKind::ConsumerDeleted, [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:2312:23 [INFO] [stdout] | [INFO] [stdout] 2312 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2312 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2312 + 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:2348:23 [INFO] [stdout] | [INFO] [stdout] 2348 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2348 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2348 + 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:2435:27 [INFO] [stdout] | [INFO] [stdout] 2435 | .ack_with(async_nats::jetstream::AckKind::Nak(None)) [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 async_nats_wrpc::jetstream::AckKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `AckKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2435 - .ack_with(async_nats::jetstream::AckKind::Nak(None)) [INFO] [stdout] 2435 + .ack_with(AckKind::Nak(None)) [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:2451:22 [INFO] [stdout] | [INFO] [stdout] 2451 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2451 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2451 + 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:2459:25 [INFO] [stdout] | [INFO] [stdout] 2459 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2459 - let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2459 + 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:2463:37 [INFO] [stdout] | [INFO] [stdout] 2463 | 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2463 - jetstream.create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2463 + 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:2476:30 [INFO] [stdout] | [INFO] [stdout] 2476 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2476 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2476 + .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:2521:22 [INFO] [stdout] | [INFO] [stdout] 2521 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2521 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2521 + 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:2529:29 [INFO] [stdout] | [INFO] [stdout] 2529 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2529 - let mut jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2529 + 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:2557:25 [INFO] [stdout] | [INFO] [stdout] 2557 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2557 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2557 + 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:2560:28 [INFO] [stdout] | [INFO] [stdout] 2560 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2560 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2560 + .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:2564:33 [INFO] [stdout] | [INFO] [stdout] 2564 | 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2564 - republish: Some(async_nats::jetstream::stream::Republish { [INFO] [stdout] 2564 + 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:2574:28 [INFO] [stdout] | [INFO] [stdout] 2574 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2574 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2574 + .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:2584:30 [INFO] [stdout] | [INFO] [stdout] 2584 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2584 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2584 + .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:2613:25 [INFO] [stdout] | [INFO] [stdout] 2613 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2613 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2613 + 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:2616:28 [INFO] [stdout] | [INFO] [stdout] 2616 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2616 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2616 + .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:2653:25 [INFO] [stdout] | [INFO] [stdout] 2653 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2653 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2653 + 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:2656:28 [INFO] [stdout] | [INFO] [stdout] 2656 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2656 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2656 + .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:2668:28 [INFO] [stdout] | [INFO] [stdout] 2668 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2668 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2668 + .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:2670:30 [INFO] [stdout] | [INFO] [stdout] 2670 | 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2670 - mirror: Some(async_nats::jetstream::stream::Source { [INFO] [stdout] 2670 + 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:2687:30 [INFO] [stdout] | [INFO] [stdout] 2687 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2687 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2687 + .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:2707:25 [INFO] [stdout] | [INFO] [stdout] 2707 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2707 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2707 + 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:2710:28 [INFO] [stdout] | [INFO] [stdout] 2710 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2710 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2710 + .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:2718:28 [INFO] [stdout] | [INFO] [stdout] 2718 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2718 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2718 + .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:2732:28 [INFO] [stdout] | [INFO] [stdout] 2732 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2732 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2732 + .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:2735:21 [INFO] [stdout] | [INFO] [stdout] 2735 | 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2735 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2735 + 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:2740:21 [INFO] [stdout] | [INFO] [stdout] 2740 | 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2740 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2740 + 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:2766:30 [INFO] [stdout] | [INFO] [stdout] 2766 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2766 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2766 + .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:2795:23 [INFO] [stdout] | [INFO] [stdout] 2795 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2795 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2795 + 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:2852:23 [INFO] [stdout] | [INFO] [stdout] 2852 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2852 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2852 + 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:2906:23 [INFO] [stdout] | [INFO] [stdout] 2906 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2906 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2906 + 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:2910:32 [INFO] [stdout] | [INFO] [stdout] 2910 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2910 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2910 + .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:2926:23 [INFO] [stdout] | [INFO] [stdout] 2926 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2926 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2926 + 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:2930:32 [INFO] [stdout] | [INFO] [stdout] 2930 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2930 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2930 + .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:2946:23 [INFO] [stdout] | [INFO] [stdout] 2946 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2946 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2946 + 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:2949:28 [INFO] [stdout] | [INFO] [stdout] 2949 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2949 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2949 + .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:2959:34 [INFO] [stdout] | [INFO] [stdout] 2959 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2959 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2959 + .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:2987:23 [INFO] [stdout] | [INFO] [stdout] 2987 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2987 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2987 + 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:2990:28 [INFO] [stdout] | [INFO] [stdout] 2990 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2990 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2990 + .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:3000:34 [INFO] [stdout] | [INFO] [stdout] 3000 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3000 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3000 + .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:3024:23 [INFO] [stdout] | [INFO] [stdout] 3024 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3024 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3024 + 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:3027:28 [INFO] [stdout] | [INFO] [stdout] 3027 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3027 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3027 + .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:3045:30 [INFO] [stdout] | [INFO] [stdout] 3045 | .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 async_nats_wrpc::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3045 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3045 + .create_consumer(push::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:3074:23 [INFO] [stdout] | [INFO] [stdout] 3074 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3074 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3074 + 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:3092:23 [INFO] [stdout] | [INFO] [stdout] 3092 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3092 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3092 + 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:3095:28 [INFO] [stdout] | [INFO] [stdout] 3095 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3095 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3095 + .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:3129:30 [INFO] [stdout] | [INFO] [stdout] 3129 | .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 async_nats_wrpc::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3129 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3129 + .create_consumer(push::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:3151:23 [INFO] [stdout] | [INFO] [stdout] 3151 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3151 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3151 + 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:3159:28 [INFO] [stdout] | [INFO] [stdout] 3159 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3159 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3159 + .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:3171:30 [INFO] [stdout] | [INFO] [stdout] 3171 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3171 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3171 + .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:3186:23 [INFO] [stdout] | [INFO] [stdout] 3186 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3186 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3186 + 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:3189:28 [INFO] [stdout] | [INFO] [stdout] 3189 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3189 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3189 + .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:3197:30 [INFO] [stdout] | [INFO] [stdout] 3197 | .create_consumer(async_nats::jetstream::consumer::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 async_nats_wrpc::jetstream::consumer; [INFO] [stdout] | [INFO] [stdout] help: if you import `consumer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3197 - .create_consumer(async_nats::jetstream::consumer::Config { [INFO] [stdout] 3197 + .create_consumer(consumer::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:3218:23 [INFO] [stdout] | [INFO] [stdout] 3218 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3218 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3218 + 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:3221:28 [INFO] [stdout] | [INFO] [stdout] 3221 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3221 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3221 + .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:3229:30 [INFO] [stdout] | [INFO] [stdout] 3229 | .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 async_nats_wrpc::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3229 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3229 + .create_consumer(push::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:3281:23 [INFO] [stdout] | [INFO] [stdout] 3281 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3281 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3281 + 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:3284:28 [INFO] [stdout] | [INFO] [stdout] 3284 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3284 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3284 + .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:3287:41 [INFO] [stdout] | [INFO] [stdout] 3287 | subject_transform: Some(async_nats::jetstream::stream::SubjectTransform { [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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3287 - subject_transform: Some(async_nats::jetstream::stream::SubjectTransform { [INFO] [stdout] 3287 + subject_transform: Some(stream::SubjectTransform { [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:3304:28 [INFO] [stdout] | [INFO] [stdout] 3304 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3304 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3304 + .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:3306:36 [INFO] [stdout] | [INFO] [stdout] 3306 | sources: Some(vec![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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3306 - sources: Some(vec![async_nats::jetstream::stream::Source { [INFO] [stdout] 3306 + sources: Some(vec![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:3320:35 [INFO] [stdout] | [INFO] [stdout] 3320 | .get_or_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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3320 - .get_or_create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3320 + .get_or_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:3333:17 [INFO] [stdout] | [INFO] [stdout] 3333 | 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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3333 - async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3333 + 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:3350:23 [INFO] [stdout] | [INFO] [stdout] 3350 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3350 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3350 + 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:3353:28 [INFO] [stdout] | [INFO] [stdout] 3353 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3353 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3353 + .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:3371:30 [INFO] [stdout] | [INFO] [stdout] 3371 | .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 async_nats_wrpc::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3371 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3371 + .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:3395:22 [INFO] [stdout] | [INFO] [stdout] 3395 | 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 async_nats_wrpc::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3395 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 3395 + 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:3401:23 [INFO] [stdout] | [INFO] [stdout] 3401 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3401 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3401 + 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:3404:28 [INFO] [stdout] | [INFO] [stdout] 3404 | .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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3404 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3404 + .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:3447:25 [INFO] [stdout] | [INFO] [stdout] 3447 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3447 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3447 + 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:3449:22 [INFO] [stdout] | [INFO] [stdout] 3449 | let config = 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 async_nats_wrpc::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3449 - let config = async_nats::jetstream::stream::Config { [INFO] [stdout] 3449 + let config = 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:3520:25 [INFO] [stdout] | [INFO] [stdout] 3520 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3520 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3520 + 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:3531:30 [INFO] [stdout] | [INFO] [stdout] 3531 | .create_consumer(async_nats::jetstream::consumer::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 async_nats_wrpc::jetstream::consumer; [INFO] [stdout] | [INFO] [stdout] help: if you import `consumer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3531 - .create_consumer(async_nats::jetstream::consumer::Config { [INFO] [stdout] 3531 + .create_consumer(consumer::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:3555:25 [INFO] [stdout] | [INFO] [stdout] 3555 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3555 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3555 + 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:3600:25 [INFO] [stdout] | [INFO] [stdout] 3600 | 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 async_nats_wrpc::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3600 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3600 + 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 `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | 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:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | 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:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | 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:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | 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:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | 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:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | 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:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let _stream = context [INFO] [stdout] | _______________________^ [INFO] [stdout] 72 | | .create_stream(stream::Config { [INFO] [stdout] 73 | | name: "TEST".into(), [INFO] [stdout] 74 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 75 | | ..Default::default() [INFO] [stdout] 76 | | }) [INFO] [stdout] 77 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | .publish_with_headers("foo", headers, payload.as_ref().into()) [INFO] [stdout] 85 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 84 | | .publish_with_headers("foo", headers, payload.as_ref().into()) [INFO] [stdout] 85 | | .await [INFO] [stdout] 86 | | .unwrap() [INFO] [stdout] 87 | | .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:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | 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:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | 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:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | 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:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | / context [INFO] [stdout] 101 | | .create_stream(stream::Config { [INFO] [stdout] 102 | | name: "TEST".into(), [INFO] [stdout] 103 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 104 | | ..Default::default() [INFO] [stdout] 105 | | }) [INFO] [stdout] 106 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | let ack = context.publish("foo", "payload".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | 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:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 112 | | .publish("not_stream", "payload".into()) [INFO] [stdout] 113 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | 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:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | 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:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | 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:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | 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:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | let mut stream = context [INFO] [stdout] | __________________________^ [INFO] [stdout] 125 | | .create_stream(stream::Config { [INFO] [stdout] 126 | | name: "TEST".into(), [INFO] [stdout] 127 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] ... | [INFO] [stdout] 130 | | }) [INFO] [stdout] 131 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / context [INFO] [stdout] 137 | | .send_publish( [INFO] [stdout] 138 | | "foo", [INFO] [stdout] 139 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 143 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / context [INFO] [stdout] 137 | | .send_publish( [INFO] [stdout] 138 | | "foo", [INFO] [stdout] 139 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 144 | | .unwrap() [INFO] [stdout] 145 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / context [INFO] [stdout] 149 | | .send_publish("foo", Publish::build().message_id(id.clone())) [INFO] [stdout] 150 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | / context [INFO] [stdout] 149 | | .send_publish("foo", Publish::build().message_id(id.clone())) [INFO] [stdout] 150 | | .await [INFO] [stdout] 151 | | .unwrap() [INFO] [stdout] 152 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | 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:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 158 | | .direct_get_last_for_subject("foo".to_string()) [INFO] [stdout] 159 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let err = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 165 | | .send_publish("foo", Publish::build().expected_last_message_id("BAD_ID")) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let err = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 165 | | .send_publish("foo", Publish::build().expected_last_message_id("BAD_ID")) [INFO] [stdout] 166 | | .await [INFO] [stdout] 167 | | .unwrap() [INFO] [stdout] 168 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | / context [INFO] [stdout] 174 | | .send_publish("foo", Publish::build().expected_last_message_id(id.clone())) [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:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | / context [INFO] [stdout] 174 | | .send_publish("foo", Publish::build().expected_last_message_id(id.clone())) [INFO] [stdout] 175 | | .await [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("foo", Publish::build().expected_last_sequence(2)) [INFO] [stdout] 183 | | .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("foo", Publish::build().expected_last_sequence(2)) [INFO] [stdout] 183 | | .await [INFO] [stdout] 184 | | .unwrap() [INFO] [stdout] 185 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / context [INFO] [stdout] 190 | | .send_publish("foo", Publish::build().expected_last_sequence(2),) [INFO] [stdout] 191 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | / context [INFO] [stdout] 190 | | .send_publish("foo", Publish::build().expected_last_sequence(2),) [INFO] [stdout] 191 | | .await [INFO] [stdout] 192 | | .unwrap() [INFO] [stdout] 193 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / context [INFO] [stdout] 200 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3)) [INFO] [stdout] 201 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / context [INFO] [stdout] 200 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3)) [INFO] [stdout] 201 | | .await [INFO] [stdout] 202 | | .unwrap() [INFO] [stdout] 203 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | / context [INFO] [stdout] 208 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3),) [INFO] [stdout] 209 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | / context [INFO] [stdout] 208 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3),) [INFO] [stdout] 209 | | .await [INFO] [stdout] 210 | | .unwrap() [INFO] [stdout] 211 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | / context [INFO] [stdout] 219 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 220 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | / context [INFO] [stdout] 219 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 220 | | .await [INFO] [stdout] 221 | | .unwrap() [INFO] [stdout] 222 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / context [INFO] [stdout] 226 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [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:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / context [INFO] [stdout] 226 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 227 | | .await [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:20 [INFO] [stdout] | [INFO] [stdout] 232 | 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:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | / context [INFO] [stdout] 234 | | .send_publish("foo", Publish::build().header(NATS_MESSAGE_ID, id.as_str())) [INFO] [stdout] 235 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | / context [INFO] [stdout] 234 | | .send_publish("foo", Publish::build().header(NATS_MESSAGE_ID, id.as_str())) [INFO] [stdout] 235 | | .await [INFO] [stdout] 236 | | .unwrap() [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:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | 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:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / context [INFO] [stdout] 242 | | .send_publish("bar", Publish::build().expected_stream("TEST")) [INFO] [stdout] 243 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / context [INFO] [stdout] 242 | | .send_publish("bar", Publish::build().expected_stream("TEST")) [INFO] [stdout] 243 | | .await [INFO] [stdout] 244 | | .unwrap() [INFO] [stdout] 245 | | .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:251:22 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | 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:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | 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:255:9 [INFO] [stdout] | [INFO] [stdout] 255 | / context [INFO] [stdout] 256 | | .create_stream(stream::Config { [INFO] [stdout] 257 | | name: "TEST".into(), [INFO] [stdout] 258 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 259 | | ..Default::default() [INFO] [stdout] 260 | | }) [INFO] [stdout] 261 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 268 | | .publish("foo", payload.as_ref().into()) [INFO] [stdout] 269 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 268 | | .publish("foo", payload.as_ref().into()) [INFO] [stdout] 269 | | .await [INFO] [stdout] 270 | | .unwrap() [INFO] [stdout] 271 | | .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:279:22 [INFO] [stdout] | [INFO] [stdout] 279 | 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:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | 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:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | 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:283:47 [INFO] [stdout] | [INFO] [stdout] 283 | let response: Response = context.request("INFO", &()).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:290:22 [INFO] [stdout] | [INFO] [stdout] 290 | 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:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | 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:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | 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:294:47 [INFO] [stdout] | [INFO] [stdout] 294 | let response: Response = context [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 295 | | .request("STREAM.INFO.nonexisting", &()) [INFO] [stdout] 296 | | .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:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | 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:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | 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:311:47 [INFO] [stdout] | [INFO] [stdout] 311 | let response: Response = context.request("API.FONI", &()).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:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | 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:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | 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:319:22 [INFO] [stdout] | [INFO] [stdout] 319 | 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:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | 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:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | / context [INFO] [stdout] 325 | | .create_stream(&stream::Config { [INFO] [stdout] 326 | | name: "events2".into(), [INFO] [stdout] 327 | | ..Default::default() [INFO] [stdout] 328 | | }) [INFO] [stdout] 329 | | .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:337:23 [INFO] [stdout] | [INFO] [stdout] 337 | 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:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | 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:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | 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:342:26 [INFO] [stdout] | [INFO] [stdout] 342 | let mut stream = tryhard::retry_fn(|| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 343 | | context.create_stream(stream::Config { [INFO] [stdout] 344 | | name: "events2".to_string(), [INFO] [stdout] 345 | | num_replicas: 3, [INFO] [stdout] ... | [INFO] [stdout] 352 | | .exponential_backoff(Duration::from_millis(500)) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | / stream [INFO] [stdout] 360 | | .info() [INFO] [stdout] 361 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:371:24 [INFO] [stdout] | [INFO] [stdout] 371 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 372 | | .create_consumer(jetstream::consumer::pull::Config { [INFO] [stdout] 373 | | durable_name: Some("name".into()), [INFO] [stdout] 374 | | ..Default::default() [INFO] [stdout] 375 | | }) [INFO] [stdout] 376 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | 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:388:22 [INFO] [stdout] | [INFO] [stdout] 388 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | 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:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | 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:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | / context [INFO] [stdout] 395 | | .get_stream("events") [INFO] [stdout] 396 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | / context [INFO] [stdout] 395 | | .get_stream("events") [INFO] [stdout] 396 | | .await [INFO] [stdout] 397 | | .unwrap() [INFO] [stdout] 398 | | .info() [INFO] [stdout] 399 | | .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:409:22 [INFO] [stdout] | [INFO] [stdout] 409 | 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:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | 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:410:22 [INFO] [stdout] | [INFO] [stdout] 410 | 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:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | 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:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | / context [INFO] [stdout] 417 | | .publish("events", "data".into()) [INFO] [stdout] 418 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | / context [INFO] [stdout] 417 | | .publish("events", "data".into()) [INFO] [stdout] 418 | | .await [INFO] [stdout] 419 | | .unwrap() [INFO] [stdout] 420 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:423:26 [INFO] [stdout] | [INFO] [stdout] 423 | 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:426:9 [INFO] [stdout] | [INFO] [stdout] 426 | 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:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | 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:433:22 [INFO] [stdout] | [INFO] [stdout] 433 | 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:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | 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:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | 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:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | / context [INFO] [stdout] 438 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 439 | | name: "events".into(), [INFO] [stdout] 440 | | subjects: vec!["events.*".into()], [INFO] [stdout] 441 | | ..Default::default() [INFO] [stdout] 442 | | }) [INFO] [stdout] 443 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | / context [INFO] [stdout] 448 | | .publish("events.one", "data".into()) [INFO] [stdout] 449 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | / context [INFO] [stdout] 448 | | .publish("events.one", "data".into()) [INFO] [stdout] 449 | | .await [INFO] [stdout] 450 | | .unwrap() [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.two", "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:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | / context [INFO] [stdout] 456 | | .publish("events.two", "data".into()) [INFO] [stdout] 457 | | .await [INFO] [stdout] 458 | | .unwrap() [INFO] [stdout] 459 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:462:26 [INFO] [stdout] | [INFO] [stdout] 462 | 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:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | 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:467:20 [INFO] [stdout] | [INFO] [stdout] 467 | 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:471:22 [INFO] [stdout] | [INFO] [stdout] 471 | 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:472:22 [INFO] [stdout] | [INFO] [stdout] 472 | 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:472:22 [INFO] [stdout] | [INFO] [stdout] 472 | 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:475:9 [INFO] [stdout] | [INFO] [stdout] 475 | / context [INFO] [stdout] 476 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 477 | | name: "events".into(), [INFO] [stdout] 478 | | subjects: vec!["events.*".into()], [INFO] [stdout] 479 | | ..Default::default() [INFO] [stdout] 480 | | }) [INFO] [stdout] 481 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | / context [INFO] [stdout] 486 | | .publish("events.two", "data".into()) [INFO] [stdout] 487 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | / context [INFO] [stdout] 486 | | .publish("events.two", "data".into()) [INFO] [stdout] 487 | | .await [INFO] [stdout] 488 | | .unwrap() [INFO] [stdout] 489 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:492:26 [INFO] [stdout] | [INFO] [stdout] 492 | 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:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | 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:495:20 [INFO] [stdout] | [INFO] [stdout] 495 | 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:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | 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:497:20 [INFO] [stdout] | [INFO] [stdout] 497 | 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:502:22 [INFO] [stdout] | [INFO] [stdout] 502 | 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:503:22 [INFO] [stdout] | [INFO] [stdout] 503 | 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:503:22 [INFO] [stdout] | [INFO] [stdout] 503 | 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:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | 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:508:13 [INFO] [stdout] | [INFO] [stdout] 508 | / context [INFO] [stdout] 509 | | .get_or_create_stream("events") [INFO] [stdout] 510 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:519:13 [INFO] [stdout] | [INFO] [stdout] 519 | / context [INFO] [stdout] 520 | | .get_or_create_stream(&stream::Config { [INFO] [stdout] 521 | | name: "events2".into(), [INFO] [stdout] 522 | | ..Default::default() [INFO] [stdout] 523 | | }) [INFO] [stdout] 524 | | .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:535:22 [INFO] [stdout] | [INFO] [stdout] 535 | 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:536:22 [INFO] [stdout] | [INFO] [stdout] 536 | 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:536:22 [INFO] [stdout] | [INFO] [stdout] 536 | 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:539:9 [INFO] [stdout] | [INFO] [stdout] 539 | 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:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | 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:545:22 [INFO] [stdout] | [INFO] [stdout] 545 | 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:546:22 [INFO] [stdout] | [INFO] [stdout] 546 | 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:546:22 [INFO] [stdout] | [INFO] [stdout] 546 | 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:549:23 [INFO] [stdout] | [INFO] [stdout] 549 | 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:550:20 [INFO] [stdout] | [INFO] [stdout] 550 | let info = context [INFO] [stdout] | ____________________^ [INFO] [stdout] 551 | | .update_stream(stream::Config { [INFO] [stdout] 552 | | name: "events".into(), [INFO] [stdout] 553 | | max_messages: 1000, [INFO] [stdout] ... | [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/jetstream_tests.rs:559:9 [INFO] [stdout] | [INFO] [stdout] 559 | 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:566:22 [INFO] [stdout] | [INFO] [stdout] 566 | 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:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | 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:567:22 [INFO] [stdout] | [INFO] [stdout] 567 | 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:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | 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:572:27 [INFO] [stdout] | [INFO] [stdout] 572 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 573 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 574 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:572:27 [INFO] [stdout] | [INFO] [stdout] 572 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 573 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 574 | | .await [INFO] [stdout] 575 | | .unwrap() [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:579:27 [INFO] [stdout] | [INFO] [stdout] 579 | 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:585:22 [INFO] [stdout] | [INFO] [stdout] 585 | 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:586:22 [INFO] [stdout] | [INFO] [stdout] 586 | 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:586:22 [INFO] [stdout] | [INFO] [stdout] 586 | 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:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 590 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 591 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 592 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 596 | | }) [INFO] [stdout] 597 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:601:27 [INFO] [stdout] | [INFO] [stdout] 601 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 602 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 603 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:601:27 [INFO] [stdout] | [INFO] [stdout] 601 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 602 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 603 | | .await [INFO] [stdout] 604 | | .unwrap() [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", 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:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | / context [INFO] [stdout] 609 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 610 | | .await [INFO] [stdout] 611 | | .unwrap() [INFO] [stdout] 612 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:615:27 [INFO] [stdout] | [INFO] [stdout] 615 | let raw_message = stream [INFO] [stdout] | ___________________________^ [INFO] [stdout] 616 | | .get_last_raw_message_by_subject("events") [INFO] [stdout] 617 | | .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:625:22 [INFO] [stdout] | [INFO] [stdout] 625 | 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:626:22 [INFO] [stdout] | [INFO] [stdout] 626 | 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:626:22 [INFO] [stdout] | [INFO] [stdout] 626 | 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:629:22 [INFO] [stdout] | [INFO] [stdout] 629 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 630 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 631 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 632 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 637 | | }) [INFO] [stdout] 638 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | / context [INFO] [stdout] 643 | | .publish("events", "not this".into()) [INFO] [stdout] 644 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | / context [INFO] [stdout] 643 | | .publish("events", "not this".into()) [INFO] [stdout] 644 | | .await [INFO] [stdout] 645 | | .unwrap() [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:648:27 [INFO] [stdout] | [INFO] [stdout] 648 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 649 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 650 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:648:27 [INFO] [stdout] | [INFO] [stdout] 648 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 649 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 650 | | .await [INFO] [stdout] 651 | | .unwrap() [INFO] [stdout] 652 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | / context [INFO] [stdout] 656 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 657 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | / context [INFO] [stdout] 656 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 657 | | .await [INFO] [stdout] 658 | | .unwrap() [INFO] [stdout] 659 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:662:23 [INFO] [stdout] | [INFO] [stdout] 662 | 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:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | / stream [INFO] [stdout] 676 | | .direct_get_last_for_subject("wrong") [INFO] [stdout] 677 | | .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:682:22 [INFO] [stdout] | [INFO] [stdout] 682 | 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:683:22 [INFO] [stdout] | [INFO] [stdout] 683 | 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:683:22 [INFO] [stdout] | [INFO] [stdout] 683 | 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:686:22 [INFO] [stdout] | [INFO] [stdout] 686 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 687 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 688 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 689 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 694 | | }) [INFO] [stdout] 695 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 700 | | .publish("events", payload.as_ref().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:699:27 [INFO] [stdout] | [INFO] [stdout] 699 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 700 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 701 | | .await [INFO] [stdout] 702 | | .unwrap() [INFO] [stdout] 703 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | / context [INFO] [stdout] 706 | | .publish("events", "not this".into()) [INFO] [stdout] 707 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:705:9 [INFO] [stdout] | [INFO] [stdout] 705 | / context [INFO] [stdout] 706 | | .publish("events", "not this".into()) [INFO] [stdout] 707 | | .await [INFO] [stdout] 708 | | .unwrap() [INFO] [stdout] 709 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:712:9 [INFO] [stdout] | [INFO] [stdout] 712 | / context [INFO] [stdout] 713 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 714 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:717:23 [INFO] [stdout] | [INFO] [stdout] 717 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 718 | | .direct_get_next_for_subject("events", None) [INFO] [stdout] 719 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:733:9 [INFO] [stdout] | [INFO] [stdout] 733 | / stream [INFO] [stdout] 734 | | .direct_get_next_for_subject("wrong", None) [INFO] [stdout] 735 | | .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:741:22 [INFO] [stdout] | [INFO] [stdout] 741 | 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:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | 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:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | 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:745:22 [INFO] [stdout] | [INFO] [stdout] 745 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 746 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 747 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 748 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 753 | | }) [INFO] [stdout] 754 | | .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", "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:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | / context [INFO] [stdout] 759 | | .publish("events", "not this".into()) [INFO] [stdout] 760 | | .await [INFO] [stdout] 761 | | .unwrap() [INFO] [stdout] 762 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | / context [INFO] [stdout] 765 | | .publish("events", "not this".into()) [INFO] [stdout] 766 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | / context [INFO] [stdout] 765 | | .publish("events", "not this".into()) [INFO] [stdout] 766 | | .await [INFO] [stdout] 767 | | .unwrap() [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:770:27 [INFO] [stdout] | [INFO] [stdout] 770 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 771 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 772 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:770:27 [INFO] [stdout] | [INFO] [stdout] 770 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 771 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 772 | | .await [INFO] [stdout] 773 | | .unwrap() [INFO] [stdout] 774 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | / context [INFO] [stdout] 777 | | .publish("events", "not this".into()) [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:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | / context [INFO] [stdout] 777 | | .publish("events", "not this".into()) [INFO] [stdout] 778 | | .await [INFO] [stdout] 779 | | .unwrap() [INFO] [stdout] 780 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | / context [INFO] [stdout] 784 | | .publish("events", "not this".into()) [INFO] [stdout] 785 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 783 | / context [INFO] [stdout] 784 | | .publish("events", "not this".into()) [INFO] [stdout] 785 | | .await [INFO] [stdout] 786 | | .unwrap() [INFO] [stdout] 787 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:790:23 [INFO] [stdout] | [INFO] [stdout] 790 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 791 | | .direct_get_next_for_subject("events", Some(3)) [INFO] [stdout] 792 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:806:9 [INFO] [stdout] | [INFO] [stdout] 806 | / stream [INFO] [stdout] 807 | | .direct_get_next_for_subject("events", Some(14)) [INFO] [stdout] 808 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | / stream [INFO] [stdout] 811 | | .direct_get_next_for_subject("entries", Some(1)) [INFO] [stdout] 812 | | .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:818:22 [INFO] [stdout] | [INFO] [stdout] 818 | 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:819:22 [INFO] [stdout] | [INFO] [stdout] 819 | 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:819:22 [INFO] [stdout] | [INFO] [stdout] 819 | 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:822:22 [INFO] [stdout] | [INFO] [stdout] 822 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 823 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 824 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 825 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 830 | | }) [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:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | / context [INFO] [stdout] 836 | | .publish("events", "not this".into()) [INFO] [stdout] 837 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | / context [INFO] [stdout] 836 | | .publish("events", "not this".into()) [INFO] [stdout] 837 | | .await [INFO] [stdout] 838 | | .unwrap() [INFO] [stdout] 839 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:843:27 [INFO] [stdout] | [INFO] [stdout] 843 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 844 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 845 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:843:27 [INFO] [stdout] | [INFO] [stdout] 843 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 844 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 845 | | .await [INFO] [stdout] 846 | | .unwrap() [INFO] [stdout] 847 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | / context [INFO] [stdout] 853 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 854 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | / context [INFO] [stdout] 853 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 854 | | .await [INFO] [stdout] 855 | | .unwrap() [INFO] [stdout] 856 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:861:23 [INFO] [stdout] | [INFO] [stdout] 861 | 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:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | 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:879:22 [INFO] [stdout] | [INFO] [stdout] 879 | 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:880:22 [INFO] [stdout] | [INFO] [stdout] 880 | 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:880:22 [INFO] [stdout] | [INFO] [stdout] 880 | 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:883:22 [INFO] [stdout] | [INFO] [stdout] 883 | 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:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | / context [INFO] [stdout] 886 | | .publish("events", payload.as_ref().into()) [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:889:27 [INFO] [stdout] | [INFO] [stdout] 889 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 890 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 891 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | / context [INFO] [stdout] 894 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 895 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:898:24 [INFO] [stdout] | [INFO] [stdout] 898 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 899 | | .get_or_create_consumer( [INFO] [stdout] 900 | | "consumer", [INFO] [stdout] 901 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 905 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:908:28 [INFO] [stdout] | [INFO] [stdout] 908 | 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:910:29 [INFO] [stdout] | [INFO] [stdout] 910 | .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:909:9 [INFO] [stdout] | [INFO] [stdout] 909 | / stream [INFO] [stdout] 910 | | .delete_message(publish_ack.await.unwrap().sequence) [INFO] [stdout] 911 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:915:13 [INFO] [stdout] | [INFO] [stdout] 915 | / messages [INFO] [stdout] 916 | | .next() [INFO] [stdout] 917 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:926:13 [INFO] [stdout] | [INFO] [stdout] 926 | / messages [INFO] [stdout] 927 | | .next() [INFO] [stdout] 928 | | .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:940:22 [INFO] [stdout] | [INFO] [stdout] 940 | 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:941:22 [INFO] [stdout] | [INFO] [stdout] 941 | 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:941:22 [INFO] [stdout] | [INFO] [stdout] 941 | 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:945:9 [INFO] [stdout] | [INFO] [stdout] 945 | / context [INFO] [stdout] 946 | | .get_or_create_stream("events") [INFO] [stdout] 947 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:945:9 [INFO] [stdout] | [INFO] [stdout] 945 | / context [INFO] [stdout] 946 | | .get_or_create_stream("events") [INFO] [stdout] 947 | | .await [INFO] [stdout] 948 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 953 | | }) [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:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | / context [INFO] [stdout] 958 | | .get_or_create_stream("events") [INFO] [stdout] 959 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:957:9 [INFO] [stdout] | [INFO] [stdout] 957 | / context [INFO] [stdout] 958 | | .get_or_create_stream("events") [INFO] [stdout] 959 | | .await [INFO] [stdout] 960 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 966 | | }) [INFO] [stdout] 967 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | / context [INFO] [stdout] 971 | | .get_or_create_stream("events") [INFO] [stdout] 972 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | / context [INFO] [stdout] 971 | | .get_or_create_stream("events") [INFO] [stdout] 972 | | .await [INFO] [stdout] 973 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 977 | | }) [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:981:24 [INFO] [stdout] | [INFO] [stdout] 981 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 982 | | .get_or_create_stream("events") [INFO] [stdout] 983 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:981:24 [INFO] [stdout] | [INFO] [stdout] 981 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 982 | | .get_or_create_stream("events") [INFO] [stdout] 983 | | .await [INFO] [stdout] 984 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 988 | | }) [INFO] [stdout] 989 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | / context [INFO] [stdout] 995 | | .get_or_create_stream("events") [INFO] [stdout] 996 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:994:9 [INFO] [stdout] | [INFO] [stdout] 994 | / context [INFO] [stdout] 995 | | .get_or_create_stream("events") [INFO] [stdout] 996 | | .await [INFO] [stdout] 997 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 1002 | | }) [INFO] [stdout] 1003 | | .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:1008:22 [INFO] [stdout] | [INFO] [stdout] 1008 | 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:1009:22 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:1009:22 [INFO] [stdout] | [INFO] [stdout] 1009 | 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:1012:22 [INFO] [stdout] | [INFO] [stdout] 1012 | 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:1013:9 [INFO] [stdout] | [INFO] [stdout] 1013 | / stream [INFO] [stdout] 1014 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1015 | | durable_name: Some("consumer".into()), [INFO] [stdout] 1016 | | ..Default::default() [INFO] [stdout] 1017 | | }) [INFO] [stdout] 1018 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | 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:1021:17 [INFO] [stdout] | [INFO] [stdout] 1021 | assert!(stream [INFO] [stdout] | _________________^ [INFO] [stdout] 1022 | | .get_consumer::("consumer") [INFO] [stdout] 1023 | | .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:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | 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:1030:22 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1030:22 [INFO] [stdout] | [INFO] [stdout] 1030 | 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:1033:22 [INFO] [stdout] | [INFO] [stdout] 1033 | 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:1034:9 [INFO] [stdout] | [INFO] [stdout] 1034 | / stream [INFO] [stdout] 1035 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1036 | | durable_name: Some("pull".into()), [INFO] [stdout] 1037 | | ..Default::default() [INFO] [stdout] 1038 | | }) [INFO] [stdout] 1039 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1042:9 [INFO] [stdout] | [INFO] [stdout] 1042 | / stream [INFO] [stdout] 1043 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1044 | | deliver_subject: "subject".into(), [INFO] [stdout] 1045 | | durable_name: Some("push".into()), [INFO] [stdout] 1046 | | ..Default::default() [INFO] [stdout] 1047 | | }) [INFO] [stdout] 1048 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1051:39 [INFO] [stdout] | [INFO] [stdout] 1051 | 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:1052:39 [INFO] [stdout] | [INFO] [stdout] 1052 | 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:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | 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:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | 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:1060:22 [INFO] [stdout] | [INFO] [stdout] 1060 | 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:1061:22 [INFO] [stdout] | [INFO] [stdout] 1061 | 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:1061:22 [INFO] [stdout] | [INFO] [stdout] 1061 | 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:1064:22 [INFO] [stdout] | [INFO] [stdout] 1064 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 1065 | | .create_stream(jetstream::stream::Config { [INFO] [stdout] 1066 | | name: "events".into(), [INFO] [stdout] 1067 | | subjects: vec!["events".into()], [INFO] [stdout] 1068 | | ..Default::default() [INFO] [stdout] 1069 | | }) [INFO] [stdout] 1070 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1074:13 [INFO] [stdout] | [INFO] [stdout] 1074 | context.publish("events", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1077:24 [INFO] [stdout] | [INFO] [stdout] 1077 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1078 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1079 | | durable_name: Some("pull".into()), [INFO] [stdout] 1080 | | ..Default::default() [INFO] [stdout] 1081 | | }) [INFO] [stdout] 1082 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1085:24 [INFO] [stdout] | [INFO] [stdout] 1085 | let messages = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1086 | | .fetch() [INFO] [stdout] 1087 | | .max_messages(15) [INFO] [stdout] 1088 | | .messages() [INFO] [stdout] 1089 | | .await [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 messages = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1096 | | .fetch() [INFO] [stdout] 1097 | | .max_messages(15) [INFO] [stdout] 1098 | | .messages() [INFO] [stdout] 1099 | | .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:1108:22 [INFO] [stdout] | [INFO] [stdout] 1108 | 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:1109:22 [INFO] [stdout] | [INFO] [stdout] 1109 | 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:1109:22 [INFO] [stdout] | [INFO] [stdout] 1109 | 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:1112:22 [INFO] [stdout] | [INFO] [stdout] 1112 | 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:1113:9 [INFO] [stdout] | [INFO] [stdout] 1113 | / stream [INFO] [stdout] 1114 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1115 | | durable_name: Some("pull".into()), [INFO] [stdout] 1116 | | ..Default::default() [INFO] [stdout] 1117 | | }) [INFO] [stdout] 1118 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1120:9 [INFO] [stdout] | [INFO] [stdout] 1120 | / stream [INFO] [stdout] 1121 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1122 | | durable_name: Some("push".into()), [INFO] [stdout] 1123 | | deliver_subject: "subject".into(), [INFO] [stdout] 1124 | | ..Default::default() [INFO] [stdout] 1125 | | }) [INFO] [stdout] 1126 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1129:39 [INFO] [stdout] | [INFO] [stdout] 1129 | let _consumer: PullConsumer = context [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1130 | | .get_consumer_from_stream("pull", "stream") [INFO] [stdout] 1131 | | .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:1137:22 [INFO] [stdout] | [INFO] [stdout] 1137 | 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:1138:22 [INFO] [stdout] | [INFO] [stdout] 1138 | 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:1138:22 [INFO] [stdout] | [INFO] [stdout] 1138 | 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:1141:22 [INFO] [stdout] | [INFO] [stdout] 1141 | 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:1142:9 [INFO] [stdout] | [INFO] [stdout] 1142 | / stream [INFO] [stdout] 1143 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1144 | | durable_name: Some("pull".into()), [INFO] [stdout] 1145 | | ..Default::default() [INFO] [stdout] 1146 | | }) [INFO] [stdout] 1147 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1149:9 [INFO] [stdout] | [INFO] [stdout] 1149 | / stream [INFO] [stdout] 1150 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1151 | | durable_name: Some("push".into()), [INFO] [stdout] 1152 | | deliver_subject: "subject".into(), [INFO] [stdout] 1153 | | ..Default::default() [INFO] [stdout] 1154 | | }) [INFO] [stdout] 1155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1158:25 [INFO] [stdout] | [INFO] [stdout] 1158 | let _consumer = context [INFO] [stdout] | _________________________^ [INFO] [stdout] 1159 | | .delete_consumer_from_stream("pull", "stream") [INFO] [stdout] 1160 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | assert!(stream [INFO] [stdout] | _________________^ [INFO] [stdout] 1163 | | .get_consumer::("pull") [INFO] [stdout] 1164 | | .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:1170:22 [INFO] [stdout] | [INFO] [stdout] 1170 | 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:1171:22 [INFO] [stdout] | [INFO] [stdout] 1171 | 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:1171:22 [INFO] [stdout] | [INFO] [stdout] 1171 | 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:1174:22 [INFO] [stdout] | [INFO] [stdout] 1174 | 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:1175:9 [INFO] [stdout] | [INFO] [stdout] 1175 | / stream [INFO] [stdout] 1176 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1177 | | durable_name: Some("pull".into()), [INFO] [stdout] 1178 | | ..Default::default() [INFO] [stdout] 1179 | | }) [INFO] [stdout] 1180 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1182:24 [INFO] [stdout] | [INFO] [stdout] 1182 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 1183 | | .create_consumer_on_stream( [INFO] [stdout] 1184 | | consumer::push::Config { [INFO] [stdout] 1185 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1191 | | .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:1198:22 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1199:22 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1199:22 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1202:22 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1205:39 [INFO] [stdout] | [INFO] [stdout] 1205 | let _consumer: PullConsumer = stream [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1206 | | .get_or_create_consumer::( [INFO] [stdout] 1207 | | "consumer", [INFO] [stdout] 1208 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1213 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1217:9 [INFO] [stdout] | [INFO] [stdout] 1217 | / stream [INFO] [stdout] 1218 | | .get_consumer::("consumer") [INFO] [stdout] 1219 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1223 | / stream [INFO] [stdout] 1224 | | .get_or_create_consumer::( [INFO] [stdout] 1225 | | "consumer", [INFO] [stdout] 1226 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1231 | | .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:1274:22 [INFO] [stdout] | [INFO] [stdout] 1274 | 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:1275:22 [INFO] [stdout] | [INFO] [stdout] 1275 | 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:1275:22 [INFO] [stdout] | [INFO] [stdout] 1275 | 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:1277:9 [INFO] [stdout] | [INFO] [stdout] 1277 | / context [INFO] [stdout] 1278 | | .create_stream(stream::Config { [INFO] [stdout] 1279 | | name: "events".into(), [INFO] [stdout] 1280 | | subjects: vec!["events".into()], [INFO] [stdout] 1281 | | ..Default::default() [INFO] [stdout] 1282 | | }) [INFO] [stdout] 1283 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1286:22 [INFO] [stdout] | [INFO] [stdout] 1286 | 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:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | / stream [INFO] [stdout] 1288 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1289 | | durable_name: Some("push".into()), [INFO] [stdout] 1290 | | ..Default::default() [INFO] [stdout] 1291 | | }) [INFO] [stdout] 1292 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1295:38 [INFO] [stdout] | [INFO] [stdout] 1295 | 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:1298:13 [INFO] [stdout] | [INFO] [stdout] 1298 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1301:28 [INFO] [stdout] | [INFO] [stdout] 1301 | let mut messages = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1302 | | .stream() [INFO] [stdout] 1303 | | .max_messages_per_batch(1) [INFO] [stdout] 1304 | | .messages() [INFO] [stdout] 1305 | | .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:1317:22 [INFO] [stdout] | [INFO] [stdout] 1317 | 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:1318:22 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1318:22 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:1321:9 [INFO] [stdout] | [INFO] [stdout] 1321 | / context [INFO] [stdout] 1322 | | .create_stream(stream::Config { [INFO] [stdout] 1323 | | name: "events".into(), [INFO] [stdout] 1324 | | subjects: vec!["events".into()], [INFO] [stdout] 1325 | | ..Default::default() [INFO] [stdout] 1326 | | }) [INFO] [stdout] 1327 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1330:22 [INFO] [stdout] | [INFO] [stdout] 1330 | 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:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | / stream [INFO] [stdout] 1332 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1333 | | deliver_subject: "push".into(), [INFO] [stdout] 1334 | | durable_name: Some("push".into()), [INFO] [stdout] 1335 | | ..Default::default() [INFO] [stdout] 1336 | | }) [INFO] [stdout] 1337 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1340:38 [INFO] [stdout] | [INFO] [stdout] 1340 | 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:1343:13 [INFO] [stdout] | [INFO] [stdout] 1343 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1346:28 [INFO] [stdout] | [INFO] [stdout] 1346 | 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:1355:22 [INFO] [stdout] | [INFO] [stdout] 1355 | 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:1356:22 [INFO] [stdout] | [INFO] [stdout] 1356 | 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:1356:22 [INFO] [stdout] | [INFO] [stdout] 1356 | 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:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | / context [INFO] [stdout] 1360 | | .create_stream(stream::Config { [INFO] [stdout] 1361 | | name: "events".into(), [INFO] [stdout] 1362 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1365 | | }) [INFO] [stdout] 1366 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1369:22 [INFO] [stdout] | [INFO] [stdout] 1369 | 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:1370:45 [INFO] [stdout] | [INFO] [stdout] 1370 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1371 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1372 | | deliver_subject: "push".into(), [INFO] [stdout] 1373 | | ..Default::default() [INFO] [stdout] 1374 | | }) [INFO] [stdout] 1375 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1385:21 [INFO] [stdout] | [INFO] [stdout] 1385 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1390:28 [INFO] [stdout] | [INFO] [stdout] 1390 | 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:1392:27 [INFO] [stdout] | [INFO] [stdout] 1392 | 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:1400:22 [INFO] [stdout] | [INFO] [stdout] 1400 | 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:1401:22 [INFO] [stdout] | [INFO] [stdout] 1401 | 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:1401:22 [INFO] [stdout] | [INFO] [stdout] 1401 | 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:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | / context [INFO] [stdout] 1405 | | .create_stream(stream::Config { [INFO] [stdout] 1406 | | name: "events".to_string(), [INFO] [stdout] 1407 | | subjects: vec!["events".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1410 | | }) [INFO] [stdout] 1411 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1414:22 [INFO] [stdout] | [INFO] [stdout] 1414 | 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:1415:45 [INFO] [stdout] | [INFO] [stdout] 1415 | let consumer: OrderedPullConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1416 | | .create_consumer(consumer::pull::OrderedConfig { [INFO] [stdout] 1417 | | name: Some("pull_ordered".to_string()), [INFO] [stdout] 1418 | | ..Default::default() [INFO] [stdout] 1419 | | }) [INFO] [stdout] 1420 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1430:21 [INFO] [stdout] | [INFO] [stdout] 1430 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1435:28 [INFO] [stdout] | [INFO] [stdout] 1435 | 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:1437:27 [INFO] [stdout] | [INFO] [stdout] 1437 | 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:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | 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:1447:22 [INFO] [stdout] | [INFO] [stdout] 1447 | 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:1447:22 [INFO] [stdout] | [INFO] [stdout] 1447 | 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:1450:9 [INFO] [stdout] | [INFO] [stdout] 1450 | / context [INFO] [stdout] 1451 | | .create_stream(stream::Config { [INFO] [stdout] 1452 | | name: "events".into(), [INFO] [stdout] 1453 | | subjects: vec!["events.>".into()], [INFO] [stdout] ... | [INFO] [stdout] 1456 | | }) [INFO] [stdout] 1457 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1460:22 [INFO] [stdout] | [INFO] [stdout] 1460 | 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:1461:45 [INFO] [stdout] | [INFO] [stdout] 1461 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1462 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1463 | | deliver_subject: "push".into(), [INFO] [stdout] 1464 | | ..Default::default() [INFO] [stdout] 1465 | | }) [INFO] [stdout] 1466 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1484:21 [INFO] [stdout] | [INFO] [stdout] 1484 | / context [INFO] [stdout] 1485 | | .publish(format!("events.{i}"), i.to_string().into()) [INFO] [stdout] 1486 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1493:28 [INFO] [stdout] | [INFO] [stdout] 1493 | 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:1496:25 [INFO] [stdout] | [INFO] [stdout] 1496 | 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:1509:22 [INFO] [stdout] | [INFO] [stdout] 1509 | 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:1511:22 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1511:22 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1514:9 [INFO] [stdout] | [INFO] [stdout] 1514 | / context [INFO] [stdout] 1515 | | .create_stream(stream::Config { [INFO] [stdout] 1516 | | name: "events".into(), [INFO] [stdout] 1517 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1520 | | }) [INFO] [stdout] 1521 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1524:22 [INFO] [stdout] | [INFO] [stdout] 1524 | 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:1525:45 [INFO] [stdout] | [INFO] [stdout] 1525 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1526 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1527 | | deliver_subject: "push".into(), [INFO] [stdout] 1528 | | ..Default::default() [INFO] [stdout] 1529 | | }) [INFO] [stdout] 1530 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1534:13 [INFO] [stdout] | [INFO] [stdout] 1534 | / context [INFO] [stdout] 1535 | | .publish("events", "dat".into()) [INFO] [stdout] 1536 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1534:13 [INFO] [stdout] | [INFO] [stdout] 1534 | / context [INFO] [stdout] 1535 | | .publish("events", "dat".into()) [INFO] [stdout] 1536 | | .await [INFO] [stdout] 1537 | | .unwrap() [INFO] [stdout] 1538 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1544:28 [INFO] [stdout] | [INFO] [stdout] 1544 | 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:1546:27 [INFO] [stdout] | [INFO] [stdout] 1546 | 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:1554:22 [INFO] [stdout] | [INFO] [stdout] 1554 | 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:1555:22 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1555:22 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1558:9 [INFO] [stdout] | [INFO] [stdout] 1558 | / context [INFO] [stdout] 1559 | | .create_stream(stream::Config { [INFO] [stdout] 1560 | | name: "events".into(), [INFO] [stdout] 1561 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1566 | | }) [INFO] [stdout] 1567 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1570:22 [INFO] [stdout] | [INFO] [stdout] 1570 | 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:1571:45 [INFO] [stdout] | [INFO] [stdout] 1571 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1572 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1573 | | deliver_subject: "push".into(), [INFO] [stdout] 1574 | | ..Default::default() [INFO] [stdout] 1575 | | }) [INFO] [stdout] 1576 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | / context [INFO] [stdout] 1581 | | .publish("events", format!("{i}").into()) [INFO] [stdout] 1582 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | / context [INFO] [stdout] 1581 | | .publish("events", format!("{i}").into()) [INFO] [stdout] 1582 | | .await [INFO] [stdout] 1583 | | .unwrap() [INFO] [stdout] 1584 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1589:9 [INFO] [stdout] | [INFO] [stdout] 1589 | 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:1590:9 [INFO] [stdout] | [INFO] [stdout] 1590 | 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:1591:9 [INFO] [stdout] | [INFO] [stdout] 1591 | 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:1594:28 [INFO] [stdout] | [INFO] [stdout] 1594 | 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:1602:27 [INFO] [stdout] | [INFO] [stdout] 1602 | 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:1611:22 [INFO] [stdout] | [INFO] [stdout] 1611 | 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:1612:22 [INFO] [stdout] | [INFO] [stdout] 1612 | 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:1612:22 [INFO] [stdout] | [INFO] [stdout] 1612 | 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:1615:9 [INFO] [stdout] | [INFO] [stdout] 1615 | / context [INFO] [stdout] 1616 | | .create_stream(stream::Config { [INFO] [stdout] 1617 | | name: "events".into(), [INFO] [stdout] 1618 | | subjects: vec!["events".into()], [INFO] [stdout] 1619 | | ..Default::default() [INFO] [stdout] 1620 | | }) [INFO] [stdout] 1621 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1624:22 [INFO] [stdout] | [INFO] [stdout] 1624 | 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:1625:9 [INFO] [stdout] | [INFO] [stdout] 1625 | / stream [INFO] [stdout] 1626 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1627 | | deliver_subject: "push".into(), [INFO] [stdout] 1628 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1632 | | }) [INFO] [stdout] 1633 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1636:38 [INFO] [stdout] | [INFO] [stdout] 1636 | 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:1641:13 [INFO] [stdout] | [INFO] [stdout] 1641 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1644:28 [INFO] [stdout] | [INFO] [stdout] 1644 | 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:1653:22 [INFO] [stdout] | [INFO] [stdout] 1653 | 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:1654:22 [INFO] [stdout] | [INFO] [stdout] 1654 | 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:1654:22 [INFO] [stdout] | [INFO] [stdout] 1654 | 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:1657:9 [INFO] [stdout] | [INFO] [stdout] 1657 | / context [INFO] [stdout] 1658 | | .create_stream(stream::Config { [INFO] [stdout] 1659 | | name: "events".into(), [INFO] [stdout] 1660 | | subjects: vec!["events".into()], [INFO] [stdout] 1661 | | ..Default::default() [INFO] [stdout] 1662 | | }) [INFO] [stdout] 1663 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1666:22 [INFO] [stdout] | [INFO] [stdout] 1666 | 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:1667:9 [INFO] [stdout] | [INFO] [stdout] 1667 | / stream [INFO] [stdout] 1668 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1669 | | deliver_subject: "push".into(), [INFO] [stdout] 1670 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1673 | | }) [INFO] [stdout] 1674 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1677:38 [INFO] [stdout] | [INFO] [stdout] 1677 | 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:1678:28 [INFO] [stdout] | [INFO] [stdout] 1678 | 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:1683:13 [INFO] [stdout] | [INFO] [stdout] 1683 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1693:24 [INFO] [stdout] | [INFO] [stdout] 1693 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1694 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1695 | | deliver_subject: "delivery".to_string(), [INFO] [stdout] 1696 | | durable_name: Some("delete_me".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1699 | | }) [INFO] [stdout] 1700 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1703:9 [INFO] [stdout] | [INFO] [stdout] 1703 | stream.delete_consumer("delete_me").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1705:28 [INFO] [stdout] | [INFO] [stdout] 1705 | 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:1707:13 [INFO] [stdout] | [INFO] [stdout] 1707 | messages.next().await.unwrap().unwrap_err().kind(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1710:9 [INFO] [stdout] | [INFO] [stdout] 1710 | / stream [INFO] [stdout] 1711 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1712 | | deliver_subject: "delivery".to_string(), [INFO] [stdout] 1713 | | durable_name: Some("delete_me".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1716 | | }) [INFO] [stdout] 1717 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1720:9 [INFO] [stdout] | [INFO] [stdout] 1720 | messages.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/jetstream_tests.rs:1725:22 [INFO] [stdout] | [INFO] [stdout] 1725 | 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:1726:22 [INFO] [stdout] | [INFO] [stdout] 1726 | 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:1726:22 [INFO] [stdout] | [INFO] [stdout] 1726 | 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:1729:9 [INFO] [stdout] | [INFO] [stdout] 1729 | / context [INFO] [stdout] 1730 | | .create_stream(stream::Config { [INFO] [stdout] 1731 | | name: "events".into(), [INFO] [stdout] 1732 | | subjects: vec!["events".into()], [INFO] [stdout] 1733 | | ..Default::default() [INFO] [stdout] 1734 | | }) [INFO] [stdout] 1735 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1738:22 [INFO] [stdout] | [INFO] [stdout] 1738 | 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:1739:9 [INFO] [stdout] | [INFO] [stdout] 1739 | / stream [INFO] [stdout] 1740 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1741 | | durable_name: Some("pull".into()), [INFO] [stdout] 1742 | | ..Default::default() [INFO] [stdout] 1743 | | }) [INFO] [stdout] 1744 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1746:42 [INFO] [stdout] | [INFO] [stdout] 1746 | let mut 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:1750:17 [INFO] [stdout] | [INFO] [stdout] 1750 | / context [INFO] [stdout] 1751 | | .publish("events", format!("i: {i}").into()) [INFO] [stdout] 1752 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1757:24 [INFO] [stdout] | [INFO] [stdout] 1757 | let mut iter = 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:1759:13 [INFO] [stdout] | [INFO] [stdout] 1759 | result.unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1759:13 [INFO] [stdout] | [INFO] [stdout] 1759 | result.unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1762:20 [INFO] [stdout] | [INFO] [stdout] 1762 | let info = consumer.info().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:1771:22 [INFO] [stdout] | [INFO] [stdout] 1771 | 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:1772:22 [INFO] [stdout] | [INFO] [stdout] 1772 | 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:1772:22 [INFO] [stdout] | [INFO] [stdout] 1772 | 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:1775:9 [INFO] [stdout] | [INFO] [stdout] 1775 | / context [INFO] [stdout] 1776 | | .create_stream(stream::Config { [INFO] [stdout] 1777 | | name: "events".into(), [INFO] [stdout] 1778 | | subjects: vec!["events".into()], [INFO] [stdout] 1779 | | ..Default::default() [INFO] [stdout] 1780 | | }) [INFO] [stdout] 1781 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1784:22 [INFO] [stdout] | [INFO] [stdout] 1784 | 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:1785:9 [INFO] [stdout] | [INFO] [stdout] 1785 | / stream [INFO] [stdout] 1786 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1787 | | durable_name: Some("pull".into()), [INFO] [stdout] 1788 | | ..Default::default() [INFO] [stdout] 1789 | | }) [INFO] [stdout] 1790 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1792:38 [INFO] [stdout] | [INFO] [stdout] 1792 | 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:1797:27 [INFO] [stdout] | [INFO] [stdout] 1797 | let ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1798 | | .publish("events", format!("timeout test message: {i}").into()) [INFO] [stdout] 1799 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1806:24 [INFO] [stdout] | [INFO] [stdout] 1806 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1807 | | .stream() [INFO] [stdout] 1808 | | .max_messages_per_batch(25) [INFO] [stdout] 1809 | | .expires(Duration::from_millis(100)) [INFO] [stdout] 1810 | | .messages() [INFO] [stdout] 1811 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1815:13 [INFO] [stdout] | [INFO] [stdout] 1815 | result.unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1815:13 [INFO] [stdout] | [INFO] [stdout] 1815 | result.unwrap().ack().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:1821:22 [INFO] [stdout] | [INFO] [stdout] 1821 | 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:1822:22 [INFO] [stdout] | [INFO] [stdout] 1822 | 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:1822:22 [INFO] [stdout] | [INFO] [stdout] 1822 | 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:1825:9 [INFO] [stdout] | [INFO] [stdout] 1825 | / context [INFO] [stdout] 1826 | | .create_stream(stream::Config { [INFO] [stdout] 1827 | | name: "events".into(), [INFO] [stdout] 1828 | | subjects: vec!["events".into()], [INFO] [stdout] 1829 | | ..Default::default() [INFO] [stdout] 1830 | | }) [INFO] [stdout] 1831 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1834:22 [INFO] [stdout] | [INFO] [stdout] 1834 | 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:1835:9 [INFO] [stdout] | [INFO] [stdout] 1835 | / stream [INFO] [stdout] 1836 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1837 | | durable_name: Some("pull".into()), [INFO] [stdout] 1838 | | ..Default::default() [INFO] [stdout] 1839 | | }) [INFO] [stdout] 1840 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1842:38 [INFO] [stdout] | [INFO] [stdout] 1842 | 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:1847:17 [INFO] [stdout] | [INFO] [stdout] 1847 | / context [INFO] [stdout] 1848 | | .publish("events", format!("heartbeat message: {i}").into()) [INFO] [stdout] 1849 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1854:24 [INFO] [stdout] | [INFO] [stdout] 1854 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1855 | | .stream() [INFO] [stdout] 1856 | | .max_messages_per_batch(10) [INFO] [stdout] 1857 | | .expires(Duration::from_millis(1000)) [INFO] [stdout] 1858 | | .heartbeat(Duration::from_millis(500)) [INFO] [stdout] 1859 | | .messages() [INFO] [stdout] 1860 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1864:13 [INFO] [stdout] | [INFO] [stdout] 1864 | result.unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1864:13 [INFO] [stdout] | [INFO] [stdout] 1864 | result.unwrap().ack().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:1871:22 [INFO] [stdout] | [INFO] [stdout] 1871 | 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:1872:22 [INFO] [stdout] | [INFO] [stdout] 1872 | 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:1872:22 [INFO] [stdout] | [INFO] [stdout] 1872 | 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:1875:22 [INFO] [stdout] | [INFO] [stdout] 1875 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 1876 | | .create_stream(stream::Config { [INFO] [stdout] 1877 | | name: "events".to_string(), [INFO] [stdout] 1878 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1879 | | ..Default::default() [INFO] [stdout] 1880 | | }) [INFO] [stdout] 1881 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1884:9 [INFO] [stdout] | [INFO] [stdout] 1884 | / stream [INFO] [stdout] 1885 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1886 | | name: Some("CONSUMER".into()), [INFO] [stdout] 1887 | | filter_subjects: vec!["one".into(), "two".into()], [INFO] [stdout] 1888 | | ..Default::default() [INFO] [stdout] 1889 | | }) [INFO] [stdout] 1890 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1893:24 [INFO] [stdout] | [INFO] [stdout] 1893 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1894 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1895 | | name: Some("CONSUMER".into()), [INFO] [stdout] 1896 | | filter_subjects: vec!["one".into(), "three".into()], [INFO] [stdout] 1897 | | ..Default::default() [INFO] [stdout] 1898 | | }) [INFO] [stdout] 1899 | | .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:1910:22 [INFO] [stdout] | [INFO] [stdout] 1910 | 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:1911:22 [INFO] [stdout] | [INFO] [stdout] 1911 | 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:1911:22 [INFO] [stdout] | [INFO] [stdout] 1911 | 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:1914:9 [INFO] [stdout] | [INFO] [stdout] 1914 | / context [INFO] [stdout] 1915 | | .create_stream(stream::Config { [INFO] [stdout] 1916 | | name: "events".into(), [INFO] [stdout] 1917 | | subjects: vec!["events".into()], [INFO] [stdout] 1918 | | ..Default::default() [INFO] [stdout] 1919 | | }) [INFO] [stdout] 1920 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1923:22 [INFO] [stdout] | [INFO] [stdout] 1923 | 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:1924:9 [INFO] [stdout] | [INFO] [stdout] 1924 | / stream [INFO] [stdout] 1925 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1926 | | durable_name: Some("pull".into()), [INFO] [stdout] 1927 | | ..Default::default() [INFO] [stdout] 1928 | | }) [INFO] [stdout] 1929 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1931:38 [INFO] [stdout] | [INFO] [stdout] 1931 | 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:1936:17 [INFO] [stdout] | [INFO] [stdout] 1936 | / context [INFO] [stdout] 1937 | | .publish("events", format!("heartbeat message: {i}").into()) [INFO] [stdout] 1938 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1943:24 [INFO] [stdout] | [INFO] [stdout] 1943 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1944 | | .stream() [INFO] [stdout] 1945 | | .max_messages_per_batch(25) [INFO] [stdout] 1946 | | .heartbeat(Duration::from_millis(100)) [INFO] [stdout] 1947 | | .expires(Duration::default()) [INFO] [stdout] 1948 | | .messages() [INFO] [stdout] 1949 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1953:13 [INFO] [stdout] | [INFO] [stdout] 1953 | result.expect_err("should be status 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:1958:22 [INFO] [stdout] | [INFO] [stdout] 1958 | 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/jetstream_tests.rs:1959:22 [INFO] [stdout] | [INFO] [stdout] 1959 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1960 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 1961 | | .connect(server.client_url()) [INFO] [stdout] 1962 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1967:9 [INFO] [stdout] | [INFO] [stdout] 1967 | / context [INFO] [stdout] 1968 | | .create_stream(stream::Config { [INFO] [stdout] 1969 | | name: "events".into(), [INFO] [stdout] 1970 | | subjects: vec!["events".into()], [INFO] [stdout] 1971 | | ..Default::default() [INFO] [stdout] 1972 | | }) [INFO] [stdout] 1973 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1976:22 [INFO] [stdout] | [INFO] [stdout] 1976 | 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:1977:9 [INFO] [stdout] | [INFO] [stdout] 1977 | / stream [INFO] [stdout] 1978 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1979 | | durable_name: Some("pull".into()), [INFO] [stdout] 1980 | | ..Default::default() [INFO] [stdout] 1981 | | }) [INFO] [stdout] 1982 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1984:38 [INFO] [stdout] | [INFO] [stdout] 1984 | 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:1987:13 [INFO] [stdout] | [INFO] [stdout] 1987 | / context [INFO] [stdout] 1988 | | .publish("events", "dat".into()) [INFO] [stdout] 1989 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1987:13 [INFO] [stdout] | [INFO] [stdout] 1987 | / context [INFO] [stdout] 1988 | | .publish("events", "dat".into()) [INFO] [stdout] 1989 | | .await [INFO] [stdout] 1990 | | .unwrap() [INFO] [stdout] 1991 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1995:24 [INFO] [stdout] | [INFO] [stdout] 1995 | let mut iter = consumer.fetch().max_messages(100).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:1999:27 [INFO] [stdout] | [INFO] [stdout] 1999 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2000:13 [INFO] [stdout] | [INFO] [stdout] 2000 | message.ack().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:2008:22 [INFO] [stdout] | [INFO] [stdout] 2008 | 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/jetstream_tests.rs:2009:22 [INFO] [stdout] | [INFO] [stdout] 2009 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2010 | | .connect(server.client_url()) [INFO] [stdout] 2011 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2016:9 [INFO] [stdout] | [INFO] [stdout] 2016 | / context [INFO] [stdout] 2017 | | .create_stream(stream::Config { [INFO] [stdout] 2018 | | name: "events".into(), [INFO] [stdout] 2019 | | subjects: vec!["events".into()], [INFO] [stdout] 2020 | | ..Default::default() [INFO] [stdout] 2021 | | }) [INFO] [stdout] 2022 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2025:22 [INFO] [stdout] | [INFO] [stdout] 2025 | 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:2026:24 [INFO] [stdout] | [INFO] [stdout] 2026 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 2027 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 2028 | | durable_name: Some("pull".into()), [INFO] [stdout] 2029 | | ack_policy: AckPolicy::Explicit, [INFO] [stdout] ... | [INFO] [stdout] 2032 | | }) [INFO] [stdout] 2033 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2040:17 [INFO] [stdout] | [INFO] [stdout] 2040 | / context [INFO] [stdout] 2041 | | .publish("events", i.to_string().into()) [INFO] [stdout] 2042 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2040:17 [INFO] [stdout] | [INFO] [stdout] 2040 | / context [INFO] [stdout] 2041 | | .publish("events", i.to_string().into()) [INFO] [stdout] 2042 | | .await [INFO] [stdout] 2043 | | .unwrap() [INFO] [stdout] 2044 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2052:28 [INFO] [stdout] | [INFO] [stdout] 2052 | let mut iter = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2053 | | .batch() [INFO] [stdout] 2054 | | .expires(Duration::from_millis(200)) [INFO] [stdout] 2055 | | .max_messages(200) [INFO] [stdout] 2056 | | .messages() [INFO] [stdout] 2057 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2067:25 [INFO] [stdout] | [INFO] [stdout] 2067 | message.ack().await.unwrap() [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2067:25 [INFO] [stdout] | [INFO] [stdout] 2067 | message.ack().await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2072:29 [INFO] [stdout] | [INFO] [stdout] 2072 | ... err.downcast::().unwrap().kind() [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:2082:22 [INFO] [stdout] | [INFO] [stdout] 2082 | 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/jetstream_tests.rs:2083:22 [INFO] [stdout] | [INFO] [stdout] 2083 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2084 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 2085 | | .connect(server.client_url()) [INFO] [stdout] 2086 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2091:9 [INFO] [stdout] | [INFO] [stdout] 2091 | / context [INFO] [stdout] 2092 | | .create_stream(stream::Config { [INFO] [stdout] 2093 | | name: "events".into(), [INFO] [stdout] 2094 | | subjects: vec!["events".into()], [INFO] [stdout] 2095 | | ..Default::default() [INFO] [stdout] 2096 | | }) [INFO] [stdout] 2097 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2100:22 [INFO] [stdout] | [INFO] [stdout] 2100 | 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:2101:9 [INFO] [stdout] | [INFO] [stdout] 2101 | / stream [INFO] [stdout] 2102 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 2103 | | durable_name: Some("pull".into()), [INFO] [stdout] 2104 | | ..Default::default() [INFO] [stdout] 2105 | | }) [INFO] [stdout] 2106 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2108:38 [INFO] [stdout] | [INFO] [stdout] 2108 | 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:2110:9 [INFO] [stdout] | [INFO] [stdout] 2110 | context.publish("events", "dat".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2112:28 [INFO] [stdout] | [INFO] [stdout] 2112 | let mut messages = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2113 | | .stream() [INFO] [stdout] 2114 | | .max_messages_per_batch(3) [INFO] [stdout] 2115 | | .messages() [INFO] [stdout] 2116 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | messages.next().await.unwrap().unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2119:9 [INFO] [stdout] | [INFO] [stdout] 2119 | messages.next().await.unwrap().unwrap().ack().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2121:9 [INFO] [stdout] | [INFO] [stdout] 2121 | stream.delete_consumer(name).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:2259:22 [INFO] [stdout] | [INFO] [stdout] 2259 | 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/jetstream_tests.rs:2260:22 [INFO] [stdout] | [INFO] [stdout] 2260 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2261 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 2262 | | .connect(server.client_url()) [INFO] [stdout] 2263 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2268:9 [INFO] [stdout] | [INFO] [stdout] 2268 | / context [INFO] [stdout] 2269 | | .create_stream(stream::Config { [INFO] [stdout] 2270 | | name: "events".into(), [INFO] [stdout] 2271 | | subjects: vec!["events".into()], [INFO] [stdout] 2272 | | ..Default::default() [INFO] [stdout] 2273 | | }) [INFO] [stdout] 2274 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2277:22 [INFO] [stdout] | [INFO] [stdout] 2277 | 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:2278:9 [INFO] [stdout] | [INFO] [stdout] 2278 | / stream [INFO] [stdout] 2279 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 2280 | | durable_name: Some("pull".into()), [INFO] [stdout] 2281 | | ..Default::default() [INFO] [stdout] 2282 | | }) [INFO] [stdout] 2283 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2285:38 [INFO] [stdout] | [INFO] [stdout] 2285 | 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:2287:9 [INFO] [stdout] | [INFO] [stdout] 2287 | context.publish("events", "dat".into()).await.unwrap(); [WARN] too many lines in the log, truncating it