[INFO] fetching crate async-nats-flyradar 0.39.0-flyradar.1... [INFO] testing async-nats-flyradar-0.39.0-flyradar.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate async-nats-flyradar 0.39.0-flyradar.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate async-nats-flyradar 0.39.0-flyradar.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate async-nats-flyradar 0.39.0-flyradar.1 [INFO] tweaked toml for crates.io crate async-nats-flyradar 0.39.0-flyradar.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-nats-flyradar 0.39.0-flyradar.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-nats-flyradar 0.39.0-flyradar.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6f80fe58e61ed35625b431092d2792335c67989541031ab1c70380fc5e91eb6 [INFO] running `Command { std: "docker" "start" "-a" "a6f80fe58e61ed35625b431092d2792335c67989541031ab1c70380fc5e91eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6f80fe58e61ed35625b431092d2792335c67989541031ab1c70380fc5e91eb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f80fe58e61ed35625b431092d2792335c67989541031ab1c70380fc5e91eb6", kill_on_drop: false }` [INFO] [stdout] a6f80fe58e61ed35625b431092d2792335c67989541031ab1c70380fc5e91eb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0d33d9e95d07820b8c28d65229a959262f709a4f28eb188f8c1c6e83c1b184b [INFO] running `Command { std: "docker" "start" "-a" "f0d33d9e95d07820b8c28d65229a959262f709a4f28eb188f8c1c6e83c1b184b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling windows-link v0.1.0 [INFO] [stderr] Compiling base64ct v1.7.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling windows-strings v0.3.1 [INFO] [stderr] Compiling windows-result v0.3.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nuid v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling windows-core v0.60.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling windows-numerics v0.1.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling windows-future v0.1.1 [INFO] [stderr] Compiling windows-collections v0.1.1 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling windows v0.60.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_nanos v0.1.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling async-nats-flyradar v0.39.0-flyradar.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.76s [INFO] running `Command { std: "docker" "inspect" "f0d33d9e95d07820b8c28d65229a959262f709a4f28eb188f8c1c6e83c1b184b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d33d9e95d07820b8c28d65229a959262f709a4f28eb188f8c1c6e83c1b184b", kill_on_drop: false }` [INFO] [stdout] f0d33d9e95d07820b8c28d65229a959262f709a4f28eb188f8c1c6e83c1b184b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84456efb3135d58dfc507d45f473ce30f1812f5f064066214d7d43f0b95dd5a0 [INFO] running `Command { std: "docker" "start" "-a" "84456efb3135d58dfc507d45f473ce30f1812f5f064066214d7d43f0b95dd5a0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tryhard v0.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling async-nats-flyradar v0.39.0-flyradar.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling iso8601 v0.6.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:207:39 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 207 | 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] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [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] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/kv.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use async_nats::jetstream; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/pub.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use async_nats::{connect, Error, Subject}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: 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_pull.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [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[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_pull.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | let consumer: PullConsumer = jetstream [INFO] [stdout] | __________________________________^ [INFO] [stdout] 23 | | .create_stream(jetstream::stream::Config { [INFO] [stdout] 24 | | name: stream_name, [INFO] [stdout] 25 | | subjects: vec!["events.>".into()], [INFO] [stdout] 26 | | ..Default::default() [INFO] [stdout] 27 | | }) [INFO] [stdout] 28 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/nkey_tests.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/jetstream_pull.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | let mut messages = consumer.messages().await?.take(10); [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/object_store.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/pub.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let client = connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | client.publish(subject.clone(), dat.clone()).await?; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let client: /* Type */ = connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/object_store.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] [stderr] error: could not compile `async-nats-flyradar` (example "pub") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "jetstream_pull") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 30 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 30 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 14 + use async_nats_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 113 + .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] --> 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/json.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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_flyradar::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_flyradar::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_flyradar::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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/sub.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let client = async_nats::connect(nats_url).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | let mut subscriber = client.subscribe("foo").await?.take(1); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 20 | let client: /* Type */ = async_nats::connect(nats_url).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/json.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | let mut subscriber = client.subscribe("foo").await?.take(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sub.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | let mut subscriber = client.subscribe("foo").await.unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | let client: /* Type */ = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/sub.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | let mut subscriber = client.subscribe("foo").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/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] --> examples/multiple_subs.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let kv = jetstream [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 39 | kv.put("sue.color", "blue".into()).await?; [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `kv` an explicit type [INFO] [stdout] | [INFO] [stdout] 29 | let kv: /* Type */ = jetstream [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [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[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let client = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | let client = client.clone(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 6 | let client: /* Type */ = async_nats::connect("nats://localhost:4222").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/sub.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> 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] [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] [stderr] error: could not compile `async-nats-flyradar` (example "sub") due to 4 previous errors [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/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] --> tests/nkey_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 23 - let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] 23 + let nc = ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/nkey_tests.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 38 - let nc = async_nats::ConnectOptions::new() [INFO] [stdout] 38 + 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/nkey_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 60 - let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] 60 + let client = ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> 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] [stderr] error: could not compile `async-nats-flyradar` (test "jwt_tests") due to 22 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/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[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / kv.update("sue.color", "red".into(), 1) [INFO] [stdout] 70 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | let keys = kv.keys().await?.try_collect::>().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | let name = jetstream.stream_names().next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | let consumer = jetstream [INFO] [stdout] | ____________________^ [INFO] [stdout] 111 | | .get_stream("KV_profiles") [INFO] [stdout] 112 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let consumer = jetstream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | let mut messages = consumer.messages().await?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `consumer` an explicit type [INFO] [stdout] | [INFO] [stdout] 110 | let consumer: /* Type */ = jetstream [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut messages = consumer.messages().await?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 118 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `messages` an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | let mut messages: /* Type */ = consumer.messages().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/json.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let message = messages.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let s = nats_server::run_server("tests/configs/nkey.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut subscriber = client.subscribe("foo").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | while let Some(message) = subscriber.next().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscriber` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let mut subscriber: /* Type */ = client.subscribe("foo").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let mut subscriber = client.subscribe("bar").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | while let Some(message) = subscriber.next().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `subscriber` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut subscriber: /* Type */ = client.subscribe("bar").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_subs.rs:69:60 [INFO] [stdout] | [INFO] [stdout] 69 | Err(err) => println!("error while in task: {:?} ", err.to_string()), [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | Ok::(now.elapsed()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | Ok::<(), async_nats::Error>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | Ok::<(), async_nats::Error>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/multiple_subs.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | Ok::(now.elapsed()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut watch = kv.watch("sue.*").await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `watch` an explicit type [INFO] [stdout] | [INFO] [stdout] 163 | let mut watch: /* Type */ = kv.watch("sue.*").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | .connect(s.client_url()) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/kv.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | let entry = watch.next().await.unwrap()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / nc.publish("hello", "world".into()) [INFO] [stdout] 30 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] --> 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] [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::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: 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:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use async_nats::jetstream::stream::ConsumerLimits; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: 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::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: 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:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | 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:3423:13 [INFO] [stdout] | [INFO] [stdout] 3423 | 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:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use async_nats::{ConnectOptions, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "multiple_subs") due to 10 previous errors [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "json") due to 4 previous errors [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "jetstream_push") due to 7 previous errors [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "kv") due to 18 previous errors [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "concurrent") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let s = nats_server::run_server("tests/configs/nkey.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let nc = async_nats::ConnectOptions::new() [INFO] [stdout] | __________________^ [INFO] [stdout] 39 | | .nkey(SECRET_SEED.into()) [INFO] [stdout] 40 | | .connect(s.client_url()) [INFO] [stdout] 41 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | / nc.publish("hello", "world".into()) [INFO] [stdout] 46 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/nkey_tests.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | nats_server::run_server("tests/configs/nkey.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | .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] 64 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let client = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | ______________________^ [INFO] [stdout] 61 | | .connect( [INFO] [stdout] 62 | | servers [INFO] [stdout] 63 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 68 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | 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/nkey_tests.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | 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/nkey_tests.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | 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] [stderr] error: could not compile `async-nats-flyradar` (test "nkey_tests") due to 19 previous errors [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/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] [stderr] error: could not compile `async-nats-flyradar` (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/object_store.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 36 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 39 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | stream: &mut async_nats::jetstream::stream::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] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] 15 + use futures::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 112 - stream: &mut async_nats::jetstream::stream::Stream, [INFO] [stdout] 112 + stream: &mut stream::Stream, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | .create_consumer(async_nats::jetstream::consumer::push::OrderedConfig { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 117 - .create_consumer(async_nats::jetstream::consumer::push::OrderedConfig { [INFO] [stdout] 117 + .create_consumer(push::OrderedConfig { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 137 - let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 137 + 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/object_store.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 143 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 143 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 170 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 170 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:173:34 [INFO] [stdout] | [INFO] [stdout] 173 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 173 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 173 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 211 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 211 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:214:34 [INFO] [stdout] | [INFO] [stdout] 214 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 214 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 214 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:271:25 [INFO] [stdout] | [INFO] [stdout] 271 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 271 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 271 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 274 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 274 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:324:25 [INFO] [stdout] | [INFO] [stdout] 324 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 324 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 324 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:327:34 [INFO] [stdout] | [INFO] [stdout] 327 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 327 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 327 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 357 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 357 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:360:34 [INFO] [stdout] | [INFO] [stdout] 360 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 360 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 360 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:391:25 [INFO] [stdout] | [INFO] [stdout] 391 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 391 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 391 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:394:34 [INFO] [stdout] | [INFO] [stdout] 394 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 394 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 394 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:439:25 [INFO] [stdout] | [INFO] [stdout] 439 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 439 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 439 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:442:34 [INFO] [stdout] | [INFO] [stdout] 442 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 442 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 442 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:485:25 [INFO] [stdout] | [INFO] [stdout] 485 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 485 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 485 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:488:34 [INFO] [stdout] | [INFO] [stdout] 488 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 488 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 488 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 521 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 521 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:524:34 [INFO] [stdout] | [INFO] [stdout] 524 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 524 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 524 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:577:25 [INFO] [stdout] | [INFO] [stdout] 577 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 577 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 577 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:580:34 [INFO] [stdout] | [INFO] [stdout] 580 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 580 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 580 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:645:25 [INFO] [stdout] | [INFO] [stdout] 645 | 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] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 645 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 645 + let jetstream = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:648:34 [INFO] [stdout] | [INFO] [stdout] 648 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 648 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 648 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:655:34 [INFO] [stdout] | [INFO] [stdout] 655 | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::object_store; [INFO] [stdout] | [INFO] [stdout] help: if you import `object_store`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 655 - .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 655 + .create_object_store(object_store::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let message_count = stream.info().await.unwrap().state.messages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / stream [INFO] [stdout] 117 | | .create_consumer(async_nats::jetstream::consumer::push::OrderedConfig { [INFO] [stdout] 118 | | deliver_subject: client.new_inbox(), [INFO] [stdout] 119 | | ..Default::default() [INFO] [stdout] 120 | | }) [INFO] [stdout] 121 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / stream [INFO] [stdout] 117 | | .create_consumer(async_nats::jetstream::consumer::push::OrderedConfig { [INFO] [stdout] 118 | | deliver_subject: client.new_inbox(), [INFO] [stdout] 119 | | ..Default::default() [INFO] [stdout] ... | [INFO] [stdout] 123 | | .messages() [INFO] [stdout] 124 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | .any(|msg| { [INFO] [stdout] | ^^^ [INFO] [stdout] 128 | let cond = msg.unwrap().message.subject.contains(nuid); [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] 127 | .any(|msg: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 39 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 40 | | bucket: "bucket".to_string(), [INFO] [stdout] 41 | | ..Default::default() [INFO] [stdout] 42 | | }) [INFO] [stdout] 43 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | let mut object = bucket.get("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | bucket.add_link("link", &object.info).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | let mut object_link = bucket.get("link").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | object_link.read_to_end(&mut contents).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | / bucket [INFO] [stdout] 89 | | .put( [INFO] [stdout] 90 | | ObjectMetadata { [INFO] [stdout] 91 | | name: "BAR".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 98 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | let meta = bucket.get("BAR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 143 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 144 | | bucket: bucket_name.to_owned(), [INFO] [stdout] 145 | | ..Default::default() [INFO] [stdout] 146 | | }) [INFO] [stdout] 147 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | let mut stream = jetstream.get_stream(stream_name).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | let info = bucket.put("file", &mut b"foo".as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | bucket.put("file", &mut b"bar".as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:167:22 [INFO] [stdout] | [INFO] [stdout] 167 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 173 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 174 | | bucket: "bucket".to_string(), [INFO] [stdout] 175 | | ..Default::default() [INFO] [stdout] 176 | | }) [INFO] [stdout] 177 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | / bucket [INFO] [stdout] 181 | | .put("FOO", &mut std::io::Cursor::new(vec![1, 2, 3, 4])) [INFO] [stdout] 182 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:185:27 [INFO] [stdout] | [INFO] [stdout] 185 | let mut watcher = bucket.watch().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | / bucket [INFO] [stdout] 192 | | .put("BAR", &mut io::Cursor::new(vec![2, 3, 4, 5])) [INFO] [stdout] 193 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | bucket.delete("BAR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:199:22 [INFO] [stdout] | [INFO] [stdout] 199 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs: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/object_store.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/object_store.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 214 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 215 | | bucket: "bucket".to_string(), [INFO] [stdout] 216 | | ..Default::default() [INFO] [stdout] 217 | | }) [INFO] [stdout] 218 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / bucket [INFO] [stdout] 222 | | .put("FOO", &mut std::io::Cursor::new(vec![1, 2, 3, 4])) [INFO] [stdout] 223 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / bucket [INFO] [stdout] 227 | | .put("BAR", &mut std::io::Cursor::new(vec![5, 6, 7, 8])) [INFO] [stdout] 228 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / bucket [INFO] [stdout] 232 | | .put("FOO", &mut std::io::Cursor::new(vec![9, 0, 1, 2])) [INFO] [stdout] 233 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | let mut watcher = bucket.watch_with_history().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | / bucket [INFO] [stdout] 243 | | .put("BAR", &mut io::Cursor::new(vec![2, 3, 4, 5])) [INFO] [stdout] 244 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | bucket.delete("BAR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:259:22 [INFO] [stdout] | [INFO] [stdout] 259 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let object = watcher.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:269:22 [INFO] [stdout] | [INFO] [stdout] 269 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:273:22 [INFO] [stdout] | [INFO] [stdout] 273 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 274 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 275 | | bucket: "bucket".to_string(), [INFO] [stdout] 276 | | ..Default::default() [INFO] [stdout] 277 | | }) [INFO] [stdout] 278 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | / bucket [INFO] [stdout] 286 | | .put( [INFO] [stdout] 287 | | ObjectMetadata { [INFO] [stdout] 288 | | name: "FOO".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 296 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | / bucket [INFO] [stdout] 311 | | .put("FOO", &mut io::Cursor::new(vec![2, 3, 4, 5])) [INFO] [stdout] 312 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 327 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 328 | | bucket: "bucket".to_string(), [INFO] [stdout] 329 | | ..Default::default() [INFO] [stdout] 330 | | }) [INFO] [stdout] 331 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | bucket.delete("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:354:22 [INFO] [stdout] | [INFO] [stdout] 354 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:355:22 [INFO] [stdout] | [INFO] [stdout] 355 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:355:22 [INFO] [stdout] | [INFO] [stdout] 355 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:359:26 [INFO] [stdout] | [INFO] [stdout] 359 | let mut bucket = jetstream [INFO] [stdout] | __________________________^ [INFO] [stdout] 360 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 361 | | bucket: "bucket".to_string(), [INFO] [stdout] 362 | | ..Default::default() [INFO] [stdout] 363 | | }) [INFO] [stdout] 364 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | bucket.put("FOO", &mut bytes.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:373:20 [INFO] [stdout] | [INFO] [stdout] 373 | let info = bucket.info("FOO").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | bucket.seal().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:380:26 [INFO] [stdout] | [INFO] [stdout] 380 | let mut stream = jetstream.get_stream("OBJ_bucket").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:381:20 [INFO] [stdout] | [INFO] [stdout] 381 | let info = stream.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/object_store.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/object_store.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/object_store.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/object_store.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 394 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 395 | | bucket: "bucket".to_string(), [INFO] [stdout] 396 | | ..Default::default() [INFO] [stdout] 397 | | }) [INFO] [stdout] 398 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | bucket.put(filename, &mut file.as_slice()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:425:30 [INFO] [stdout] | [INFO] [stdout] 425 | let mut object = bucket.get(filename).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | object.read_to_end(&mut result).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:441:22 [INFO] [stdout] | [INFO] [stdout] 441 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 442 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 443 | | bucket: "bucket".to_string(), [INFO] [stdout] 444 | | ..Default::default() [INFO] [stdout] 445 | | }) [INFO] [stdout] 446 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | / bucket [INFO] [stdout] 449 | | .put( [INFO] [stdout] 450 | | ObjectMetadata { [INFO] [stdout] 451 | | name: "Foo".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 458 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | / bucket [INFO] [stdout] 461 | | .put("DEL", &mut "32142421424".as_bytes()) [INFO] [stdout] 462 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | bucket.delete("DEL").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | / bucket [INFO] [stdout] 467 | | .put(format!("{i}").as_ref(), &mut "blalbalballba".as_bytes()) [INFO] [stdout] 468 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:471:24 [INFO] [stdout] | [INFO] [stdout] 471 | let mut list = bucket.list().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | let obj = list.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:475:20 [INFO] [stdout] | [INFO] [stdout] 475 | assert_eq!(list.next().await.unwrap().unwrap().name, "0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:476:20 [INFO] [stdout] | [INFO] [stdout] 476 | assert_eq!(list.next().await.unwrap().unwrap().name, "1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:482:22 [INFO] [stdout] | [INFO] [stdout] 482 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 488 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 489 | | bucket: "bucket".to_string(), [INFO] [stdout] 490 | | ..Default::default() [INFO] [stdout] 491 | | }) [INFO] [stdout] 492 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | / bucket [INFO] [stdout] 495 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 496 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | / bucket [INFO] [stdout] 499 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 500 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | / bucket [INFO] [stdout] 503 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 504 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | / bucket [INFO] [stdout] 507 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 508 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | / bucket [INFO] [stdout] 511 | | .put("DATA", &mut "some data".as_bytes()) [INFO] [stdout] 512 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:518:22 [INFO] [stdout] | [INFO] [stdout] 518 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:519:22 [INFO] [stdout] | [INFO] [stdout] 519 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:523:22 [INFO] [stdout] | [INFO] [stdout] 523 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 524 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 525 | | bucket: "bucket".to_string(), [INFO] [stdout] 526 | | ..Default::default() [INFO] [stdout] 527 | | }) [INFO] [stdout] 528 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | / bucket [INFO] [stdout] 531 | | .put("old_object", &mut "some data".as_bytes()) [INFO] [stdout] 532 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | / bucket [INFO] [stdout] 542 | | .update_metadata("old_object", given_metadata.clone()) [INFO] [stdout] 543 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:546:22 [INFO] [stdout] | [INFO] [stdout] 546 | let stream = jetstream.get_stream("OBJ_bucket").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | / stream [INFO] [stdout] 549 | | .direct_get_last_for_subject(format!( [INFO] [stdout] 550 | | "$O.bucket.M.{}", [INFO] [stdout] 551 | | base64::engine::general_purpose::URL_SAFE.encode("new_object") [INFO] [stdout] 552 | | )) [INFO] [stdout] 553 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:556:32 [INFO] [stdout] | [INFO] [stdout] 556 | let old_meta_subject = stream [INFO] [stdout] | ________________________________^ [INFO] [stdout] 557 | | .direct_get_last_for_subject(format!( [INFO] [stdout] 558 | | "$O.bucket.M.{}", [INFO] [stdout] 559 | | base64::engine::general_purpose::URL_SAFE.encode("old_object") [INFO] [stdout] 560 | | )) [INFO] [stdout] 561 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:566:20 [INFO] [stdout] | [INFO] [stdout] 566 | let info = bucket.info("new_object").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/object_store.rs:574:22 [INFO] [stdout] | [INFO] [stdout] 574 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:575:22 [INFO] [stdout] | [INFO] [stdout] 575 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:575:22 [INFO] [stdout] | [INFO] [stdout] 575 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:579:22 [INFO] [stdout] | [INFO] [stdout] 579 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 580 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 581 | | bucket: "bucket".to_string(), [INFO] [stdout] 582 | | ..Default::default() [INFO] [stdout] 583 | | }) [INFO] [stdout] 584 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:586:22 [INFO] [stdout] | [INFO] [stdout] 586 | let object = bucket [INFO] [stdout] | ______________________^ [INFO] [stdout] 587 | | .put("object", &mut "some data".as_bytes()) [INFO] [stdout] 588 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:591:30 [INFO] [stdout] | [INFO] [stdout] 591 | let another_object = bucket [INFO] [stdout] | ______________________________^ [INFO] [stdout] 592 | | .put("another_object", &mut "other data".as_bytes()) [INFO] [stdout] 593 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | bucket.add_link("link", &object).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | let link_info = bucket.info("link").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:627:22 [INFO] [stdout] | [INFO] [stdout] 627 | let result = bucket [INFO] [stdout] | ______________________^ [INFO] [stdout] 628 | | .add_link("object", &another_object) [INFO] [stdout] 629 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:633:22 [INFO] [stdout] | [INFO] [stdout] 633 | let result = bucket.add_link("", &another_object).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:636:22 [INFO] [stdout] | [INFO] [stdout] 636 | let result = bucket.add_link("new_link", &link_info).await.unwrap_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/object_store.rs:642:22 [INFO] [stdout] | [INFO] [stdout] 642 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:643:22 [INFO] [stdout] | [INFO] [stdout] 643 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:643:22 [INFO] [stdout] | [INFO] [stdout] 643 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:647:9 [INFO] [stdout] | [INFO] [stdout] 647 | / jetstream [INFO] [stdout] 648 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 649 | | bucket: "another".to_string(), [INFO] [stdout] 650 | | ..Default::default() [INFO] [stdout] 651 | | }) [INFO] [stdout] 652 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:654:22 [INFO] [stdout] | [INFO] [stdout] 654 | let bucket = jetstream [INFO] [stdout] | ______________________^ [INFO] [stdout] 655 | | .create_object_store(async_nats::jetstream::object_store::Config { [INFO] [stdout] 656 | | bucket: "bucket".to_string(), [INFO] [stdout] 657 | | ..Default::default() [INFO] [stdout] 658 | | }) [INFO] [stdout] 659 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:662:9 [INFO] [stdout] | [INFO] [stdout] 662 | bucket.add_bucket_link("link", "another").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/object_store.rs:664:25 [INFO] [stdout] | [INFO] [stdout] 664 | let link_info = bucket.info("link").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/object_store.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | client: &async_nats::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] [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-flyradar` (test "object_store") due to 159 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 59 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 59 + 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:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 72 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 72 + 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:101:23 [INFO] [stdout] | [INFO] [stdout] 101 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 101 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 101 + 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:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 125 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 125 + 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:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 256 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 256 + 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:284:23 [INFO] [stdout] | [INFO] [stdout] 284 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 284 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 284 + 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:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 295 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 295 + 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:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 312 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 312 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:323:23 [INFO] [stdout] | [INFO] [stdout] 323 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 323 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 323 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:343:23 [INFO] [stdout] | [INFO] [stdout] 343 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 343 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 343 + 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:393:23 [INFO] [stdout] | [INFO] [stdout] 393 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 393 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 393 + 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:414:23 [INFO] [stdout] | [INFO] [stdout] 414 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 414 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 414 + 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:23 [INFO] [stdout] | [INFO] [stdout] 438 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 438 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 438 + 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:441:28 [INFO] [stdout] | [INFO] [stdout] 441 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 441 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 441 + .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:476:23 [INFO] [stdout] | [INFO] [stdout] 476 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 476 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 476 + 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:479:28 [INFO] [stdout] | [INFO] [stdout] 479 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 479 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 479 + .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:507:23 [INFO] [stdout] | [INFO] [stdout] 507 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 507 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 507 + 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:540:23 [INFO] [stdout] | [INFO] [stdout] 540 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 540 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 540 + 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:550:23 [INFO] [stdout] | [INFO] [stdout] 550 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 550 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 550 + 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:571:23 [INFO] [stdout] | [INFO] [stdout] 571 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 571 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 571 + 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:590:23 [INFO] [stdout] | [INFO] [stdout] 590 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 590 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 590 + 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:630:23 [INFO] [stdout] | [INFO] [stdout] 630 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 630 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 630 + 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:681:23 [INFO] [stdout] | [INFO] [stdout] 681 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 681 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 681 + 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:740:23 [INFO] [stdout] | [INFO] [stdout] 740 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 740 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 740 + 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:817:23 [INFO] [stdout] | [INFO] [stdout] 817 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 817 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 817 + 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:872:23 [INFO] [stdout] | [INFO] [stdout] 872 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 872 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 872 + 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:889:23 [INFO] [stdout] | [INFO] [stdout] 889 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 889 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 889 + 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:958:23 [INFO] [stdout] | [INFO] [stdout] 958 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 958 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 958 + 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:1026:23 [INFO] [stdout] | [INFO] [stdout] 1026 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1026 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1026 + 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:1047:23 [INFO] [stdout] | [INFO] [stdout] 1047 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1047 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1047 + 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:1078:23 [INFO] [stdout] | [INFO] [stdout] 1078 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1078 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1078 + 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:1126:23 [INFO] [stdout] | [INFO] [stdout] 1126 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1126 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1126 + 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:1155:23 [INFO] [stdout] | [INFO] [stdout] 1155 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1155 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1155 + 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:1188:23 [INFO] [stdout] | [INFO] [stdout] 1188 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1188 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1188 + 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:1216:23 [INFO] [stdout] | [INFO] [stdout] 1216 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1216 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1216 + 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:1292:23 [INFO] [stdout] | [INFO] [stdout] 1292 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1292 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1292 + 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:1335:23 [INFO] [stdout] | [INFO] [stdout] 1335 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1335 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1335 + 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:1373:23 [INFO] [stdout] | [INFO] [stdout] 1373 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1373 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1373 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1418:23 [INFO] [stdout] | [INFO] [stdout] 1418 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1418 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1418 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1464:23 [INFO] [stdout] | [INFO] [stdout] 1464 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1464 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1464 + 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:1528:23 [INFO] [stdout] | [INFO] [stdout] 1528 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1528 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1528 + 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:1572:23 [INFO] [stdout] | [INFO] [stdout] 1572 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1572 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1572 + 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:1629:23 [INFO] [stdout] | [INFO] [stdout] 1629 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1629 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1629 + 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:1671:23 [INFO] [stdout] | [INFO] [stdout] 1671 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1671 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1671 + 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:1724:13 [INFO] [stdout] | [INFO] [stdout] 1724 | 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_flyradar::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1724 - async_nats::jetstream::consumer::push::MessagesErrorKind::MissingHeartbeat [INFO] [stdout] 1724 + 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:1743:23 [INFO] [stdout] | [INFO] [stdout] 1743 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1743 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1743 + 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:1789:23 [INFO] [stdout] | [INFO] [stdout] 1789 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1789 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1789 + 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:1839:23 [INFO] [stdout] | [INFO] [stdout] 1839 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1839 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1839 + 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:1889:23 [INFO] [stdout] | [INFO] [stdout] 1889 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1889 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1889 + 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:1928:23 [INFO] [stdout] | [INFO] [stdout] 1928 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1928 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1928 + 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:1981:23 [INFO] [stdout] | [INFO] [stdout] 1981 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1981 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1981 + 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:2030:23 [INFO] [stdout] | [INFO] [stdout] 2030 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2030 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2030 + 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:2105:23 [INFO] [stdout] | [INFO] [stdout] 2105 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2105 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2105 + 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:2207:23 [INFO] [stdout] | [INFO] [stdout] 2207 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2207 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2207 + 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:2242:13 [INFO] [stdout] | [INFO] [stdout] 2242 | async_nats::jetstream::consumer::pull::MessagesErrorKind::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 one of these enums [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2242 - async_nats::jetstream::consumer::pull::MessagesErrorKind::Other, [INFO] [stdout] 2242 + MessagesErrorKind::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/jetstream_tests.rs:2249:13 [INFO] [stdout] | [INFO] [stdout] 2249 | async_nats::jetstream::consumer::pull::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_flyradar::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2249 - async_nats::jetstream::consumer::pull::MessagesErrorKind::MissingHeartbeat, [INFO] [stdout] 2249 + 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:2288:23 [INFO] [stdout] | [INFO] [stdout] 2288 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2288 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2288 + 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:2318:13 [INFO] [stdout] | [INFO] [stdout] 2318 | 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_flyradar::jetstream::consumer::pull::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] 27 + use async_nats_flyradar::jetstream::consumer::push::MessagesErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `MessagesErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2318 - async_nats::jetstream::consumer::pull::MessagesErrorKind::ConsumerDeleted, [INFO] [stdout] 2318 + 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:2334:23 [INFO] [stdout] | [INFO] [stdout] 2334 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2334 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2334 + 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:2373:23 [INFO] [stdout] | [INFO] [stdout] 2373 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2373 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2373 + 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:2409:23 [INFO] [stdout] | [INFO] [stdout] 2409 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2409 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2409 + 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:2496:27 [INFO] [stdout] | [INFO] [stdout] 2496 | .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_flyradar::jetstream::AckKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `AckKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2496 - .ack_with(async_nats::jetstream::AckKind::Nak(None)) [INFO] [stdout] 2496 + .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:2512:22 [INFO] [stdout] | [INFO] [stdout] 2512 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2512 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2512 + 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:2520:25 [INFO] [stdout] | [INFO] [stdout] 2520 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2520 - let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2520 + 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:2524:37 [INFO] [stdout] | [INFO] [stdout] 2524 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2524 - jetstream.create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2524 + 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:2537:30 [INFO] [stdout] | [INFO] [stdout] 2537 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2537 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2537 + .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:2588:18 [INFO] [stdout] | [INFO] [stdout] 2588 | let js = 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2588 - let js = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2588 + let js = 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:2663:22 [INFO] [stdout] | [INFO] [stdout] 2663 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2663 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 2663 + 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:2671:29 [INFO] [stdout] | [INFO] [stdout] 2671 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2671 - let mut jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 2671 + 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:2699:25 [INFO] [stdout] | [INFO] [stdout] 2699 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2699 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2699 + 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:2702:28 [INFO] [stdout] | [INFO] [stdout] 2702 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2702 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2702 + .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:2706:33 [INFO] [stdout] | [INFO] [stdout] 2706 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2706 - republish: Some(async_nats::jetstream::stream::Republish { [INFO] [stdout] 2706 + 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:2716:28 [INFO] [stdout] | [INFO] [stdout] 2716 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2716 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2716 + .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:2726:30 [INFO] [stdout] | [INFO] [stdout] 2726 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2726 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2726 + .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:2755:25 [INFO] [stdout] | [INFO] [stdout] 2755 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2755 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2755 + 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:2758:28 [INFO] [stdout] | [INFO] [stdout] 2758 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2758 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2758 + .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:2795:25 [INFO] [stdout] | [INFO] [stdout] 2795 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2795 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2795 + 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:2798:28 [INFO] [stdout] | [INFO] [stdout] 2798 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2798 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2798 + .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:2810:28 [INFO] [stdout] | [INFO] [stdout] 2810 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2810 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2810 + .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:2812:30 [INFO] [stdout] | [INFO] [stdout] 2812 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2812 - mirror: Some(async_nats::jetstream::stream::Source { [INFO] [stdout] 2812 + 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:2829:30 [INFO] [stdout] | [INFO] [stdout] 2829 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2829 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2829 + .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:2849:25 [INFO] [stdout] | [INFO] [stdout] 2849 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2849 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 2849 + 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:2852:28 [INFO] [stdout] | [INFO] [stdout] 2852 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2852 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2852 + .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:2860:28 [INFO] [stdout] | [INFO] [stdout] 2860 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2860 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2860 + .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:2874:28 [INFO] [stdout] | [INFO] [stdout] 2874 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2874 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 2874 + .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:2877:21 [INFO] [stdout] | [INFO] [stdout] 2877 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2877 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2877 + 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:2882:21 [INFO] [stdout] | [INFO] [stdout] 2882 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2882 - async_nats::jetstream::stream::Source { [INFO] [stdout] 2882 + 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:2908:30 [INFO] [stdout] | [INFO] [stdout] 2908 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2908 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 2908 + .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:2937:23 [INFO] [stdout] | [INFO] [stdout] 2937 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2937 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2937 + 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:2994:23 [INFO] [stdout] | [INFO] [stdout] 2994 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 2994 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 2994 + 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:3048:23 [INFO] [stdout] | [INFO] [stdout] 3048 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3048 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3048 + 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:3052:32 [INFO] [stdout] | [INFO] [stdout] 3052 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3052 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3052 + .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:3068:23 [INFO] [stdout] | [INFO] [stdout] 3068 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3068 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3068 + 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:3072:32 [INFO] [stdout] | [INFO] [stdout] 3072 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3072 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3072 + .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:3088:23 [INFO] [stdout] | [INFO] [stdout] 3088 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3088 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3088 + 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:3091:28 [INFO] [stdout] | [INFO] [stdout] 3091 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3091 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3091 + .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:3101:34 [INFO] [stdout] | [INFO] [stdout] 3101 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3101 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3101 + .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:3129:23 [INFO] [stdout] | [INFO] [stdout] 3129 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3129 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3129 + 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:3132:28 [INFO] [stdout] | [INFO] [stdout] 3132 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3132 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3132 + .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:3142:34 [INFO] [stdout] | [INFO] [stdout] 3142 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3142 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3142 + .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:3166:23 [INFO] [stdout] | [INFO] [stdout] 3166 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3166 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3166 + 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:3169:28 [INFO] [stdout] | [INFO] [stdout] 3169 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3169 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3169 + .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:3187:30 [INFO] [stdout] | [INFO] [stdout] 3187 | .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_flyradar::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3187 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3187 + .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:3216:23 [INFO] [stdout] | [INFO] [stdout] 3216 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3216 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3216 + 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:3234:23 [INFO] [stdout] | [INFO] [stdout] 3234 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3234 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3234 + 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:3237:28 [INFO] [stdout] | [INFO] [stdout] 3237 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3237 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3237 + .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:3271:30 [INFO] [stdout] | [INFO] [stdout] 3271 | .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_flyradar::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3271 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3271 + .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:3293:23 [INFO] [stdout] | [INFO] [stdout] 3293 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3293 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3293 + 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:3301:28 [INFO] [stdout] | [INFO] [stdout] 3301 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3301 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3301 + .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:3315:30 [INFO] [stdout] | [INFO] [stdout] 3315 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3315 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3315 + .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:3332:23 [INFO] [stdout] | [INFO] [stdout] 3332 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3332 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3332 + 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:3335:28 [INFO] [stdout] | [INFO] [stdout] 3335 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3335 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3335 + .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:3343:30 [INFO] [stdout] | [INFO] [stdout] 3343 | .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_flyradar::jetstream::consumer; [INFO] [stdout] | [INFO] [stdout] help: if you import `consumer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3343 - .create_consumer(async_nats::jetstream::consumer::Config { [INFO] [stdout] 3343 + .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:3364:23 [INFO] [stdout] | [INFO] [stdout] 3364 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3364 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3364 + 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:3367:28 [INFO] [stdout] | [INFO] [stdout] 3367 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3367 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3367 + .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:3375:30 [INFO] [stdout] | [INFO] [stdout] 3375 | .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_flyradar::jetstream::consumer::push; [INFO] [stdout] | [INFO] [stdout] help: if you import `push`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3375 - .create_consumer(async_nats::jetstream::consumer::push::Config { [INFO] [stdout] 3375 + .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:3427:23 [INFO] [stdout] | [INFO] [stdout] 3427 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3427 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3427 + 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:3430:28 [INFO] [stdout] | [INFO] [stdout] 3430 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3430 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3430 + .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:3433:41 [INFO] [stdout] | [INFO] [stdout] 3433 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3433 - subject_transform: Some(async_nats::jetstream::stream::SubjectTransform { [INFO] [stdout] 3433 + 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:3450:28 [INFO] [stdout] | [INFO] [stdout] 3450 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3450 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3450 + .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:3452:36 [INFO] [stdout] | [INFO] [stdout] 3452 | 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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3452 - sources: Some(vec![async_nats::jetstream::stream::Source { [INFO] [stdout] 3452 + 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:3466:35 [INFO] [stdout] | [INFO] [stdout] 3466 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3466 - .get_or_create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3466 + .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:3479:17 [INFO] [stdout] | [INFO] [stdout] 3479 | 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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3479 - async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3479 + 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:3496:23 [INFO] [stdout] | [INFO] [stdout] 3496 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3496 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3496 + 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:3499:28 [INFO] [stdout] | [INFO] [stdout] 3499 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3499 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3499 + .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:3517:30 [INFO] [stdout] | [INFO] [stdout] 3517 | .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_flyradar::jetstream::consumer::pull; [INFO] [stdout] | [INFO] [stdout] help: if you import `pull`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3517 - .create_consumer(async_nats::jetstream::consumer::pull::Config { [INFO] [stdout] 3517 + .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:3541:22 [INFO] [stdout] | [INFO] [stdout] 3541 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3541 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 3541 + 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:3547:23 [INFO] [stdout] | [INFO] [stdout] 3547 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3547 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 3547 + 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:3550:28 [INFO] [stdout] | [INFO] [stdout] 3550 | .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_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3550 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 3550 + .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:3592:25 [INFO] [stdout] | [INFO] [stdout] 3592 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3592 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3592 + 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:3603:30 [INFO] [stdout] | [INFO] [stdout] 3603 | .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_flyradar::jetstream::consumer; [INFO] [stdout] | [INFO] [stdout] help: if you import `consumer`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3603 - .create_consumer(async_nats::jetstream::consumer::Config { [INFO] [stdout] 3603 + .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:3627:25 [INFO] [stdout] | [INFO] [stdout] 3627 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3627 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3627 + 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:3672:25 [INFO] [stdout] | [INFO] [stdout] 3672 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3672 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3672 + 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:3711:22 [INFO] [stdout] | [INFO] [stdout] 3711 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3711 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 3711 + 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:3716:25 [INFO] [stdout] | [INFO] [stdout] 3716 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3716 - let jetstream = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 3716 + 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:3735:25 [INFO] [stdout] | [INFO] [stdout] 3735 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3735 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3735 + 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:3758:25 [INFO] [stdout] | [INFO] [stdout] 3758 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3758 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3758 + 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:3815:22 [INFO] [stdout] | [INFO] [stdout] 3815 | 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_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3815 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 3815 + 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:3819:25 [INFO] [stdout] | [INFO] [stdout] 3819 | 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_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3819 - let jetstream = async_nats::jetstream::new(client); [INFO] [stdout] 3819 + 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:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | 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:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | 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: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[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | 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:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | 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:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | 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:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let _stream = context [INFO] [stdout] | _______________________^ [INFO] [stdout] 75 | | .create_stream(stream::Config { [INFO] [stdout] 76 | | name: "TEST".into(), [INFO] [stdout] 77 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 78 | | ..Default::default() [INFO] [stdout] 79 | | }) [INFO] [stdout] 80 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 87 | | .publish_with_headers("foo", headers, payload.as_ref().into()) [INFO] [stdout] 88 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 87 | | .publish_with_headers("foo", headers, payload.as_ref().into()) [INFO] [stdout] 88 | | .await [INFO] [stdout] 89 | | .unwrap() [INFO] [stdout] 90 | | .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:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | 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:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | 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:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / context [INFO] [stdout] 104 | | .create_stream(stream::Config { [INFO] [stdout] 105 | | name: "TEST".into(), [INFO] [stdout] 106 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 107 | | ..Default::default() [INFO] [stdout] 108 | | }) [INFO] [stdout] 109 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | 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:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | 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:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 115 | | .publish("not_stream", "payload".into()) [INFO] [stdout] 116 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | 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:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | 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:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | 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:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | let mut stream = context [INFO] [stdout] | __________________________^ [INFO] [stdout] 128 | | .create_stream(stream::Config { [INFO] [stdout] 129 | | name: "TEST".into(), [INFO] [stdout] 130 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] ... | [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / context [INFO] [stdout] 140 | | .send_publish( [INFO] [stdout] 141 | | "foo", [INFO] [stdout] 142 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 146 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | / context [INFO] [stdout] 140 | | .send_publish( [INFO] [stdout] 141 | | "foo", [INFO] [stdout] 142 | | Publish::build() [INFO] [stdout] ... | [INFO] [stdout] 147 | | .unwrap() [INFO] [stdout] 148 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / context [INFO] [stdout] 152 | | .send_publish("foo", Publish::build().message_id(id.clone())) [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | / context [INFO] [stdout] 152 | | .send_publish("foo", Publish::build().message_id(id.clone())) [INFO] [stdout] 153 | | .await [INFO] [stdout] 154 | | .unwrap() [INFO] [stdout] 155 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | 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:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 161 | | .direct_get_last_for_subject("foo".to_string()) [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let err = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 168 | | .send_publish("foo", Publish::build().expected_last_message_id("BAD_ID")) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | let err = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 168 | | .send_publish("foo", Publish::build().expected_last_message_id("BAD_ID")) [INFO] [stdout] 169 | | .await [INFO] [stdout] 170 | | .unwrap() [INFO] [stdout] 171 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / context [INFO] [stdout] 177 | | .send_publish("foo", Publish::build().expected_last_message_id(id.clone())) [INFO] [stdout] 178 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / context [INFO] [stdout] 177 | | .send_publish("foo", Publish::build().expected_last_message_id(id.clone())) [INFO] [stdout] 178 | | .await [INFO] [stdout] 179 | | .unwrap() [INFO] [stdout] 180 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / context [INFO] [stdout] 185 | | .send_publish("foo", Publish::build().expected_last_sequence(2)) [INFO] [stdout] 186 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / context [INFO] [stdout] 185 | | .send_publish("foo", Publish::build().expected_last_sequence(2)) [INFO] [stdout] 186 | | .await [INFO] [stdout] 187 | | .unwrap() [INFO] [stdout] 188 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | / context [INFO] [stdout] 193 | | .send_publish("foo", Publish::build().expected_last_sequence(2),) [INFO] [stdout] 194 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | / context [INFO] [stdout] 193 | | .send_publish("foo", Publish::build().expected_last_sequence(2),) [INFO] [stdout] 194 | | .await [INFO] [stdout] 195 | | .unwrap() [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | / context [INFO] [stdout] 203 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3)) [INFO] [stdout] 204 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | / context [INFO] [stdout] 203 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3)) [INFO] [stdout] 204 | | .await [INFO] [stdout] 205 | | .unwrap() [INFO] [stdout] 206 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | / context [INFO] [stdout] 211 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3),) [INFO] [stdout] 212 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | / context [INFO] [stdout] 211 | | .send_publish("foo", Publish::build().expected_last_subject_sequence(3),) [INFO] [stdout] 212 | | .await [INFO] [stdout] 213 | | .unwrap() [INFO] [stdout] 214 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / context [INFO] [stdout] 222 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 223 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / context [INFO] [stdout] 222 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 223 | | .await [INFO] [stdout] 224 | | .unwrap() [INFO] [stdout] 225 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / context [INFO] [stdout] 229 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 230 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | / context [INFO] [stdout] 229 | | .send_publish("bar", Publish::build().expected_last_subject_sequence(0)) [INFO] [stdout] 230 | | .await [INFO] [stdout] 231 | | .unwrap() [INFO] [stdout] 232 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | 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:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / context [INFO] [stdout] 237 | | .send_publish("foo", Publish::build().header(NATS_MESSAGE_ID, id.as_str())) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | / context [INFO] [stdout] 237 | | .send_publish("foo", Publish::build().header(NATS_MESSAGE_ID, id.as_str())) [INFO] [stdout] 238 | | .await [INFO] [stdout] 239 | | .unwrap() [INFO] [stdout] 240 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | 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:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | / context [INFO] [stdout] 245 | | .send_publish("bar", Publish::build().expected_stream("TEST")) [INFO] [stdout] 246 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | / context [INFO] [stdout] 245 | | .send_publish("bar", Publish::build().expected_stream("TEST")) [INFO] [stdout] 246 | | .await [INFO] [stdout] 247 | | .unwrap() [INFO] [stdout] 248 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | 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:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | 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:255:22 [INFO] [stdout] | [INFO] [stdout] 255 | 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:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / context [INFO] [stdout] 259 | | .create_stream(stream::Config { [INFO] [stdout] 260 | | name: "TEST".into(), [INFO] [stdout] 261 | | subjects: vec!["foo".into(), "bar".into(), "baz".into()], [INFO] [stdout] 262 | | ..Default::default() [INFO] [stdout] 263 | | }) [INFO] [stdout] 264 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 271 | | .publish("foo", payload.as_ref().into()) [INFO] [stdout] 272 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | let ack = context [INFO] [stdout] | ___________________^ [INFO] [stdout] 271 | | .publish("foo", payload.as_ref().into()) [INFO] [stdout] 272 | | .await [INFO] [stdout] 273 | | .unwrap() [INFO] [stdout] 274 | | .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:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | 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:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | 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:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | 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:286:47 [INFO] [stdout] | [INFO] [stdout] 286 | 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:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:297:47 [INFO] [stdout] | [INFO] [stdout] 297 | let response: Response = context [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 298 | | .request("STREAM.INFO.nonexisting", &()) [INFO] [stdout] 299 | | .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:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | 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:311:22 [INFO] [stdout] | [INFO] [stdout] 311 | 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:314:47 [INFO] [stdout] | [INFO] [stdout] 314 | 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:321:22 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | 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:322:22 [INFO] [stdout] | [INFO] [stdout] 322 | 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:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | 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:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | / context [INFO] [stdout] 328 | | .create_stream(&stream::Config { [INFO] [stdout] 329 | | name: "events2".into(), [INFO] [stdout] 330 | | ..Default::default() [INFO] [stdout] 331 | | }) [INFO] [stdout] 332 | | .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:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | 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:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | 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:342:22 [INFO] [stdout] | [INFO] [stdout] 342 | 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:345:26 [INFO] [stdout] | [INFO] [stdout] 345 | let mut stream = tryhard::retry_fn(|| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 346 | | context.create_stream(stream::Config { [INFO] [stdout] 347 | | name: "events2".to_string(), [INFO] [stdout] 348 | | num_replicas: 3, [INFO] [stdout] ... | [INFO] [stdout] 355 | | .exponential_backoff(Duration::from_millis(500)) [INFO] [stdout] 356 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | / stream [INFO] [stdout] 363 | | .info() [INFO] [stdout] 364 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 374 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 375 | | .create_consumer(jetstream::consumer::pull::Config { [INFO] [stdout] 376 | | durable_name: Some("name".into()), [INFO] [stdout] 377 | | ..Default::default() [INFO] [stdout] 378 | | }) [INFO] [stdout] 379 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | 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:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | 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:392:22 [INFO] [stdout] | [INFO] [stdout] 392 | 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:392:22 [INFO] [stdout] | [INFO] [stdout] 392 | 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:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | 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:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | / context [INFO] [stdout] 398 | | .get_stream("events") [INFO] [stdout] 399 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | / context [INFO] [stdout] 398 | | .get_stream("events") [INFO] [stdout] 399 | | .await [INFO] [stdout] 400 | | .unwrap() [INFO] [stdout] 401 | | .info() [INFO] [stdout] 402 | | .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:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | 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:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | 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:413:22 [INFO] [stdout] | [INFO] [stdout] 413 | 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:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | 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:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | / context [INFO] [stdout] 420 | | .publish("events", "data".into()) [INFO] [stdout] 421 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:419:13 [INFO] [stdout] | [INFO] [stdout] 419 | / context [INFO] [stdout] 420 | | .publish("events", "data".into()) [INFO] [stdout] 421 | | .await [INFO] [stdout] 422 | | .unwrap() [INFO] [stdout] 423 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:426:26 [INFO] [stdout] | [INFO] [stdout] 426 | 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:429:9 [INFO] [stdout] | [INFO] [stdout] 429 | 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:431:20 [INFO] [stdout] | [INFO] [stdout] 431 | 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:436:22 [INFO] [stdout] | [INFO] [stdout] 436 | 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:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:22 [INFO] [stdout] | [INFO] [stdout] 437 | 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:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | / context [INFO] [stdout] 441 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 442 | | name: "events".into(), [INFO] [stdout] 443 | | subjects: vec!["events.*".into()], [INFO] [stdout] 444 | | ..Default::default() [INFO] [stdout] 445 | | }) [INFO] [stdout] 446 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | / context [INFO] [stdout] 451 | | .publish("events.one", "data".into()) [INFO] [stdout] 452 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | / context [INFO] [stdout] 451 | | .publish("events.one", "data".into()) [INFO] [stdout] 452 | | .await [INFO] [stdout] 453 | | .unwrap() [INFO] [stdout] 454 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | / context [INFO] [stdout] 459 | | .publish("events.two", "data".into()) [INFO] [stdout] 460 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | / context [INFO] [stdout] 459 | | .publish("events.two", "data".into()) [INFO] [stdout] 460 | | .await [INFO] [stdout] 461 | | .unwrap() [INFO] [stdout] 462 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:465:26 [INFO] [stdout] | [INFO] [stdout] 465 | 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:468:9 [INFO] [stdout] | [INFO] [stdout] 468 | 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:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | 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:474:22 [INFO] [stdout] | [INFO] [stdout] 474 | 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:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | 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:475:22 [INFO] [stdout] | [INFO] [stdout] 475 | 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:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | / context [INFO] [stdout] 479 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 480 | | name: "events".into(), [INFO] [stdout] 481 | | subjects: vec!["events.*".into()], [INFO] [stdout] 482 | | ..Default::default() [INFO] [stdout] 483 | | }) [INFO] [stdout] 484 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | / context [INFO] [stdout] 489 | | .publish("events.two", "data".into()) [INFO] [stdout] 490 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | / context [INFO] [stdout] 489 | | .publish("events.two", "data".into()) [INFO] [stdout] 490 | | .await [INFO] [stdout] 491 | | .unwrap() [INFO] [stdout] 492 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:495:26 [INFO] [stdout] | [INFO] [stdout] 495 | 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:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | 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:498:20 [INFO] [stdout] | [INFO] [stdout] 498 | 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:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | 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:500:20 [INFO] [stdout] | [INFO] [stdout] 500 | 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:505:22 [INFO] [stdout] | [INFO] [stdout] 505 | 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:506:22 [INFO] [stdout] | [INFO] [stdout] 506 | 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:506:22 [INFO] [stdout] | [INFO] [stdout] 506 | 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:509:9 [INFO] [stdout] | [INFO] [stdout] 509 | 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:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | / context [INFO] [stdout] 512 | | .get_or_create_stream("events") [INFO] [stdout] 513 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | / context [INFO] [stdout] 523 | | .get_or_create_stream(&stream::Config { [INFO] [stdout] 524 | | name: "events2".into(), [INFO] [stdout] 525 | | ..Default::default() [INFO] [stdout] 526 | | }) [INFO] [stdout] 527 | | .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:538:22 [INFO] [stdout] | [INFO] [stdout] 538 | 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:539:22 [INFO] [stdout] | [INFO] [stdout] 539 | 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:539:22 [INFO] [stdout] | [INFO] [stdout] 539 | 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:542:9 [INFO] [stdout] | [INFO] [stdout] 542 | 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:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | 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:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | 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:549:22 [INFO] [stdout] | [INFO] [stdout] 549 | 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:549:22 [INFO] [stdout] | [INFO] [stdout] 549 | 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:552:23 [INFO] [stdout] | [INFO] [stdout] 552 | 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:553:20 [INFO] [stdout] | [INFO] [stdout] 553 | let info = context [INFO] [stdout] | ____________________^ [INFO] [stdout] 554 | | .update_stream(stream::Config { [INFO] [stdout] 555 | | name: "events".into(), [INFO] [stdout] 556 | | max_messages: 1000, [INFO] [stdout] ... | [INFO] [stdout] 559 | | }) [INFO] [stdout] 560 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | 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:569:22 [INFO] [stdout] | [INFO] [stdout] 569 | 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:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | 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:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | 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:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | 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:575:27 [INFO] [stdout] | [INFO] [stdout] 575 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 576 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 577 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:575:27 [INFO] [stdout] | [INFO] [stdout] 575 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 576 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 577 | | .await [INFO] [stdout] 578 | | .unwrap() [INFO] [stdout] 579 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:582:27 [INFO] [stdout] | [INFO] [stdout] 582 | 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:588:22 [INFO] [stdout] | [INFO] [stdout] 588 | 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:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | 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:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | 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:592:22 [INFO] [stdout] | [INFO] [stdout] 592 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 593 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 594 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 595 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 599 | | }) [INFO] [stdout] 600 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:604:27 [INFO] [stdout] | [INFO] [stdout] 604 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 605 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 606 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:604:27 [INFO] [stdout] | [INFO] [stdout] 604 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 605 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 606 | | .await [INFO] [stdout] 607 | | .unwrap() [INFO] [stdout] 608 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | / context [INFO] [stdout] 612 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 613 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | / context [INFO] [stdout] 612 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 613 | | .await [INFO] [stdout] 614 | | .unwrap() [INFO] [stdout] 615 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:618:27 [INFO] [stdout] | [INFO] [stdout] 618 | let raw_message = stream [INFO] [stdout] | ___________________________^ [INFO] [stdout] 619 | | .get_last_raw_message_by_subject("events") [INFO] [stdout] 620 | | .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:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | 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:629:22 [INFO] [stdout] | [INFO] [stdout] 629 | 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:629:22 [INFO] [stdout] | [INFO] [stdout] 629 | 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:632:22 [INFO] [stdout] | [INFO] [stdout] 632 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 633 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 634 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 635 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 640 | | }) [INFO] [stdout] 641 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / context [INFO] [stdout] 646 | | .publish("events", "not this".into()) [INFO] [stdout] 647 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / context [INFO] [stdout] 646 | | .publish("events", "not this".into()) [INFO] [stdout] 647 | | .await [INFO] [stdout] 648 | | .unwrap() [INFO] [stdout] 649 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 652 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 653 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:651:27 [INFO] [stdout] | [INFO] [stdout] 651 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 652 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 653 | | .await [INFO] [stdout] 654 | | .unwrap() [INFO] [stdout] 655 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | / context [INFO] [stdout] 659 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 660 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | / context [INFO] [stdout] 659 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 660 | | .await [INFO] [stdout] 661 | | .unwrap() [INFO] [stdout] 662 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:665:23 [INFO] [stdout] | [INFO] [stdout] 665 | 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:672:9 [INFO] [stdout] | [INFO] [stdout] 672 | / stream [INFO] [stdout] 673 | | .direct_get_last_for_subject("wrong") [INFO] [stdout] 674 | | .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:679:22 [INFO] [stdout] | [INFO] [stdout] 679 | 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:680:22 [INFO] [stdout] | [INFO] [stdout] 680 | 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:680:22 [INFO] [stdout] | [INFO] [stdout] 680 | 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:683:22 [INFO] [stdout] | [INFO] [stdout] 683 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 684 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 685 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 686 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 691 | | }) [INFO] [stdout] 692 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:696:27 [INFO] [stdout] | [INFO] [stdout] 696 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 697 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 698 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:696:27 [INFO] [stdout] | [INFO] [stdout] 696 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 697 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 698 | | .await [INFO] [stdout] 699 | | .unwrap() [INFO] [stdout] 700 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | / context [INFO] [stdout] 703 | | .publish("events", "not this".into()) [INFO] [stdout] 704 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:702:9 [INFO] [stdout] | [INFO] [stdout] 702 | / context [INFO] [stdout] 703 | | .publish("events", "not this".into()) [INFO] [stdout] 704 | | .await [INFO] [stdout] 705 | | .unwrap() [INFO] [stdout] 706 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:709:9 [INFO] [stdout] | [INFO] [stdout] 709 | / context [INFO] [stdout] 710 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 711 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:714:23 [INFO] [stdout] | [INFO] [stdout] 714 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 715 | | .direct_get_next_for_subject("events", None) [INFO] [stdout] 716 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:730:9 [INFO] [stdout] | [INFO] [stdout] 730 | / stream [INFO] [stdout] 731 | | .direct_get_next_for_subject("wrong", None) [INFO] [stdout] 732 | | .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:738:22 [INFO] [stdout] | [INFO] [stdout] 738 | 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:739:22 [INFO] [stdout] | [INFO] [stdout] 739 | 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:739:22 [INFO] [stdout] | [INFO] [stdout] 739 | 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:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 743 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 744 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 745 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 750 | | }) [INFO] [stdout] 751 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | / context [INFO] [stdout] 756 | | .publish("events", "not this".into()) [INFO] [stdout] 757 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:755:9 [INFO] [stdout] | [INFO] [stdout] 755 | / context [INFO] [stdout] 756 | | .publish("events", "not this".into()) [INFO] [stdout] 757 | | .await [INFO] [stdout] 758 | | .unwrap() [INFO] [stdout] 759 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | / context [INFO] [stdout] 762 | | .publish("events", "not this".into()) [INFO] [stdout] 763 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:761:9 [INFO] [stdout] | [INFO] [stdout] 761 | / context [INFO] [stdout] 762 | | .publish("events", "not this".into()) [INFO] [stdout] 763 | | .await [INFO] [stdout] 764 | | .unwrap() [INFO] [stdout] 765 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:767:27 [INFO] [stdout] | [INFO] [stdout] 767 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 768 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 769 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:767:27 [INFO] [stdout] | [INFO] [stdout] 767 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 768 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 769 | | .await [INFO] [stdout] 770 | | .unwrap() [INFO] [stdout] 771 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | / context [INFO] [stdout] 774 | | .publish("events", "not this".into()) [INFO] [stdout] 775 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | / context [INFO] [stdout] 774 | | .publish("events", "not this".into()) [INFO] [stdout] 775 | | .await [INFO] [stdout] 776 | | .unwrap() [INFO] [stdout] 777 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | / context [INFO] [stdout] 781 | | .publish("events", "not this".into()) [INFO] [stdout] 782 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | / context [INFO] [stdout] 781 | | .publish("events", "not this".into()) [INFO] [stdout] 782 | | .await [INFO] [stdout] 783 | | .unwrap() [INFO] [stdout] 784 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | let message = stream [INFO] [stdout] | _______________________^ [INFO] [stdout] 788 | | .direct_get_next_for_subject("events", Some(3)) [INFO] [stdout] 789 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | / stream [INFO] [stdout] 804 | | .direct_get_next_for_subject("events", Some(14)) [INFO] [stdout] 805 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:807:9 [INFO] [stdout] | [INFO] [stdout] 807 | / stream [INFO] [stdout] 808 | | .direct_get_next_for_subject("entries", Some(1)) [INFO] [stdout] 809 | | .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:815:22 [INFO] [stdout] | [INFO] [stdout] 815 | 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:816:22 [INFO] [stdout] | [INFO] [stdout] 816 | 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:816:22 [INFO] [stdout] | [INFO] [stdout] 816 | 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:819:22 [INFO] [stdout] | [INFO] [stdout] 819 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 820 | | .get_or_create_stream(stream::Config { [INFO] [stdout] 821 | | subjects: vec!["events".into(), "entries".into()], [INFO] [stdout] 822 | | name: "events".into(), [INFO] [stdout] ... | [INFO] [stdout] 827 | | }) [INFO] [stdout] 828 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | / context [INFO] [stdout] 833 | | .publish("events", "not this".into()) [INFO] [stdout] 834 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | / context [INFO] [stdout] 833 | | .publish("events", "not this".into()) [INFO] [stdout] 834 | | .await [INFO] [stdout] 835 | | .unwrap() [INFO] [stdout] 836 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 841 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 842 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:840:27 [INFO] [stdout] | [INFO] [stdout] 840 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 841 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 842 | | .await [INFO] [stdout] 843 | | .unwrap() [INFO] [stdout] 844 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | / context [INFO] [stdout] 850 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 851 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | / context [INFO] [stdout] 850 | | .publish("entries", payload.as_ref().into()) [INFO] [stdout] 851 | | .await [INFO] [stdout] 852 | | .unwrap() [INFO] [stdout] 853 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:858:23 [INFO] [stdout] | [INFO] [stdout] 858 | 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:865:9 [INFO] [stdout] | [INFO] [stdout] 865 | 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:870:22 [INFO] [stdout] | [INFO] [stdout] 870 | 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:871:22 [INFO] [stdout] | [INFO] [stdout] 871 | 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:871:22 [INFO] [stdout] | [INFO] [stdout] 871 | 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:874:22 [INFO] [stdout] | [INFO] [stdout] 874 | let stream = context.get_stream_no_info("NO_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:877:13 [INFO] [stdout] | [INFO] [stdout] 877 | stream.direct_get(1).await.unwrap_err().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:887:22 [INFO] [stdout] | [INFO] [stdout] 887 | 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:888:22 [INFO] [stdout] | [INFO] [stdout] 888 | 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:888:22 [INFO] [stdout] | [INFO] [stdout] 888 | 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:891:22 [INFO] [stdout] | [INFO] [stdout] 891 | 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: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:897:27 [INFO] [stdout] | [INFO] [stdout] 897 | let publish_ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 898 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 899 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | / context [INFO] [stdout] 902 | | .publish("events", payload.as_ref().into()) [INFO] [stdout] 903 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:906:24 [INFO] [stdout] | [INFO] [stdout] 906 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 907 | | .get_or_create_consumer( [INFO] [stdout] 908 | | "consumer", [INFO] [stdout] 909 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 913 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:916:28 [INFO] [stdout] | [INFO] [stdout] 916 | 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:918:29 [INFO] [stdout] | [INFO] [stdout] 918 | .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:917:9 [INFO] [stdout] | [INFO] [stdout] 917 | / stream [INFO] [stdout] 918 | | .delete_message(publish_ack.await.unwrap().sequence) [INFO] [stdout] 919 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:923:13 [INFO] [stdout] | [INFO] [stdout] 923 | / messages [INFO] [stdout] 924 | | .next() [INFO] [stdout] 925 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:934:13 [INFO] [stdout] | [INFO] [stdout] 934 | / messages [INFO] [stdout] 935 | | .next() [INFO] [stdout] 936 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:945:20 [INFO] [stdout] | [INFO] [stdout] 945 | let info = stream [INFO] [stdout] | ____________________^ [INFO] [stdout] 946 | | .info_builder() [INFO] [stdout] 947 | | .with_deleted(true) [INFO] [stdout] 948 | | .fetch() [INFO] [stdout] 949 | | .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:956:22 [INFO] [stdout] | [INFO] [stdout] 956 | 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:957:22 [INFO] [stdout] | [INFO] [stdout] 957 | 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:957:22 [INFO] [stdout] | [INFO] [stdout] 957 | 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:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | / context [INFO] [stdout] 962 | | .get_or_create_stream("events") [INFO] [stdout] 963 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | / context [INFO] [stdout] 962 | | .get_or_create_stream("events") [INFO] [stdout] 963 | | .await [INFO] [stdout] 964 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 969 | | }) [INFO] [stdout] 970 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | / context [INFO] [stdout] 974 | | .get_or_create_stream("events") [INFO] [stdout] 975 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | / context [INFO] [stdout] 974 | | .get_or_create_stream("events") [INFO] [stdout] 975 | | .await [INFO] [stdout] 976 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 982 | | }) [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:986:9 [INFO] [stdout] | [INFO] [stdout] 986 | / context [INFO] [stdout] 987 | | .get_or_create_stream("events") [INFO] [stdout] 988 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:986:9 [INFO] [stdout] | [INFO] [stdout] 986 | / context [INFO] [stdout] 987 | | .get_or_create_stream("events") [INFO] [stdout] 988 | | .await [INFO] [stdout] 989 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 993 | | }) [INFO] [stdout] 994 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:997:24 [INFO] [stdout] | [INFO] [stdout] 997 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 998 | | .get_or_create_stream("events") [INFO] [stdout] 999 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:997:24 [INFO] [stdout] | [INFO] [stdout] 997 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 998 | | .get_or_create_stream("events") [INFO] [stdout] 999 | | .await [INFO] [stdout] 1000 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 1004 | | }) [INFO] [stdout] 1005 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | / context [INFO] [stdout] 1011 | | .get_or_create_stream("events") [INFO] [stdout] 1012 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1010:9 [INFO] [stdout] | [INFO] [stdout] 1010 | / context [INFO] [stdout] 1011 | | .get_or_create_stream("events") [INFO] [stdout] 1012 | | .await [INFO] [stdout] 1013 | | .unwrap() [INFO] [stdout] ... | [INFO] [stdout] 1018 | | }) [INFO] [stdout] 1019 | | .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:1024:22 [INFO] [stdout] | [INFO] [stdout] 1024 | 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:1025:22 [INFO] [stdout] | [INFO] [stdout] 1025 | 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:1025:22 [INFO] [stdout] | [INFO] [stdout] 1025 | 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:1028:22 [INFO] [stdout] | [INFO] [stdout] 1028 | 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:1029:9 [INFO] [stdout] | [INFO] [stdout] 1029 | / stream [INFO] [stdout] 1030 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1031 | | durable_name: Some("consumer".into()), [INFO] [stdout] 1032 | | ..Default::default() [INFO] [stdout] 1033 | | }) [INFO] [stdout] 1034 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1036:9 [INFO] [stdout] | [INFO] [stdout] 1036 | 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:1037:17 [INFO] [stdout] | [INFO] [stdout] 1037 | assert!(stream [INFO] [stdout] | _________________^ [INFO] [stdout] 1038 | | .get_consumer::("consumer") [INFO] [stdout] 1039 | | .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:1045:22 [INFO] [stdout] | [INFO] [stdout] 1045 | 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:1046:22 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1046:22 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | 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:1050:9 [INFO] [stdout] | [INFO] [stdout] 1050 | / stream [INFO] [stdout] 1051 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1052 | | durable_name: Some("pull".into()), [INFO] [stdout] 1053 | | ..Default::default() [INFO] [stdout] 1054 | | }) [INFO] [stdout] 1055 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1058 | / stream [INFO] [stdout] 1059 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1060 | | deliver_subject: "subject".into(), [INFO] [stdout] 1061 | | durable_name: Some("push".into()), [INFO] [stdout] 1062 | | ..Default::default() [INFO] [stdout] 1063 | | }) [INFO] [stdout] 1064 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1067:39 [INFO] [stdout] | [INFO] [stdout] 1067 | 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:1068:39 [INFO] [stdout] | [INFO] [stdout] 1068 | 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:1070:24 [INFO] [stdout] | [INFO] [stdout] 1070 | 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:1071:9 [INFO] [stdout] | [INFO] [stdout] 1071 | 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:1076:22 [INFO] [stdout] | [INFO] [stdout] 1076 | 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:1077:22 [INFO] [stdout] | [INFO] [stdout] 1077 | 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:1077:22 [INFO] [stdout] | [INFO] [stdout] 1077 | 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:1080:22 [INFO] [stdout] | [INFO] [stdout] 1080 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 1081 | | .create_stream(jetstream::stream::Config { [INFO] [stdout] 1082 | | name: "events".into(), [INFO] [stdout] 1083 | | subjects: vec!["events".into()], [INFO] [stdout] 1084 | | ..Default::default() [INFO] [stdout] 1085 | | }) [INFO] [stdout] 1086 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1090:13 [INFO] [stdout] | [INFO] [stdout] 1090 | 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:1093:24 [INFO] [stdout] | [INFO] [stdout] 1093 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1094 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1095 | | durable_name: Some("pull".into()), [INFO] [stdout] 1096 | | ..Default::default() [INFO] [stdout] 1097 | | }) [INFO] [stdout] 1098 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1101:24 [INFO] [stdout] | [INFO] [stdout] 1101 | let messages = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1102 | | .fetch() [INFO] [stdout] 1103 | | .max_messages(15) [INFO] [stdout] 1104 | | .messages() [INFO] [stdout] 1105 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1111:24 [INFO] [stdout] | [INFO] [stdout] 1111 | let messages = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1112 | | .fetch() [INFO] [stdout] 1113 | | .max_messages(15) [INFO] [stdout] 1114 | | .messages() [INFO] [stdout] 1115 | | .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:1124:22 [INFO] [stdout] | [INFO] [stdout] 1124 | 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:1125:22 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1125:22 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1128:22 [INFO] [stdout] | [INFO] [stdout] 1128 | 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:1129:9 [INFO] [stdout] | [INFO] [stdout] 1129 | / stream [INFO] [stdout] 1130 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1131 | | durable_name: Some("pull".into()), [INFO] [stdout] 1132 | | ..Default::default() [INFO] [stdout] 1133 | | }) [INFO] [stdout] 1134 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1136:9 [INFO] [stdout] | [INFO] [stdout] 1136 | / stream [INFO] [stdout] 1137 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1138 | | durable_name: Some("push".into()), [INFO] [stdout] 1139 | | deliver_subject: "subject".into(), [INFO] [stdout] 1140 | | ..Default::default() [INFO] [stdout] 1141 | | }) [INFO] [stdout] 1142 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1145:39 [INFO] [stdout] | [INFO] [stdout] 1145 | let _consumer: PullConsumer = context [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1146 | | .get_consumer_from_stream("pull", "stream") [INFO] [stdout] 1147 | | .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:1153:22 [INFO] [stdout] | [INFO] [stdout] 1153 | 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:1154:22 [INFO] [stdout] | [INFO] [stdout] 1154 | 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:1154:22 [INFO] [stdout] | [INFO] [stdout] 1154 | 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:1157:22 [INFO] [stdout] | [INFO] [stdout] 1157 | 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:1158:9 [INFO] [stdout] | [INFO] [stdout] 1158 | / stream [INFO] [stdout] 1159 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1160 | | durable_name: Some("pull".into()), [INFO] [stdout] 1161 | | ..Default::default() [INFO] [stdout] 1162 | | }) [INFO] [stdout] 1163 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1165:9 [INFO] [stdout] | [INFO] [stdout] 1165 | / stream [INFO] [stdout] 1166 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1167 | | durable_name: Some("push".into()), [INFO] [stdout] 1168 | | deliver_subject: "subject".into(), [INFO] [stdout] 1169 | | ..Default::default() [INFO] [stdout] 1170 | | }) [INFO] [stdout] 1171 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1174:25 [INFO] [stdout] | [INFO] [stdout] 1174 | let _consumer = context [INFO] [stdout] | _________________________^ [INFO] [stdout] 1175 | | .delete_consumer_from_stream("pull", "stream") [INFO] [stdout] 1176 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1178:17 [INFO] [stdout] | [INFO] [stdout] 1178 | assert!(stream [INFO] [stdout] | _________________^ [INFO] [stdout] 1179 | | .get_consumer::("pull") [INFO] [stdout] 1180 | | .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:1186:22 [INFO] [stdout] | [INFO] [stdout] 1186 | 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:1187:22 [INFO] [stdout] | [INFO] [stdout] 1187 | 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:1187:22 [INFO] [stdout] | [INFO] [stdout] 1187 | 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:1190:22 [INFO] [stdout] | [INFO] [stdout] 1190 | 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:1191:9 [INFO] [stdout] | [INFO] [stdout] 1191 | / stream [INFO] [stdout] 1192 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1193 | | durable_name: Some("pull".into()), [INFO] [stdout] 1194 | | ..Default::default() [INFO] [stdout] 1195 | | }) [INFO] [stdout] 1196 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1198:24 [INFO] [stdout] | [INFO] [stdout] 1198 | let consumer = context [INFO] [stdout] | ________________________^ [INFO] [stdout] 1199 | | .create_consumer_on_stream( [INFO] [stdout] 1200 | | consumer::push::Config { [INFO] [stdout] 1201 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1207 | | .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:1214:22 [INFO] [stdout] | [INFO] [stdout] 1214 | 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:1215:22 [INFO] [stdout] | [INFO] [stdout] 1215 | 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:1215:22 [INFO] [stdout] | [INFO] [stdout] 1215 | 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:1218:22 [INFO] [stdout] | [INFO] [stdout] 1218 | 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:1221:39 [INFO] [stdout] | [INFO] [stdout] 1221 | let _consumer: PullConsumer = stream [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 1222 | | .get_or_create_consumer::( [INFO] [stdout] 1223 | | "consumer", [INFO] [stdout] 1224 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1229 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1233:9 [INFO] [stdout] | [INFO] [stdout] 1233 | / stream [INFO] [stdout] 1234 | | .get_consumer::("consumer") [INFO] [stdout] 1235 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1239:9 [INFO] [stdout] | [INFO] [stdout] 1239 | / stream [INFO] [stdout] 1240 | | .get_or_create_consumer::( [INFO] [stdout] 1241 | | "consumer", [INFO] [stdout] 1242 | | consumer::pull::Config { [INFO] [stdout] ... | [INFO] [stdout] 1247 | | .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:1290:22 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1291:22 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1291:22 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | / context [INFO] [stdout] 1294 | | .create_stream(stream::Config { [INFO] [stdout] 1295 | | name: "events".into(), [INFO] [stdout] 1296 | | subjects: vec!["events".into()], [INFO] [stdout] 1297 | | ..Default::default() [INFO] [stdout] 1298 | | }) [INFO] [stdout] 1299 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1302:22 [INFO] [stdout] | [INFO] [stdout] 1302 | 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:1303:9 [INFO] [stdout] | [INFO] [stdout] 1303 | / stream [INFO] [stdout] 1304 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1305 | | durable_name: Some("push".into()), [INFO] [stdout] 1306 | | ..Default::default() [INFO] [stdout] 1307 | | }) [INFO] [stdout] 1308 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1311:38 [INFO] [stdout] | [INFO] [stdout] 1311 | 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:1314:13 [INFO] [stdout] | [INFO] [stdout] 1314 | 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:1317:28 [INFO] [stdout] | [INFO] [stdout] 1317 | let mut messages = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1318 | | .stream() [INFO] [stdout] 1319 | | .max_messages_per_batch(1) [INFO] [stdout] 1320 | | .messages() [INFO] [stdout] 1321 | | .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:1333:22 [INFO] [stdout] | [INFO] [stdout] 1333 | 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:1334:22 [INFO] [stdout] | [INFO] [stdout] 1334 | 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:1334:22 [INFO] [stdout] | [INFO] [stdout] 1334 | 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:1337:9 [INFO] [stdout] | [INFO] [stdout] 1337 | / context [INFO] [stdout] 1338 | | .create_stream(stream::Config { [INFO] [stdout] 1339 | | name: "events".into(), [INFO] [stdout] 1340 | | subjects: vec!["events".into()], [INFO] [stdout] 1341 | | ..Default::default() [INFO] [stdout] 1342 | | }) [INFO] [stdout] 1343 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1346:22 [INFO] [stdout] | [INFO] [stdout] 1346 | 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:1347:9 [INFO] [stdout] | [INFO] [stdout] 1347 | / stream [INFO] [stdout] 1348 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1349 | | deliver_subject: "push".into(), [INFO] [stdout] 1350 | | durable_name: Some("push".into()), [INFO] [stdout] 1351 | | ..Default::default() [INFO] [stdout] 1352 | | }) [INFO] [stdout] 1353 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1356:38 [INFO] [stdout] | [INFO] [stdout] 1356 | 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:1359:13 [INFO] [stdout] | [INFO] [stdout] 1359 | 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:1362:28 [INFO] [stdout] | [INFO] [stdout] 1362 | 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:1371:22 [INFO] [stdout] | [INFO] [stdout] 1371 | 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:1372:22 [INFO] [stdout] | [INFO] [stdout] 1372 | 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:1372:22 [INFO] [stdout] | [INFO] [stdout] 1372 | 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:1375:9 [INFO] [stdout] | [INFO] [stdout] 1375 | / context [INFO] [stdout] 1376 | | .create_stream(stream::Config { [INFO] [stdout] 1377 | | name: "events".into(), [INFO] [stdout] 1378 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1381 | | }) [INFO] [stdout] 1382 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1385:22 [INFO] [stdout] | [INFO] [stdout] 1385 | 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:1386:45 [INFO] [stdout] | [INFO] [stdout] 1386 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1387 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1388 | | deliver_subject: "push".into(), [INFO] [stdout] 1389 | | ..Default::default() [INFO] [stdout] 1390 | | }) [INFO] [stdout] 1391 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1401:21 [INFO] [stdout] | [INFO] [stdout] 1401 | 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:1406:28 [INFO] [stdout] | [INFO] [stdout] 1406 | 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:1408:27 [INFO] [stdout] | [INFO] [stdout] 1408 | let message = message.unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jetstream_tests.rs:1416:22 [INFO] [stdout] | [INFO] [stdout] 1416 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:1417:22 [INFO] [stdout] | [INFO] [stdout] 1417 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1417:22 [INFO] [stdout] | [INFO] [stdout] 1417 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1420 | / context [INFO] [stdout] 1421 | | .create_stream(stream::Config { [INFO] [stdout] 1422 | | name: "events".to_string(), [INFO] [stdout] 1423 | | subjects: vec!["events".to_string()], [INFO] [stdout] ... | [INFO] [stdout] 1426 | | }) [INFO] [stdout] 1427 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1430:22 [INFO] [stdout] | [INFO] [stdout] 1430 | 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:1431:45 [INFO] [stdout] | [INFO] [stdout] 1431 | let consumer: OrderedPullConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1432 | | .create_consumer(consumer::pull::OrderedConfig { [INFO] [stdout] 1433 | | name: Some("pull_ordered".to_string()), [INFO] [stdout] 1434 | | ..Default::default() [INFO] [stdout] 1435 | | }) [INFO] [stdout] 1436 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1446:21 [INFO] [stdout] | [INFO] [stdout] 1446 | 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:1451:28 [INFO] [stdout] | [INFO] [stdout] 1451 | 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:1453:27 [INFO] [stdout] | [INFO] [stdout] 1453 | 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:1462:13 [INFO] [stdout] | [INFO] [stdout] 1462 | 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:1463:22 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1463:22 [INFO] [stdout] | [INFO] [stdout] 1463 | 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:1466:9 [INFO] [stdout] | [INFO] [stdout] 1466 | / context [INFO] [stdout] 1467 | | .create_stream(stream::Config { [INFO] [stdout] 1468 | | name: "events".into(), [INFO] [stdout] 1469 | | subjects: vec!["events.>".into()], [INFO] [stdout] ... | [INFO] [stdout] 1472 | | }) [INFO] [stdout] 1473 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | 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:1477:45 [INFO] [stdout] | [INFO] [stdout] 1477 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1478 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1479 | | deliver_subject: "push".into(), [INFO] [stdout] 1480 | | ..Default::default() [INFO] [stdout] 1481 | | }) [INFO] [stdout] 1482 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1500:21 [INFO] [stdout] | [INFO] [stdout] 1500 | / context [INFO] [stdout] 1501 | | .publish(format!("events.{i}"), i.to_string().into()) [INFO] [stdout] 1502 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1509:28 [INFO] [stdout] | [INFO] [stdout] 1509 | 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:1512:25 [INFO] [stdout] | [INFO] [stdout] 1512 | 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:1525:22 [INFO] [stdout] | [INFO] [stdout] 1525 | 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:1527:22 [INFO] [stdout] | [INFO] [stdout] 1527 | 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:1527:22 [INFO] [stdout] | [INFO] [stdout] 1527 | 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:1530:9 [INFO] [stdout] | [INFO] [stdout] 1530 | / context [INFO] [stdout] 1531 | | .create_stream(stream::Config { [INFO] [stdout] 1532 | | name: "events".into(), [INFO] [stdout] 1533 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1536 | | }) [INFO] [stdout] 1537 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1540:22 [INFO] [stdout] | [INFO] [stdout] 1540 | 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:1541:45 [INFO] [stdout] | [INFO] [stdout] 1541 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1542 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1543 | | deliver_subject: "push".into(), [INFO] [stdout] 1544 | | ..Default::default() [INFO] [stdout] 1545 | | }) [INFO] [stdout] 1546 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1550:13 [INFO] [stdout] | [INFO] [stdout] 1550 | / context [INFO] [stdout] 1551 | | .publish("events", "dat".into()) [INFO] [stdout] 1552 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1550:13 [INFO] [stdout] | [INFO] [stdout] 1550 | / context [INFO] [stdout] 1551 | | .publish("events", "dat".into()) [INFO] [stdout] 1552 | | .await [INFO] [stdout] 1553 | | .unwrap() [INFO] [stdout] 1554 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1560:28 [INFO] [stdout] | [INFO] [stdout] 1560 | 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:1562:27 [INFO] [stdout] | [INFO] [stdout] 1562 | 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:1570:22 [INFO] [stdout] | [INFO] [stdout] 1570 | 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:1571:22 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1571:22 [INFO] [stdout] | [INFO] [stdout] 1571 | 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:1574:9 [INFO] [stdout] | [INFO] [stdout] 1574 | / context [INFO] [stdout] 1575 | | .create_stream(stream::Config { [INFO] [stdout] 1576 | | name: "events".into(), [INFO] [stdout] 1577 | | subjects: vec!["events".into()], [INFO] [stdout] ... | [INFO] [stdout] 1582 | | }) [INFO] [stdout] 1583 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1586:22 [INFO] [stdout] | [INFO] [stdout] 1586 | 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:1587:45 [INFO] [stdout] | [INFO] [stdout] 1587 | let consumer: OrderedPushConsumer = stream [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1588 | | .create_consumer(consumer::push::OrderedConfig { [INFO] [stdout] 1589 | | deliver_subject: "push".into(), [INFO] [stdout] 1590 | | ..Default::default() [INFO] [stdout] 1591 | | }) [INFO] [stdout] 1592 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1596:13 [INFO] [stdout] | [INFO] [stdout] 1596 | / context [INFO] [stdout] 1597 | | .publish("events", format!("{i}").into()) [INFO] [stdout] 1598 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1596:13 [INFO] [stdout] | [INFO] [stdout] 1596 | / context [INFO] [stdout] 1597 | | .publish("events", format!("{i}").into()) [INFO] [stdout] 1598 | | .await [INFO] [stdout] 1599 | | .unwrap() [INFO] [stdout] 1600 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | 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:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | 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:1610:28 [INFO] [stdout] | [INFO] [stdout] 1610 | 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:1618:27 [INFO] [stdout] | [INFO] [stdout] 1618 | 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:1627:22 [INFO] [stdout] | [INFO] [stdout] 1627 | 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:1628:22 [INFO] [stdout] | [INFO] [stdout] 1628 | 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:1628:22 [INFO] [stdout] | [INFO] [stdout] 1628 | 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:1631:9 [INFO] [stdout] | [INFO] [stdout] 1631 | / context [INFO] [stdout] 1632 | | .create_stream(stream::Config { [INFO] [stdout] 1633 | | name: "events".into(), [INFO] [stdout] 1634 | | subjects: vec!["events".into()], [INFO] [stdout] 1635 | | ..Default::default() [INFO] [stdout] 1636 | | }) [INFO] [stdout] 1637 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1640:22 [INFO] [stdout] | [INFO] [stdout] 1640 | 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:1641:9 [INFO] [stdout] | [INFO] [stdout] 1641 | / stream [INFO] [stdout] 1642 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1643 | | deliver_subject: "push".into(), [INFO] [stdout] 1644 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1648 | | }) [INFO] [stdout] 1649 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1652:38 [INFO] [stdout] | [INFO] [stdout] 1652 | 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:1657:13 [INFO] [stdout] | [INFO] [stdout] 1657 | 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:1660:28 [INFO] [stdout] | [INFO] [stdout] 1660 | 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:1669:22 [INFO] [stdout] | [INFO] [stdout] 1669 | 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:1670:22 [INFO] [stdout] | [INFO] [stdout] 1670 | 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:1670:22 [INFO] [stdout] | [INFO] [stdout] 1670 | 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:1673:9 [INFO] [stdout] | [INFO] [stdout] 1673 | / context [INFO] [stdout] 1674 | | .create_stream(stream::Config { [INFO] [stdout] 1675 | | name: "events".into(), [INFO] [stdout] 1676 | | subjects: vec!["events".into()], [INFO] [stdout] 1677 | | ..Default::default() [INFO] [stdout] 1678 | | }) [INFO] [stdout] 1679 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1682:22 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1683:9 [INFO] [stdout] | [INFO] [stdout] 1683 | / stream [INFO] [stdout] 1684 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1685 | | deliver_subject: "push".into(), [INFO] [stdout] 1686 | | durable_name: Some("push".into()), [INFO] [stdout] ... | [INFO] [stdout] 1689 | | }) [INFO] [stdout] 1690 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1693:38 [INFO] [stdout] | [INFO] [stdout] 1693 | 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:1694:28 [INFO] [stdout] | [INFO] [stdout] 1694 | 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:1699:13 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1709:24 [INFO] [stdout] | [INFO] [stdout] 1709 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1710 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1711 | | deliver_subject: "delivery".to_string(), [INFO] [stdout] 1712 | | durable_name: Some("delete_me".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1715 | | }) [INFO] [stdout] 1716 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1719:9 [INFO] [stdout] | [INFO] [stdout] 1719 | 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:1721:28 [INFO] [stdout] | [INFO] [stdout] 1721 | 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:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | 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:1726:9 [INFO] [stdout] | [INFO] [stdout] 1726 | / stream [INFO] [stdout] 1727 | | .create_consumer(consumer::push::Config { [INFO] [stdout] 1728 | | deliver_subject: "delivery".to_string(), [INFO] [stdout] 1729 | | durable_name: Some("delete_me".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 1732 | | }) [INFO] [stdout] 1733 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1736:9 [INFO] [stdout] | [INFO] [stdout] 1736 | 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:1741:22 [INFO] [stdout] | [INFO] [stdout] 1741 | 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:1742:22 [INFO] [stdout] | [INFO] [stdout] 1742 | 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:1742:22 [INFO] [stdout] | [INFO] [stdout] 1742 | 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:1745:9 [INFO] [stdout] | [INFO] [stdout] 1745 | / context [INFO] [stdout] 1746 | | .create_stream(stream::Config { [INFO] [stdout] 1747 | | name: "events".into(), [INFO] [stdout] 1748 | | subjects: vec!["events".into()], [INFO] [stdout] 1749 | | ..Default::default() [INFO] [stdout] 1750 | | }) [INFO] [stdout] 1751 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1754:22 [INFO] [stdout] | [INFO] [stdout] 1754 | 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:1755:9 [INFO] [stdout] | [INFO] [stdout] 1755 | / stream [INFO] [stdout] 1756 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1757 | | durable_name: Some("pull".into()), [INFO] [stdout] 1758 | | ..Default::default() [INFO] [stdout] 1759 | | }) [INFO] [stdout] 1760 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1762:42 [INFO] [stdout] | [INFO] [stdout] 1762 | 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:1766:17 [INFO] [stdout] | [INFO] [stdout] 1766 | / context [INFO] [stdout] 1767 | | .publish("events", format!("i: {i}").into()) [INFO] [stdout] 1768 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1773:24 [INFO] [stdout] | [INFO] [stdout] 1773 | 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:1775:13 [INFO] [stdout] | [INFO] [stdout] 1775 | 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:1775:13 [INFO] [stdout] | [INFO] [stdout] 1775 | 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:1778:20 [INFO] [stdout] | [INFO] [stdout] 1778 | 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:1787:22 [INFO] [stdout] | [INFO] [stdout] 1787 | 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:1788:22 [INFO] [stdout] | [INFO] [stdout] 1788 | 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:1788:22 [INFO] [stdout] | [INFO] [stdout] 1788 | 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:1791:9 [INFO] [stdout] | [INFO] [stdout] 1791 | / context [INFO] [stdout] 1792 | | .create_stream(stream::Config { [INFO] [stdout] 1793 | | name: "events".into(), [INFO] [stdout] 1794 | | subjects: vec!["events".into()], [INFO] [stdout] 1795 | | ..Default::default() [INFO] [stdout] 1796 | | }) [INFO] [stdout] 1797 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1800:22 [INFO] [stdout] | [INFO] [stdout] 1800 | 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:1801:9 [INFO] [stdout] | [INFO] [stdout] 1801 | / stream [INFO] [stdout] 1802 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1803 | | durable_name: Some("pull".into()), [INFO] [stdout] 1804 | | ..Default::default() [INFO] [stdout] 1805 | | }) [INFO] [stdout] 1806 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1808:38 [INFO] [stdout] | [INFO] [stdout] 1808 | 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:1813:27 [INFO] [stdout] | [INFO] [stdout] 1813 | let ack = context [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1814 | | .publish("events", format!("timeout test message: {i}").into()) [INFO] [stdout] 1815 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1822:24 [INFO] [stdout] | [INFO] [stdout] 1822 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1823 | | .stream() [INFO] [stdout] 1824 | | .max_messages_per_batch(25) [INFO] [stdout] 1825 | | .expires(Duration::from_millis(100)) [INFO] [stdout] 1826 | | .messages() [INFO] [stdout] 1827 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1831:13 [INFO] [stdout] | [INFO] [stdout] 1831 | 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:1831:13 [INFO] [stdout] | [INFO] [stdout] 1831 | 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:1837:22 [INFO] [stdout] | [INFO] [stdout] 1837 | 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:1838:22 [INFO] [stdout] | [INFO] [stdout] 1838 | 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:1838:22 [INFO] [stdout] | [INFO] [stdout] 1838 | 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:1841:9 [INFO] [stdout] | [INFO] [stdout] 1841 | / context [INFO] [stdout] 1842 | | .create_stream(stream::Config { [INFO] [stdout] 1843 | | name: "events".into(), [INFO] [stdout] 1844 | | subjects: vec!["events".into()], [INFO] [stdout] 1845 | | ..Default::default() [INFO] [stdout] 1846 | | }) [INFO] [stdout] 1847 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1850:22 [INFO] [stdout] | [INFO] [stdout] 1850 | 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:1851:9 [INFO] [stdout] | [INFO] [stdout] 1851 | / stream [INFO] [stdout] 1852 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1853 | | durable_name: Some("pull".into()), [INFO] [stdout] 1854 | | ..Default::default() [INFO] [stdout] 1855 | | }) [INFO] [stdout] 1856 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1858:38 [INFO] [stdout] | [INFO] [stdout] 1858 | 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:1863:17 [INFO] [stdout] | [INFO] [stdout] 1863 | / context [INFO] [stdout] 1864 | | .publish("events", format!("heartbeat message: {i}").into()) [INFO] [stdout] 1865 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1870:24 [INFO] [stdout] | [INFO] [stdout] 1870 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1871 | | .stream() [INFO] [stdout] 1872 | | .max_messages_per_batch(10) [INFO] [stdout] 1873 | | .expires(Duration::from_millis(1000)) [INFO] [stdout] 1874 | | .heartbeat(Duration::from_millis(500)) [INFO] [stdout] 1875 | | .messages() [INFO] [stdout] 1876 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1880:13 [INFO] [stdout] | [INFO] [stdout] 1880 | 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:1880:13 [INFO] [stdout] | [INFO] [stdout] 1880 | 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:1887:22 [INFO] [stdout] | [INFO] [stdout] 1887 | 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:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | 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:1888:22 [INFO] [stdout] | [INFO] [stdout] 1888 | 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:1891:22 [INFO] [stdout] | [INFO] [stdout] 1891 | let stream = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 1892 | | .create_stream(stream::Config { [INFO] [stdout] 1893 | | name: "events".to_string(), [INFO] [stdout] 1894 | | subjects: vec!["events".to_string()], [INFO] [stdout] 1895 | | ..Default::default() [INFO] [stdout] 1896 | | }) [INFO] [stdout] 1897 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1900:9 [INFO] [stdout] | [INFO] [stdout] 1900 | / stream [INFO] [stdout] 1901 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1902 | | name: Some("CONSUMER".into()), [INFO] [stdout] 1903 | | filter_subjects: vec!["one".into(), "two".into()], [INFO] [stdout] 1904 | | ..Default::default() [INFO] [stdout] 1905 | | }) [INFO] [stdout] 1906 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1909:24 [INFO] [stdout] | [INFO] [stdout] 1909 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 1910 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1911 | | name: Some("CONSUMER".into()), [INFO] [stdout] 1912 | | filter_subjects: vec!["one".into(), "three".into()], [INFO] [stdout] 1913 | | ..Default::default() [INFO] [stdout] 1914 | | }) [INFO] [stdout] 1915 | | .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:1926:22 [INFO] [stdout] | [INFO] [stdout] 1926 | 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:1927:22 [INFO] [stdout] | [INFO] [stdout] 1927 | 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:1927:22 [INFO] [stdout] | [INFO] [stdout] 1927 | 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:1930:9 [INFO] [stdout] | [INFO] [stdout] 1930 | / context [INFO] [stdout] 1931 | | .create_stream(stream::Config { [INFO] [stdout] 1932 | | name: "events".into(), [INFO] [stdout] 1933 | | subjects: vec!["events".into()], [INFO] [stdout] 1934 | | ..Default::default() [INFO] [stdout] 1935 | | }) [INFO] [stdout] 1936 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1939:22 [INFO] [stdout] | [INFO] [stdout] 1939 | 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:1940:9 [INFO] [stdout] | [INFO] [stdout] 1940 | / stream [INFO] [stdout] 1941 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1942 | | durable_name: Some("pull".into()), [INFO] [stdout] 1943 | | ..Default::default() [INFO] [stdout] 1944 | | }) [INFO] [stdout] 1945 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1947:38 [INFO] [stdout] | [INFO] [stdout] 1947 | 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:1952:17 [INFO] [stdout] | [INFO] [stdout] 1952 | / context [INFO] [stdout] 1953 | | .publish("events", format!("heartbeat message: {i}").into()) [INFO] [stdout] 1954 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1959:24 [INFO] [stdout] | [INFO] [stdout] 1959 | let mut iter = consumer [INFO] [stdout] | ________________________^ [INFO] [stdout] 1960 | | .stream() [INFO] [stdout] 1961 | | .max_messages_per_batch(25) [INFO] [stdout] 1962 | | .heartbeat(Duration::from_millis(100)) [INFO] [stdout] 1963 | | .expires(Duration::default()) [INFO] [stdout] 1964 | | .messages() [INFO] [stdout] 1965 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1969:13 [INFO] [stdout] | [INFO] [stdout] 1969 | 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:1974:22 [INFO] [stdout] | [INFO] [stdout] 1974 | 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:1975:22 [INFO] [stdout] | [INFO] [stdout] 1975 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1976 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 1977 | | .connect(server.client_url()) [INFO] [stdout] 1978 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:1983:9 [INFO] [stdout] | [INFO] [stdout] 1983 | / context [INFO] [stdout] 1984 | | .create_stream(stream::Config { [INFO] [stdout] 1985 | | name: "events".into(), [INFO] [stdout] 1986 | | subjects: vec!["events".into()], [INFO] [stdout] 1987 | | ..Default::default() [INFO] [stdout] 1988 | | }) [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:1992:22 [INFO] [stdout] | [INFO] [stdout] 1992 | 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:1993:9 [INFO] [stdout] | [INFO] [stdout] 1993 | / stream [INFO] [stdout] 1994 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 1995 | | durable_name: Some("pull".into()), [INFO] [stdout] 1996 | | ..Default::default() [INFO] [stdout] 1997 | | }) [INFO] [stdout] 1998 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2000:38 [INFO] [stdout] | [INFO] [stdout] 2000 | 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:2003:13 [INFO] [stdout] | [INFO] [stdout] 2003 | / context [INFO] [stdout] 2004 | | .publish("events", "dat".into()) [INFO] [stdout] 2005 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2003:13 [INFO] [stdout] | [INFO] [stdout] 2003 | / context [INFO] [stdout] 2004 | | .publish("events", "dat".into()) [INFO] [stdout] 2005 | | .await [INFO] [stdout] 2006 | | .unwrap() [INFO] [stdout] 2007 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2011:24 [INFO] [stdout] | [INFO] [stdout] 2011 | 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:2015:27 [INFO] [stdout] | [INFO] [stdout] 2015 | 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:2016:13 [INFO] [stdout] | [INFO] [stdout] 2016 | 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:2024:22 [INFO] [stdout] | [INFO] [stdout] 2024 | 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:2025:22 [INFO] [stdout] | [INFO] [stdout] 2025 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2026 | | .connect(server.client_url()) [INFO] [stdout] 2027 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2032:9 [INFO] [stdout] | [INFO] [stdout] 2032 | / context [INFO] [stdout] 2033 | | .create_stream(stream::Config { [INFO] [stdout] 2034 | | name: "events".into(), [INFO] [stdout] 2035 | | subjects: vec!["events".into()], [INFO] [stdout] 2036 | | ..Default::default() [INFO] [stdout] 2037 | | }) [INFO] [stdout] 2038 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2041:22 [INFO] [stdout] | [INFO] [stdout] 2041 | 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:2042:24 [INFO] [stdout] | [INFO] [stdout] 2042 | let consumer = stream [INFO] [stdout] | ________________________^ [INFO] [stdout] 2043 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 2044 | | durable_name: Some("pull".into()), [INFO] [stdout] 2045 | | ack_policy: AckPolicy::Explicit, [INFO] [stdout] ... | [INFO] [stdout] 2048 | | }) [INFO] [stdout] 2049 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2056:17 [INFO] [stdout] | [INFO] [stdout] 2056 | / context [INFO] [stdout] 2057 | | .publish("events", i.to_string().into()) [INFO] [stdout] 2058 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2056:17 [INFO] [stdout] | [INFO] [stdout] 2056 | / context [INFO] [stdout] 2057 | | .publish("events", i.to_string().into()) [INFO] [stdout] 2058 | | .await [INFO] [stdout] 2059 | | .unwrap() [INFO] [stdout] 2060 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2068:28 [INFO] [stdout] | [INFO] [stdout] 2068 | let mut iter = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2069 | | .batch() [INFO] [stdout] 2070 | | .expires(Duration::from_millis(200)) [INFO] [stdout] 2071 | | .max_messages(200) [INFO] [stdout] 2072 | | .messages() [INFO] [stdout] 2073 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2083:25 [INFO] [stdout] | [INFO] [stdout] 2083 | 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:2083:25 [INFO] [stdout] | [INFO] [stdout] 2083 | 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:2088:29 [INFO] [stdout] | [INFO] [stdout] 2088 | ... 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:2098:22 [INFO] [stdout] | [INFO] [stdout] 2098 | 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:2099:22 [INFO] [stdout] | [INFO] [stdout] 2099 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2100 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 2101 | | .connect(server.client_url()) [INFO] [stdout] 2102 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2107:9 [INFO] [stdout] | [INFO] [stdout] 2107 | / context [INFO] [stdout] 2108 | | .create_stream(stream::Config { [INFO] [stdout] 2109 | | name: "events".into(), [INFO] [stdout] 2110 | | subjects: vec!["events".into()], [INFO] [stdout] 2111 | | ..Default::default() [INFO] [stdout] 2112 | | }) [INFO] [stdout] 2113 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2116:22 [INFO] [stdout] | [INFO] [stdout] 2116 | 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:2117:9 [INFO] [stdout] | [INFO] [stdout] 2117 | / stream [INFO] [stdout] 2118 | | .create_consumer(consumer::pull::Config { [INFO] [stdout] 2119 | | durable_name: Some("pull".into()), [INFO] [stdout] 2120 | | ..Default::default() [INFO] [stdout] 2121 | | }) [INFO] [stdout] 2122 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2124:38 [INFO] [stdout] | [INFO] [stdout] 2124 | 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:2126:9 [INFO] [stdout] | [INFO] [stdout] 2126 | 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:2128:28 [INFO] [stdout] | [INFO] [stdout] 2128 | let mut messages = consumer [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2129 | | .stream() [INFO] [stdout] 2130 | | .max_messages_per_batch(3) [INFO] [stdout] 2131 | | .messages() [INFO] [stdout] 2132 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2135:9 [INFO] [stdout] | [INFO] [stdout] 2135 | 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:2135:9 [INFO] [stdout] | [INFO] [stdout] 2135 | 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:2137:9 [INFO] [stdout] | [INFO] [stdout] 2137 | 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:2200:22 [INFO] [stdout] | [INFO] [stdout] 2200 | 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:2201:22 [INFO] [stdout] | [INFO] [stdout] 2201 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 2202 | | .event_callback(|err| async move { println!("error: {err:?}") }) [INFO] [stdout] 2203 | | .connect(server.client_url()) [INFO] [stdout] 2204 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jetstream_tests.rs:2209:9 [INFO] [stdout] | [INFO] [stdout] 2209 | / context [INFO] [stdout] 2210 | | .create_stream(stream::Config { [INFO] [stdout] 2211 | | name: "events".into(), [INFO] [stdout] 2212 | | subjects: vec!["events".into()], [INFO] [stdout] 2213 | | ..Default::default() [INFO] [stdout] 2214 | | }) [INFO] [stdout] 2215 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [WARN] too many lines in the log, truncating it