[INFO] fetching crate async-nats-flyradar 0.39.0-flyradar.1... [INFO] testing async-nats-flyradar-0.39.0-flyradar.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate async-nats-flyradar 0.39.0-flyradar.1 into /workspace/builds/worker-4-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-nats-flyradar 0.39.0-flyradar.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate async-nats-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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded windows-numerics v0.1.1 [INFO] [stderr] Downloaded windows-interface v0.59.0 [INFO] [stderr] Downloaded windows-link v0.1.0 [INFO] [stderr] Downloaded windows-implement v0.59.0 [INFO] [stderr] Downloaded windows-result v0.3.1 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded windows-core v0.60.1 [INFO] [stderr] Downloaded lazycell v1.3.0 [INFO] [stderr] Downloaded windows-collections v0.1.1 [INFO] [stderr] Downloaded tryhard v0.5.1 [INFO] [stderr] Downloaded tokio-rustls v0.26.2 [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded is-terminal v0.4.16 [INFO] [stderr] Downloaded clap v4.5.32 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded aws-lc-rs v1.12.5 [INFO] [stderr] Downloaded clap_builder v4.5.32 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded rustix v1.0.2 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded signatory v0.27.1 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded time v0.3.39 [INFO] [stderr] Downloaded h2 v0.3.26 [INFO] [stderr] Downloaded typenum v1.18.0 [INFO] [stderr] Downloaded tokio v1.44.0 [INFO] [stderr] Downloaded security-framework v2.11.1 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded curve25519-dalek v4.1.3 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded rustls-webpki v0.102.8 [INFO] [stderr] Downloaded webpki-roots v0.26.8 [INFO] [stderr] Downloaded tokio-websockets v0.10.1 [INFO] [stderr] Downloaded const-oid v0.9.6 [INFO] [stderr] Downloaded der v0.7.9 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded fiat-crypto v0.2.9 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded semver v1.0.26 [INFO] [stderr] Downloaded base64ct v1.7.1 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded pkcs8 v0.10.2 [INFO] [stderr] Downloaded nuid v0.5.0 [INFO] [stderr] Downloaded prettyplease v0.2.30 [INFO] [stderr] Downloaded iso8601 v0.6.2 [INFO] [stderr] Downloaded rustc_version v0.4.1 [INFO] [stderr] Downloaded cpufeatures v0.2.17 [INFO] [stderr] Downloaded native-tls v0.2.14 [INFO] [stderr] Downloaded rustls-native-certs v0.7.3 [INFO] [stderr] Downloaded time-macros v0.2.20 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded spki v0.7.3 [INFO] [stderr] Downloaded signature v2.2.0 [INFO] [stderr] Downloaded nkeys v0.4.4 [INFO] [stderr] Downloaded ring v0.17.13 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded openssl-macros v0.1.1 [INFO] [stderr] Downloaded tokio-native-tls v0.3.1 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded rustls-pemfile v2.2.0 [INFO] [stderr] Downloaded serde_nanos v0.1.4 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded time-core v0.1.3 [INFO] [stderr] Downloaded which v4.4.2 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded zeroize v1.8.1 [INFO] [stderr] Downloaded rustls-pki-types v1.11.0 [INFO] [stderr] Downloaded once_cell v1.21.0 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded tempfile v3.18.0 [INFO] [stderr] Downloaded openssl-probe v0.1.6 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded windows-future v0.1.1 [INFO] [stderr] Downloaded encoding_rs v0.8.35 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] [stderr] Downloaded windows v0.60.0 [INFO] [stderr] Downloaded aws-lc-fips-sys v0.13.3 [INFO] [stderr] Downloaded aws-lc-sys v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aa7daabe803e48e4ee6c4d6eb545258d5fdccc5c4a0ba26448367087d326e82 [INFO] running `Command { std: "docker" "start" "-a" "9aa7daabe803e48e4ee6c4d6eb545258d5fdccc5c4a0ba26448367087d326e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aa7daabe803e48e4ee6c4d6eb545258d5fdccc5c4a0ba26448367087d326e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa7daabe803e48e4ee6c4d6eb545258d5fdccc5c4a0ba26448367087d326e82", kill_on_drop: false }` [INFO] [stdout] 9aa7daabe803e48e4ee6c4d6eb545258d5fdccc5c4a0ba26448367087d326e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4afaa48dde434f31064e5fe1276c29fa77c45744dfeabfa3428f063b460177fe [INFO] running `Command { std: "docker" "start" "-a" "4afaa48dde434f31064e5fe1276c29fa77c45744dfeabfa3428f063b460177fe", 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 typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [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 shlex v1.3.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling windows-link v0.1.0 [INFO] [stderr] Compiling zeroize v1.8.1 [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 windows-result v0.3.1 [INFO] [stderr] Compiling windows-strings v0.3.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.21.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.13 [INFO] [stderr] Compiling spki v0.7.3 [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 pkcs8 v0.10.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling signatory v0.27.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [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-automata v0.4.9 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling windows-core v0.60.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling windows-collections v0.1.1 [INFO] [stderr] Compiling windows-future v0.1.1 [INFO] [stderr] Compiling windows-numerics v0.1.1 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling windows v0.60.0 [INFO] [stderr] Compiling nkeys v0.4.4 [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 icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio v1.44.0 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [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 57.52s [INFO] running `Command { std: "docker" "inspect" "4afaa48dde434f31064e5fe1276c29fa77c45744dfeabfa3428f063b460177fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afaa48dde434f31064e5fe1276c29fa77c45744dfeabfa3428f063b460177fe", kill_on_drop: false }` [INFO] [stdout] 4afaa48dde434f31064e5fe1276c29fa77c45744dfeabfa3428f063b460177fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fe27cd765286c36571328b040403ea745ff2914606218db350901ccf0f15002 [INFO] running `Command { std: "docker" "start" "-a" "5fe27cd765286c36571328b040403ea745ff2914606218db350901ccf0f15002", 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 tokio v1.44.0 [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 http v0.2.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [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 indexmap v2.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_builder v4.5.32 [INFO] [stderr] Compiling time-macros v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling nom v8.0.0 [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 zerocopy v0.7.35 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling nkeys v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.5.32 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling iso8601 v0.6.2 [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 criterion v0.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling async-nats-flyradar v0.39.0-flyradar.1 (/opt/rustwide/workdir) [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] --> tests/kv_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> examples/jetstream_pull.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use async_nats::jetstream::{self, consumer::PullConsumer}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use async_nats::connection::State; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use async_nats::header::HeaderValue; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> 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[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/client_tests.rs:839:13 [INFO] [stdout] | [INFO] [stdout] 839 | use async_nats::ServerAddr; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_push.rs: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/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[E0432]: unresolved import `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | use async_nats::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] --> tests/jetstream_tests.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use async_nats::header::{self, HeaderMap, NATS_MESSAGE_ID}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | use async_nats::jetstream::consumer::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use async_nats::jetstream::context::{ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use 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/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/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[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/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[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/sync_context.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/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] --> 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] [stderr] error: could not compile `async-nats-flyradar` (example "sync_context") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/jetstream_push.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | async fn main() -> Result<(), async_nats::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "sub") due to 4 previous errors [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/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[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] [stderr] error: could not compile `async-nats-flyradar` (example "jetstream_push") due to 7 previous errors [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/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] --> 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] --> 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[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[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[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] [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] --> 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] [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 `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[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/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[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 `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[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/jwt_tests.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let s = nats_server::run_server("tests/configs/jwt.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (example "multiple_subs") due to 10 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/nkey_tests.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let nc = async_nats::ConnectOptions::with_nkey(SECRET_SEED.into()) [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | .connect(s.client_url()) [INFO] [stdout] 25 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/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] --> 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 `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/jwt_tests.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let s = nats_server::run_server("tests/configs/jwt.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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] [stderr] error: could not compile `async-nats-flyradar` (example "json") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/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] [stderr] error: could not compile `async-nats-flyradar` (test "nkey_tests") due to 19 previous errors [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] [stderr] error: could not compile `async-nats-flyradar` (test "jwt_tests") due to 22 previous errors [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/jwt_tests.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let nc = async_nats::ConnectOptions::new() [INFO] [stdout] | __________________^ [INFO] [stdout] 44 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 45 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let nc = async_nats::ConnectOptions::new() [INFO] [stdout] | __________________^ [INFO] [stdout] 44 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 45 | | .await [INFO] [stdout] 46 | | .expect("loaded user creds file") [INFO] [stdout] 47 | | .connect(s.client_url()) [INFO] [stdout] 48 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/jwt_tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / nc.publish("hello", "world".into()) [INFO] [stdout] 53 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] 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[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] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> examples/kv.rs: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/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/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] --> 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/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[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[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] --> 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[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 "kv") due to 18 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let mut root_store = async_nats::rustls::RootCertStore::empty(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | let tls_client = async_nats::rustls::ClientConfig::builder() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 35 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 53 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 65 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 65 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 80 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 104 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 104 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 118 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 118 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 143 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 143 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 157 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 175 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 175 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 187 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 187 + ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | let server = nats_server::run_server("tests/configs/tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | async_nats::connect(format!("tls://127.0.0.1:{}", server.client_port())) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | / async_nats::connect(format!("tls://127.0.0.1:{}", server.client_port())) [INFO] [stdout] 29 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 36 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 37 | | .add_client_certificate( [INFO] [stdout] 38 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 42 | | .connect(server.client_url()) [INFO] [stdout] 43 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let server = nats_server::run_server("tests/configs/ip-tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 54 | | .add_root_certificates(path.join("tests/configs/certs/ip-ca.pem")) [INFO] [stdout] 55 | | .require_tls(true) [INFO] [stdout] 56 | | .connect(format!("tls://127.0.0.1:{}", server.client_port())) [INFO] [stdout] 57 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let server = nats_server::run_server("tests/configs/tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/tls_tests.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(async_nats::connect(&server.client_url()).await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 66 | | .require_tls(true) [INFO] [stdout] 67 | | .connect(server.client_url()) [INFO] [stdout] 68 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let s = nats_server::run_server("tests/configs/tls.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | / tokio::time::timeout( [INFO] [stdout] 79 | | tokio::time::Duration::from_secs(10), [INFO] [stdout] 80 | | async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 81 | | .add_root_certificates(path.join("tests/configs/certs/client-all.pem")) [INFO] [stdout] ... | [INFO] [stdout] 89 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 105 | | .require_tls(true) [INFO] [stdout] 106 | | .tls_client_config(tls_client) [INFO] [stdout] 107 | | .connect("demo.nats.io") [INFO] [stdout] 108 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | let mut subscribe = client.subscribe("subject").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | client.publish("subject", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(subscribe.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 119 | | .require_tls(true) [INFO] [stdout] 120 | | .connect("tls://demo.nats.io") [INFO] [stdout] 121 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | let mut subscription = client.subscribe("subject").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | client.publish("subject", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(subscription.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | nats_server::run_server_with_port("tests/configs/tls_first.conf", Some("9090")); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 144 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 145 | | .add_client_certificate( [INFO] [stdout] 146 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 151 | | .connect("tls://localhost:9090") [INFO] [stdout] 152 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 158 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 159 | | .add_client_certificate( [INFO] [stdout] 160 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 164 | | .connect("tls://localhost:9090") [INFO] [stdout] 165 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/tls_tests.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let server = nats_server::run_server("tests/configs/tls_first_auto.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 176 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 177 | | .add_client_certificate( [INFO] [stdout] 178 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 182 | | .connect(server.client_url()) [INFO] [stdout] 183 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tls_tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "porkchop".into()) [INFO] [stdout] 188 | | .add_root_certificates(path.join("tests/configs/certs/rootCA.pem")) [INFO] [stdout] 189 | | .add_client_certificate( [INFO] [stdout] 190 | | path.join("tests/configs/certs/client-cert.pem"), [INFO] [stdout] ... | [INFO] [stdout] 195 | | .connect(server.client_url()) [INFO] [stdout] 196 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (test "tls_tests") due to 41 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 36 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 39 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 64 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 67 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 103 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 103 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 106 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 135 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 135 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 138 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:169:23 [INFO] [stdout] | [INFO] [stdout] 169 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 169 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 169 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 172 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 172 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 197 - .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 197 + .update_stream(stream::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:232:23 [INFO] [stdout] | [INFO] [stdout] 232 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 232 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 232 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:235:31 [INFO] [stdout] | [INFO] [stdout] 235 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 235 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 235 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 268 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 268 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:271:31 [INFO] [stdout] | [INFO] [stdout] 271 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 271 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 271 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:307:23 [INFO] [stdout] | [INFO] [stdout] 307 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 307 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 307 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:310:31 [INFO] [stdout] | [INFO] [stdout] 310 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 310 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 310 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:356:23 [INFO] [stdout] | [INFO] [stdout] 356 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 356 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 356 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:359:31 [INFO] [stdout] | [INFO] [stdout] 359 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 359 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 359 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:396:23 [INFO] [stdout] | [INFO] [stdout] 396 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 396 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 396 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:399:31 [INFO] [stdout] | [INFO] [stdout] 399 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 399 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 399 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 446 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 446 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 446 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:449:31 [INFO] [stdout] | [INFO] [stdout] 449 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 449 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 449 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:484:23 [INFO] [stdout] | [INFO] [stdout] 484 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 484 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 484 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:487:31 [INFO] [stdout] | [INFO] [stdout] 487 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 487 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 487 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:541:23 [INFO] [stdout] | [INFO] [stdout] 541 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 541 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 541 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:543:31 [INFO] [stdout] | [INFO] [stdout] 543 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 543 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 543 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:575:23 [INFO] [stdout] | [INFO] [stdout] 575 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 575 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 575 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:578:31 [INFO] [stdout] | [INFO] [stdout] 578 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 578 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 578 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:633:23 [INFO] [stdout] | [INFO] [stdout] 633 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 633 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 633 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:636:31 [INFO] [stdout] | [INFO] [stdout] 636 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 636 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 636 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:709:23 [INFO] [stdout] | [INFO] [stdout] 709 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 709 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 709 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:712:31 [INFO] [stdout] | [INFO] [stdout] 712 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 712 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 712 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:772:23 [INFO] [stdout] | [INFO] [stdout] 772 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 772 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 772 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:775:31 [INFO] [stdout] | [INFO] [stdout] 775 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 775 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 775 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:848:23 [INFO] [stdout] | [INFO] [stdout] 848 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 848 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 848 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:851:31 [INFO] [stdout] | [INFO] [stdout] 851 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 851 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 851 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:934:23 [INFO] [stdout] | [INFO] [stdout] 934 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 934 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 934 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:937:31 [INFO] [stdout] | [INFO] [stdout] 937 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 937 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 937 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:987:23 [INFO] [stdout] | [INFO] [stdout] 987 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 987 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 987 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:990:31 [INFO] [stdout] | [INFO] [stdout] 990 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 990 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 990 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1033:23 [INFO] [stdout] | [INFO] [stdout] 1033 | let context = async_nats::jetstream::new(client); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1033 - let context = async_nats::jetstream::new(client); [INFO] [stdout] 1033 + let context = jetstream::new(client); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1036:31 [INFO] [stdout] | [INFO] [stdout] 1036 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1036 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1036 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1090:31 [INFO] [stdout] | [INFO] [stdout] 1090 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1090 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1090 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1130:23 [INFO] [stdout] | [INFO] [stdout] 1130 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1130 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1130 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1133:31 [INFO] [stdout] | [INFO] [stdout] 1133 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1133 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1133 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1168:22 [INFO] [stdout] | [INFO] [stdout] 1168 | let hub_js = async_nats::jetstream::new(hub); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1168 - let hub_js = async_nats::jetstream::new(hub); [INFO] [stdout] 1168 + let hub_js = jetstream::new(hub); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1171:31 [INFO] [stdout] | [INFO] [stdout] 1171 | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1171 - .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1171 + .create_key_value(kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1180:29 [INFO] [stdout] | [INFO] [stdout] 1180 | let mirror_bucket = async_nats::jetstream::kv::Config { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream::kv; [INFO] [stdout] | [INFO] [stdout] help: if you import `kv`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1180 - let mirror_bucket = async_nats::jetstream::kv::Config { [INFO] [stdout] 1180 + let mirror_bucket = kv::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1192:23 [INFO] [stdout] | [INFO] [stdout] 1192 | let leaf_js = async_nats::jetstream::new(leaf.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1192 - let leaf_js = async_nats::jetstream::new(leaf.clone()); [INFO] [stdout] 1192 + let leaf_js = jetstream::new(leaf.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1222:27 [INFO] [stdout] | [INFO] [stdout] 1222 | let leaf_hub_js = async_nats::jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1222 - let leaf_hub_js = async_nats::jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] 1222 + let leaf_hub_js = jetstream::with_domain(leaf, "HUB"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1249:23 [INFO] [stdout] | [INFO] [stdout] 1249 | let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::jetstream; [INFO] [stdout] | [INFO] [stdout] help: if you import `jetstream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1249 - let context = async_nats::jetstream::new(client.clone()); [INFO] [stdout] 1249 + let context = jetstream::new(client.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1252:28 [INFO] [stdout] | [INFO] [stdout] 1252 | .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] 15 + use async_nats_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1252 - .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 1252 + .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/kv_tests.rs:1255:33 [INFO] [stdout] | [INFO] [stdout] 1255 | 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] 15 + use async_nats_flyradar::jetstream::stream; [INFO] [stdout] | [INFO] [stdout] help: if you import `stream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1255 - republish: Some(async_nats::jetstream::stream::Republish { [INFO] [stdout] 1255 + republish: Some(stream::Republish { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 31 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 32 | | .connect(server.client_url()) [INFO] [stdout] 33 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let mut kv = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 39 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 40 | | bucket: "test".into(), [INFO] [stdout] 41 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 46 | | }) [INFO] [stdout] 47 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | let info = kv.stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 60 | | .connect(server.client_url()) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 67 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 68 | | bucket: "test".into(), [INFO] [stdout] 69 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 74 | | }) [INFO] [stdout] 75 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let create = kv.create("key", payload.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 80 | assert!(create.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let create: /* Type */ = kv.create("key", payload.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let create = kv.create("key", payload.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | assert!(create.is_err()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create` an explicit type [INFO] [stdout] | [INFO] [stdout] 82 | let create: /* Type */ = kv.create("key", payload.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | kv.delete("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let create = kv.create("key", payload.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 87 | assert!(create.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create` an explicit type [INFO] [stdout] | [INFO] [stdout] 86 | let create: /* Type */ = kv.create("key", payload.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | kv.purge("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let create = kv.create("key", payload.clone()).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 91 | assert!(create.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `create` an explicit type [INFO] [stdout] | [INFO] [stdout] 90 | let create: /* Type */ = kv.create("key", payload.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 98 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 99 | | .connect(server.client_url()) [INFO] [stdout] 100 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 106 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 107 | | bucket: "test".into(), [INFO] [stdout] 108 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 113 | | }) [INFO] [stdout] 114 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:128:22 [INFO] [stdout] | [INFO] [stdout] 128 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 130 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 131 | | .connect(server.client_url()) [INFO] [stdout] 132 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 138 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 139 | | bucket: "test".into(), [INFO] [stdout] 140 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 145 | | }) [INFO] [stdout] 146 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:162:22 [INFO] [stdout] | [INFO] [stdout] 162 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 164 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 165 | | .connect(server.client_url()) [INFO] [stdout] 166 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let mut kv = context [INFO] [stdout] | ______________________^ [INFO] [stdout] 172 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 173 | | bucket: "test".into(), [INFO] [stdout] 174 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 179 | | }) [INFO] [stdout] 180 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let value = kv.entry("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | let value = kv.entry_for_revision("key", 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | / context [INFO] [stdout] 197 | | .update_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 198 | | max_messages_per_subject: 10, [INFO] [stdout] 199 | | name: "KV_test".into(), [INFO] [stdout] ... | [INFO] [stdout] 204 | | }) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:208:20 [INFO] [stdout] | [INFO] [stdout] 208 | let info = kv.stream.info().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | let nothing = kv.get("nothing").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let value = kv.entry("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let value = kv.entry_for_revision("key", 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | let value = kv.entry_for_revision("key", 250).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 227 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 228 | | .connect(server.client_url()) [INFO] [stdout] 229 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:234:18 [INFO] [stdout] | [INFO] [stdout] 234 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 235 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 236 | | bucket: "test".into(), [INFO] [stdout] 237 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 242 | | }) [INFO] [stdout] 243 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | let rev = kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 250 | let rev2 = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 251 | | .update("key", updated_payload.clone(), rev) [INFO] [stdout] 252 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 263 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 264 | | .connect(server.client_url()) [INFO] [stdout] 265 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:270:18 [INFO] [stdout] | [INFO] [stdout] 270 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 271 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 272 | | bucket: "delete".into(), [INFO] [stdout] 273 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 278 | | }) [INFO] [stdout] 279 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | kv.delete("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:286:18 [INFO] [stdout] | [INFO] [stdout] 286 | let ss = kv.get("kv").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let mut entries = kv.history("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:291:13 [INFO] [stdout] | [INFO] [stdout] 291 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 292 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Put); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 291 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 295 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Delete); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 294 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:301:22 [INFO] [stdout] | [INFO] [stdout] 301 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 302 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 303 | | .connect(server.client_url()) [INFO] [stdout] 304 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:309:18 [INFO] [stdout] | [INFO] [stdout] 309 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 310 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 311 | | bucket: "delete".into(), [INFO] [stdout] 312 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 317 | | }) [INFO] [stdout] 318 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | let revision = kv.put("key", payload.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:322:21 [INFO] [stdout] | [INFO] [stdout] 322 | let value = kv.get("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:326:22 [INFO] [stdout] | [INFO] [stdout] 326 | let failed = kv [INFO] [stdout] | ______________________^ [INFO] [stdout] 327 | | .delete_expect_revision("key", Some(wrong_revision)) [INFO] [stdout] 328 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | / kv.delete_expect_revision("key", Some(revision)) [INFO] [stdout] 333 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:335:18 [INFO] [stdout] | [INFO] [stdout] 335 | let ss = kv.get("kv").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | let mut entries = kv.history("key").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 341 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Put); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 340 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 343 | let first_op = entries.next().await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 344 | assert_eq!(first_op.unwrap().unwrap().operation, Operation::Delete); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first_op` an explicit type [INFO] [stdout] | [INFO] [stdout] 343 | let first_op: /* Type */ = entries.next().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:349:22 [INFO] [stdout] | [INFO] [stdout] 349 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:350:22 [INFO] [stdout] | [INFO] [stdout] 350 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 351 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 352 | | .connect(server.client_url()) [INFO] [stdout] 353 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:358:18 [INFO] [stdout] | [INFO] [stdout] 358 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 359 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 360 | | bucket: "purge".into(), [INFO] [stdout] 361 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 366 | | }) [INFO] [stdout] 367 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | kv.put("dz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 370 | kv.put("dz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | kv.put("dz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | kv.put("dz", "3".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | kv.put("dz", "4".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | kv.put("dz", "5".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | kv.put("baz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | kv.put("baz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | kv.put("baz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | kv.purge("dz").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:389:22 [INFO] [stdout] | [INFO] [stdout] 389 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 391 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 392 | | .connect(server.client_url()) [INFO] [stdout] 393 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 399 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 400 | | bucket: "purge".into(), [INFO] [stdout] 401 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 406 | | }) [INFO] [stdout] 407 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | kv.put("dz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | kv.put("dz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | kv.put("dz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | kv.put("dz", "3".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | kv.put("dz", "4".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | let revision = kv.put("dz", "5".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | kv.put("baz", "0".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | kv.put("baz", "1".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | kv.put("baz", "2".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:424:22 [INFO] [stdout] | [INFO] [stdout] 424 | let failed = kv [INFO] [stdout] | ______________________^ [INFO] [stdout] 425 | | .purge_expect_revision("dz", Some(wrong_revision)) [INFO] [stdout] 426 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | / kv.purge_expect_revision("dz", Some(revision)) [INFO] [stdout] 431 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 433 | let history = kv.history("dz").await.unwrap().count().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:439:22 [INFO] [stdout] | [INFO] [stdout] 439 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:440:22 [INFO] [stdout] | [INFO] [stdout] 440 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 441 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 442 | | .connect(server.client_url()) [INFO] [stdout] 443 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:448:18 [INFO] [stdout] | [INFO] [stdout] 448 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 449 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 450 | | bucket: "history".into(), [INFO] [stdout] 451 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 456 | | }) [INFO] [stdout] 457 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | kv.put("key", format!("{i}").into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:463:27 [INFO] [stdout] | [INFO] [stdout] 463 | let mut history = kv.history("key").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 477 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:478:22 [INFO] [stdout] | [INFO] [stdout] 478 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 479 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 480 | | .connect(server.client_url()) [INFO] [stdout] 481 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:486:18 [INFO] [stdout] | [INFO] [stdout] 486 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 487 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 488 | | bucket: "history".to_string(), [INFO] [stdout] 489 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 494 | | }) [INFO] [stdout] 495 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | kv.put("foo", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:500:25 [INFO] [stdout] | [INFO] [stdout] 500 | let mut watch = kv.watch("foo").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:508:21 [INFO] [stdout] | [INFO] [stdout] 508 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:518:21 [INFO] [stdout] | [INFO] [stdout] 518 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:523:25 [INFO] [stdout] | [INFO] [stdout] 523 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs: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/kv_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/kv_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/kv_tests.rs:542:18 [INFO] [stdout] | [INFO] [stdout] 542 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 543 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 544 | | bucket: "history".to_string(), [INFO] [stdout] 545 | | description: "test_description".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 550 | | }) [INFO] [stdout] 551 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:557:22 [INFO] [stdout] | [INFO] [stdout] 557 | let kv = context.get_key_value("history").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:558:13 [INFO] [stdout] | [INFO] [stdout] 558 | kv.put("foo", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:561:27 [INFO] [stdout] | [INFO] [stdout] 561 | let mut watcher = kv.watch_with_history("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:562:19 [INFO] [stdout] | [INFO] [stdout] 562 | let key = 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/kv_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[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 571 | | .connect(server.client_url()) [INFO] [stdout] 572 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:577:18 [INFO] [stdout] | [INFO] [stdout] 577 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 578 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 579 | | bucket: "history".into(), [INFO] [stdout] 580 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 585 | | }) [INFO] [stdout] 586 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | kv.put("foo", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:591:25 [INFO] [stdout] | [INFO] [stdout] 591 | let mut watch = kv.watch("foo").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:598:21 [INFO] [stdout] | [INFO] [stdout] 598 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:608:21 [INFO] [stdout] | [INFO] [stdout] 608 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:613:25 [INFO] [stdout] | [INFO] [stdout] 613 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:627:22 [INFO] [stdout] | [INFO] [stdout] 627 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 629 | | .connect(server.client_url()) [INFO] [stdout] 630 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 635 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 636 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 637 | | bucket: "history".into(), [INFO] [stdout] 638 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 643 | | }) [INFO] [stdout] 644 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:648:9 [INFO] [stdout] | [INFO] [stdout] 648 | kv.put("foo", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:649:9 [INFO] [stdout] | [INFO] [stdout] 649 | kv.put("bar", 22.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:650:25 [INFO] [stdout] | [INFO] [stdout] 650 | let mut watch = kv.watch_many(["foo.>", "bar.>"]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:657:21 [INFO] [stdout] | [INFO] [stdout] 657 | / kv.put(format!("foo.{i}"), i.to_string().into()) [INFO] [stdout] 658 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:668:21 [INFO] [stdout] | [INFO] [stdout] 668 | / kv.put(format!("bar.{i}"), i.to_string().into()) [INFO] [stdout] 669 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:680:21 [INFO] [stdout] | [INFO] [stdout] 680 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 35 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 181 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 181 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 15 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] help: if you import `HeaderMap`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 194 - let mut headers = async_nats::HeaderMap::new(); [INFO] [stdout] 194 + let mut headers = HeaderMap::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | assert!(async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 391 - assert!(async_nats::ConnectOptions::new() [INFO] [stdout] 391 + assert!(ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:409:22 [INFO] [stdout] | [INFO] [stdout] 409 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 409 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 409 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:435:22 [INFO] [stdout] | [INFO] [stdout] 435 | let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 435 - let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] 435 + let client = ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 450 - async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 450 + ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:691:25 [INFO] [stdout] | [INFO] [stdout] 691 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:702:22 [INFO] [stdout] | [INFO] [stdout] 702 | 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/client_tests.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | let err = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 464 - let err = async_nats::ConnectOptions::new() [INFO] [stdout] 464 + let err = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | let err = async_nats::ConnectOptions::with_user_and_password( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 475 - let err = async_nats::ConnectOptions::with_user_and_password( [INFO] [stdout] 475 + let err = ConnectOptions::with_user_and_password( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:492:22 [INFO] [stdout] | [INFO] [stdout] 492 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 492 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 492 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:848:22 [INFO] [stdout] | [INFO] [stdout] 848 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 848 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 848 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:703:22 [INFO] [stdout] | [INFO] [stdout] 703 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 704 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 705 | | .connect(server.client_url()) [INFO] [stdout] 706 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:880:28 [INFO] [stdout] | [INFO] [stdout] 880 | let mut auth = async_nats::Auth::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::Auth; [INFO] [stdout] | [INFO] [stdout] help: if you import `Auth`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 880 - let mut auth = async_nats::Auth::new(); [INFO] [stdout] 880 + let mut auth = Auth::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:895:28 [INFO] [stdout] | [INFO] [stdout] 895 | let mut auth = async_nats::Auth::new(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::Auth; [INFO] [stdout] | [INFO] [stdout] help: if you import `Auth`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 895 - let mut auth = async_nats::Auth::new(); [INFO] [stdout] 895 + let mut auth = Auth::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:902:54 [INFO] [stdout] | [INFO] [stdout] 902 | let sign = key_pair.sign(&nonce).map_err(async_nats::AuthError::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::AuthError; [INFO] [stdout] | [INFO] [stdout] help: if you import `AuthError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 902 - let sign = key_pair.sign(&nonce).map_err(async_nats::AuthError::new)?; [INFO] [stdout] 902 + let sign = key_pair.sign(&nonce).map_err(AuthError::new)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:931:36 [INFO] [stdout] | [INFO] [stdout] 931 | Event::ClientError(async_nats::ClientError::Other(_)) => (), [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ClientError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 931 - Event::ClientError(async_nats::ClientError::Other(_)) => (), [INFO] [stdout] 931 + Event::ClientError(ClientError::Other(_)) => (), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:937:32 [INFO] [stdout] | [INFO] [stdout] 937 | Event::ClientError(async_nats::ClientError::MaxReconnects) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ClientError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ClientError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 937 - Event::ClientError(async_nats::ClientError::MaxReconnects) [INFO] [stdout] 937 + Event::ClientError(ClientError::MaxReconnects) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:963:22 [INFO] [stdout] | [INFO] [stdout] 963 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 963 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 963 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:711:18 [INFO] [stdout] | [INFO] [stdout] 711 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 712 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 713 | | bucket: "history".into(), [INFO] [stdout] 714 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 719 | | }) [INFO] [stdout] 720 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1029 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 1029 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1037:22 [INFO] [stdout] | [INFO] [stdout] 1037 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 15 + use async_nats_flyradar::ConnectOptions; [INFO] [stdout] | [INFO] [stdout] help: if you import `ConnectOptions`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1037 - let client = async_nats::ConnectOptions::new() [INFO] [stdout] 1037 + let client = ConnectOptions::new() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:724:13 [INFO] [stdout] | [INFO] [stdout] 724 | / kv.put(format!("key.{i}"), i.to_string().into()) [INFO] [stdout] 725 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:729:27 [INFO] [stdout] | [INFO] [stdout] 729 | let mut watcher = kv [INFO] [stdout] | ___________________________^ [INFO] [stdout] 730 | | .watch_with_history("key.>") [INFO] [stdout] 731 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:741:21 [INFO] [stdout] | [INFO] [stdout] 741 | / kv.put(format!("key.{i}"), i.to_string().into()) [INFO] [stdout] 742 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:749:25 [INFO] [stdout] | [INFO] [stdout] 749 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:765:22 [INFO] [stdout] | [INFO] [stdout] 765 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:766:22 [INFO] [stdout] | [INFO] [stdout] 766 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 767 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 768 | | .connect(server.client_url()) [INFO] [stdout] 769 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:774:18 [INFO] [stdout] | [INFO] [stdout] 774 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 775 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 776 | | bucket: "history".into(), [INFO] [stdout] 777 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 782 | | }) [INFO] [stdout] 783 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | kv.put("foo.bar", 42.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:788:25 [INFO] [stdout] | [INFO] [stdout] 788 | let mut watch = kv.watch_with_history("foo.>").await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tests/client_tests.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:795:21 [INFO] [stdout] | [INFO] [stdout] 795 | / kv.put(format!("foo.{i}"), i.to_string().into()) [INFO] [stdout] 796 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:807:21 [INFO] [stdout] | [INFO] [stdout] 807 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:814:26 [INFO] [stdout] | [INFO] [stdout] 814 | 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/kv_tests.rs:815:21 [INFO] [stdout] | [INFO] [stdout] 815 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:824:25 [INFO] [stdout] | [INFO] [stdout] 824 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:841:22 [INFO] [stdout] | [INFO] [stdout] 841 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:842:22 [INFO] [stdout] | [INFO] [stdout] 842 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 843 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 844 | | .connect(server.client_url()) [INFO] [stdout] 845 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:850:18 [INFO] [stdout] | [INFO] [stdout] 850 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 851 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 852 | | bucket: "history".into(), [INFO] [stdout] 853 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 858 | | }) [INFO] [stdout] 859 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | kv.put("foo.bar", 42.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:864:25 [INFO] [stdout] | [INFO] [stdout] 864 | let mut watch = kv [INFO] [stdout] | _________________________^ [INFO] [stdout] 865 | | .watch_many_with_history(["foo.>", "bar.>"]) [INFO] [stdout] 866 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:874:21 [INFO] [stdout] | [INFO] [stdout] 874 | / kv.put(format!("foo.{i}"), i.to_string().into()) [INFO] [stdout] 875 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:886:21 [INFO] [stdout] | [INFO] [stdout] 886 | kv.put("var", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:896:21 [INFO] [stdout] | [INFO] [stdout] 896 | / kv.put(format!("bar.{i}"), i.to_string().into()) [INFO] [stdout] 897 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:903:21 [INFO] [stdout] | [INFO] [stdout] 903 | 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/kv_tests.rs:915:25 [INFO] [stdout] | [INFO] [stdout] 915 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:927:22 [INFO] [stdout] | [INFO] [stdout] 927 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:928:22 [INFO] [stdout] | [INFO] [stdout] 928 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 929 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 930 | | .connect(server.client_url()) [INFO] [stdout] 931 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:936:18 [INFO] [stdout] | [INFO] [stdout] 936 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 937 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 938 | | bucket: "history".into(), [INFO] [stdout] 939 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 944 | | }) [INFO] [stdout] 945 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:948:25 [INFO] [stdout] | [INFO] [stdout] 948 | let mut watch = kv.watch_all().await.unwrap().enumerate(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:956:21 [INFO] [stdout] | [INFO] [stdout] 956 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:965:21 [INFO] [stdout] | [INFO] [stdout] 965 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:971:25 [INFO] [stdout] | [INFO] [stdout] 971 | let entry = entry.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:981:22 [INFO] [stdout] | [INFO] [stdout] 981 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:982:22 [INFO] [stdout] | [INFO] [stdout] 982 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 983 | | .connect(server.client_url()) [INFO] [stdout] 984 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:989:18 [INFO] [stdout] | [INFO] [stdout] 989 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 990 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 991 | | bucket: "bucket".into(), [INFO] [stdout] 992 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 995 | | }) [INFO] [stdout] 996 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:999:9 [INFO] [stdout] | [INFO] [stdout] 999 | kv.put("foo", "bar".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1000:9 [INFO] [stdout] | [INFO] [stdout] 1000 | kv.put("foo", "baz".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1001 | kv.put("bar", "foo".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | kv.put("bar", "bar".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1003:9 [INFO] [stdout] | [INFO] [stdout] 1003 | kv.put("baz", "foo".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1005:25 [INFO] [stdout] | [INFO] [stdout] 1005 | let mut watch = kv.watch_from_revision("foo", 2).await.unwrap().take(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1006:19 [INFO] [stdout] | [INFO] [stdout] 1006 | let key = watch.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1011:25 [INFO] [stdout] | [INFO] [stdout] 1011 | let mut watch = kv.watch_all_from_revision(3).await.unwrap().take(3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1012:19 [INFO] [stdout] | [INFO] [stdout] 1012 | let key = watch.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1016:19 [INFO] [stdout] | [INFO] [stdout] 1016 | let key = watch.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1019:19 [INFO] [stdout] | [INFO] [stdout] 1019 | let key = watch.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/client_tests.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:1026:22 [INFO] [stdout] | [INFO] [stdout] 1026 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1027:22 [INFO] [stdout] | [INFO] [stdout] 1027 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1028 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 1029 | | .connect(server.client_url()) [INFO] [stdout] 1030 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1035:18 [INFO] [stdout] | [INFO] [stdout] 1035 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 1036 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1037 | | bucket: "history".into(), [INFO] [stdout] 1038 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 1043 | | }) [INFO] [stdout] 1044 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1048:13 [INFO] [stdout] | [INFO] [stdout] 1048 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1051:13 [INFO] [stdout] | [INFO] [stdout] 1051 | kv.put("foo", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | let mut keys = kv [INFO] [stdout] | ________________________^ [INFO] [stdout] 1055 | | .keys() [INFO] [stdout] 1056 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1054:24 [INFO] [stdout] | [INFO] [stdout] 1054 | let mut keys = kv [INFO] [stdout] | ________________________^ [INFO] [stdout] 1055 | | .keys() [INFO] [stdout] 1056 | | .await [INFO] [stdout] 1057 | | .unwrap() [INFO] [stdout] 1058 | | .try_collect::>() [INFO] [stdout] 1059 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1065:9 [INFO] [stdout] | [INFO] [stdout] 1065 | kv.delete("bar").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1066:20 [INFO] [stdout] | [INFO] [stdout] 1066 | let keys = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 1067 | | .keys() [INFO] [stdout] 1068 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1066:20 [INFO] [stdout] | [INFO] [stdout] 1066 | let keys = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 1067 | | .keys() [INFO] [stdout] 1068 | | .await [INFO] [stdout] 1069 | | .unwrap() [INFO] [stdout] 1070 | | .try_collect::>() [INFO] [stdout] 1071 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1077:13 [INFO] [stdout] | [INFO] [stdout] 1077 | kv.put("bar", i.to_string().into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 36 | | .event_callback(move |event| { [INFO] [stdout] 37 | | let dctx = dctx.clone(); [INFO] [stdout] 38 | | let rctx = rctx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | .connect(server.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/kv_tests.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | kv.purge("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1080:20 [INFO] [stdout] | [INFO] [stdout] 1080 | let keys = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 1081 | | .keys() [INFO] [stdout] 1082 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1080:20 [INFO] [stdout] | [INFO] [stdout] 1080 | let keys = kv [INFO] [stdout] | ____________________^ [INFO] [stdout] 1081 | | .keys() [INFO] [stdout] 1082 | | .await [INFO] [stdout] 1083 | | .unwrap() [INFO] [stdout] 1084 | | .try_collect::>() [INFO] [stdout] 1085 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let mut sub = client.subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1089:18 [INFO] [stdout] | [INFO] [stdout] 1089 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 1090 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1091 | | bucket: "history2".into(), [INFO] [stdout] 1092 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 1098 | | }) [INFO] [stdout] 1099 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | kv.put("baz", "value".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1106:32 [INFO] [stdout] | [INFO] [stdout] 1106 | let keys = keys.try_collect::>().await.unwrap(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1106:32 [INFO] [stdout] | [INFO] [stdout] 1106 | let keys = keys.try_collect::>().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | client.force_reconnect().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1112:31 [INFO] [stdout] | [INFO] [stdout] 1112 | Err(e) => Err(e.into()), [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | client.publish("foo", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:1123:22 [INFO] [stdout] | [INFO] [stdout] 1123 | let server = nats_server::run_server("tests/configs/jetstream.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1124:22 [INFO] [stdout] | [INFO] [stdout] 1124 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1125 | | .event_callback(|event| async move { println!("event: {event:?}") }) [INFO] [stdout] 1126 | | .connect(server.client_url()) [INFO] [stdout] 1127 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1132:18 [INFO] [stdout] | [INFO] [stdout] 1132 | let kv = context [INFO] [stdout] | __________________^ [INFO] [stdout] 1133 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1134 | | bucket: "test".into(), [INFO] [stdout] 1135 | | description: "test_description".into(), [INFO] [stdout] ... | [INFO] [stdout] 1145 | | }) [INFO] [stdout] 1146 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1149:29 [INFO] [stdout] | [INFO] [stdout] 1149 | let mut subscribe = client.subscribe("bar.>").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1151:9 [INFO] [stdout] | [INFO] [stdout] 1151 | kv.put("key", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1153:23 [INFO] [stdout] | [INFO] [stdout] 1153 | let message = subscribe.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:1162:26 [INFO] [stdout] | [INFO] [stdout] 1162 | let hub_server = nats_server::run_server("tests/configs/jetstream_hub.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / tokio::time::timeout(Duration::from_secs(5), sub.next()) [INFO] [stdout] 71 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:1163:27 [INFO] [stdout] | [INFO] [stdout] 1163 | let leaf_server = nats_server::run_server("tests/configs/jetstream_leaf.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1165:19 [INFO] [stdout] | [INFO] [stdout] 1165 | let hub = async_nats::connect(hub_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1165:19 [INFO] [stdout] | [INFO] [stdout] 1165 | let hub = async_nats::connect(hub_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1166:20 [INFO] [stdout] | [INFO] [stdout] 1166 | let leaf = async_nats::connect(leaf_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1166:20 [INFO] [stdout] | [INFO] [stdout] 1166 | let leaf = async_nats::connect(leaf_server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1170:22 [INFO] [stdout] | [INFO] [stdout] 1170 | let hub_kv = hub_js [INFO] [stdout] | ______________________^ [INFO] [stdout] 1171 | | .create_key_value(async_nats::jetstream::kv::Config { [INFO] [stdout] 1172 | | bucket: "TEST".into(), [INFO] [stdout] 1173 | | ..Default::default() [INFO] [stdout] 1174 | | }) [INFO] [stdout] 1175 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1177:9 [INFO] [stdout] | [INFO] [stdout] 1177 | hub_kv.put("name", "derek".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1178:9 [INFO] [stdout] | [INFO] [stdout] 1178 | hub_kv.put("age", "22".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1193:9 [INFO] [stdout] | [INFO] [stdout] 1193 | leaf_js.create_key_value(mirror_bucket).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1195:22 [INFO] [stdout] | [INFO] [stdout] 1195 | let mirror = leaf_js.get_stream("KV_MIRROR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1204:24 [INFO] [stdout] | [INFO] [stdout] 1204 | let local_kv = leaf_js.get_key_value("MIRROR").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1206:9 [INFO] [stdout] | [INFO] [stdout] 1206 | local_kv.put("name", "rip".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | let mut subscriber = client.subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | client.publish("foo", "data".into()).await.unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:86:9 [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/client_tests.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [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/client_tests.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | / client [INFO] [stdout] 113 | | .queue_subscribe("qfoo", "group".into()) [INFO] [stdout] 114 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | client.publish("qfoo", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/kv_tests.rs:1209:25 [INFO] [stdout] | [INFO] [stdout] 1209 | Ok(Some(name)) => { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/kv_tests.rs:1209:20 [INFO] [stdout] | [INFO] [stdout] 1209 | Ok(Some(name)) => { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by a bound in `Some` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:607:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/kv_tests.rs:1208:40 [INFO] [stdout] | [INFO] [stdout] 1208 | match local_kv.get("name").await { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | subscriber.next(), [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | let mut subscriber = client.clone().subscribe("foo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | cloned_client.publish("foo", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | while tokio::time::timeout(tokio::time::Duration::from_millis(500), subscriber.next()) [INFO] [stdout] | _______________^ [INFO] [stdout] 162 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | / client [INFO] [stdout] 185 | | .publish_with_headers("test", headers.clone(), b"".as_ref().into()) [INFO] [stdout] 186 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:191:23 [INFO] [stdout] | [INFO] [stdout] 191 | let message = subscriber.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / client [INFO] [stdout] 199 | | .publish_with_headers("test", headers.clone(), "test".into()) [INFO] [stdout] 200 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:203:23 [INFO] [stdout] | [INFO] [stdout] 203 | let message = subscriber.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1207:9 [INFO] [stdout] | [INFO] [stdout] 1207 | / tryhard::retry_fn(|| async { [INFO] [stdout] 1208 | | match local_kv.get("name").await { [INFO] [stdout] 1209 | | Ok(Some(name)) => { [INFO] [stdout] 1210 | | assert_eq!(from_utf8(&name).unwrap(), "rip"); [INFO] [stdout] ... | [INFO] [stdout] 1217 | | .exponential_backoff(Duration::from_millis(2000)) [INFO] [stdout] 1218 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1224:20 [INFO] [stdout] | [INFO] [stdout] 1224 | let test = leaf_hub_js.get_key_value("TEST").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:217:27 [INFO] [stdout] | [INFO] [stdout] 217 | let msg = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | / client [INFO] [stdout] 219 | | .publish(msg.reply.unwrap(), "resp".into()) [INFO] [stdout] 220 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1226:9 [INFO] [stdout] | [INFO] [stdout] 1226 | test.put("name", "ivan".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | let mut insub = client.subscribe(inbox.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1227:20 [INFO] [stdout] | [INFO] [stdout] 1227 | let name = test.get("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / client [INFO] [stdout] 227 | | .publish_with_reply("test", inbox, "data".into()) [INFO] [stdout] 228 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | assert!(insub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1230:9 [INFO] [stdout] | [INFO] [stdout] 1230 | test.purge("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1231:20 [INFO] [stdout] | [INFO] [stdout] 1231 | let name = test.get("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/client_tests.rs:235:22 [INFO] [stdout] | [INFO] [stdout] 235 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:236:22 [INFO] [stdout] | [INFO] [stdout] 236 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:238:23 [INFO] [stdout] | [INFO] [stdout] 238 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:243:27 [INFO] [stdout] | [INFO] [stdout] 243 | let msg = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1237:9 [INFO] [stdout] | [INFO] [stdout] 1237 | local_kv.get("name").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | / client [INFO] [stdout] 245 | | .publish(msg.reply.unwrap(), "reply".into()) [INFO] [stdout] 246 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | let resp = tokio::time::timeout( [INFO] [stdout] | ____________________^ [INFO] [stdout] 252 | | tokio::time::Duration::from_millis(500), [INFO] [stdout] 253 | | client.request("test", "request".into()), [INFO] [stdout] 254 | | ) [INFO] [stdout] 255 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/kv_tests.rs:1242:22 [INFO] [stdout] | [INFO] [stdout] 1242 | 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/client_tests.rs:263:22 [INFO] [stdout] | [INFO] [stdout] 263 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:263:22 [INFO] [stdout] | [INFO] [stdout] 263 | 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/kv_tests.rs:1244:22 [INFO] [stdout] | [INFO] [stdout] 1244 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1245 | | .connect(server.client_url()) [INFO] [stdout] 1246 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | let _sub = client.subscribe("service").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | let err = client [INFO] [stdout] | ___________________^ [INFO] [stdout] 269 | | .request("service", "payload".into()) [INFO] [stdout] 270 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | / context [INFO] [stdout] 1252 | | .create_stream(async_nats::jetstream::stream::Config { [INFO] [stdout] 1253 | | subjects: vec!["A.>".into(), "B.>".into()], [INFO] [stdout] 1254 | | name: "source".into(), [INFO] [stdout] ... | [INFO] [stdout] 1262 | | }) [INFO] [stdout] 1263 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1266:25 [INFO] [stdout] | [INFO] [stdout] 1266 | let kv_stream = context [INFO] [stdout] | _________________________^ [INFO] [stdout] 1267 | | .create_stream(stream::Config { [INFO] [stdout] 1268 | | subjects: vec!["$KV.test.>".into()], [INFO] [stdout] 1269 | | name: "KV_test".into(), [INFO] [stdout] ... | [INFO] [stdout] 1272 | | }) [INFO] [stdout] 1273 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:277:22 [INFO] [stdout] | [INFO] [stdout] 277 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1276:18 [INFO] [stdout] | [INFO] [stdout] 1276 | let kv = context.get_key_value("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 278 | 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/kv_tests.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | / context [INFO] [stdout] 1280 | | .publish("B.foo", "data".into()) [INFO] [stdout] 1281 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:280:19 [INFO] [stdout] | [INFO] [stdout] 280 | let err = tokio::time::timeout( [INFO] [stdout] | ___________________^ [INFO] [stdout] 281 | | tokio::time::Duration::from_millis(300), [INFO] [stdout] 282 | | client.request("test", "request".into()), [INFO] [stdout] 283 | | ) [INFO] [stdout] 284 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | / context [INFO] [stdout] 1280 | | .publish("B.foo", "data".into()) [INFO] [stdout] 1281 | | .await [INFO] [stdout] 1282 | | .unwrap() [INFO] [stdout] 1283 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | / context [INFO] [stdout] 1286 | | .publish("B.bar", "data".into()) [INFO] [stdout] 1287 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | / context [INFO] [stdout] 1286 | | .publish("B.bar", "data".into()) [INFO] [stdout] 1287 | | .await [INFO] [stdout] 1288 | | .unwrap() [INFO] [stdout] 1289 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 293 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | / context [INFO] [stdout] 1294 | | .publish("A.orange", "key".into()) [INFO] [stdout] 1295 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | let mut sub = client.subscribe("service").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | / context [INFO] [stdout] 1294 | | .publish("A.orange", "key".into()) [INFO] [stdout] 1295 | | .await [INFO] [stdout] 1296 | | .unwrap() [INFO] [stdout] 1297 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:302:31 [INFO] [stdout] | [INFO] [stdout] 302 | let request = sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | client.publish(reply, "ok".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | client.send_request("service", request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:317:22 [INFO] [stdout] | [INFO] [stdout] 317 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:318:22 [INFO] [stdout] | [INFO] [stdout] 318 | 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/kv_tests.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | / context [INFO] [stdout] 1300 | | .publish("A.tomato", "hello".into()) [INFO] [stdout] 1301 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | / context [INFO] [stdout] 1300 | | .publish("A.tomato", "hello".into()) [INFO] [stdout] 1301 | | .await [INFO] [stdout] 1302 | | .unwrap() [INFO] [stdout] 1303 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1306:23 [INFO] [stdout] | [INFO] [stdout] 1306 | assert_eq!(1, kv.entry("orange").await.unwrap().unwrap().revision); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1307:23 [INFO] [stdout] | [INFO] [stdout] 1307 | assert_eq!(2, kv.entry("tomato").await.unwrap().unwrap().revision); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1313:9 [INFO] [stdout] | [INFO] [stdout] 1313 | context.update_stream(config).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | 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/kv_tests.rs:1315:18 [INFO] [stdout] | [INFO] [stdout] 1315 | let kv = context.get_key_value("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1317:23 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(1, kv.entry("orange").await.unwrap().unwrap().revision); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/kv_tests.rs:1318:23 [INFO] [stdout] | [INFO] [stdout] 1318 | assert_eq!(2, kv.entry("tomato").await.unwrap().unwrap().revision); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/client_tests.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let result = sub.unsubscribe().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | println!("source: {:?}", err.source()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 326 | let result: Result<_, E> = sub.unsubscribe().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | let mut sub2 = client.subscribe("test2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | client.publish("test2", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | assert!(sub2.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:343:22 [INFO] [stdout] | [INFO] [stdout] 343 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:346:23 [INFO] [stdout] | [INFO] [stdout] 346 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | sub.unsubscribe_after(3).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:364:22 [INFO] [stdout] | [INFO] [stdout] 364 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:366:23 [INFO] [stdout] | [INFO] [stdout] 366 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | sub.unsubscribe_after(1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:374:17 [INFO] [stdout] | [INFO] [stdout] 374 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | assert!(async_nats::connect("localhost:1111").await.is_err()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | assert!(async_nats::connect("localhost:1111").await.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | assert!(async_nats::connect("demo.nats.io").await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | assert!(async_nats::connect("demo.nats.io").await.is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:390:22 [INFO] [stdout] | [INFO] [stdout] 390 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | assert!(async_nats::ConnectOptions::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 392 | | .require_tls(true) [INFO] [stdout] 393 | | .connect(server.client_url()) [INFO] [stdout] 394 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:413:27 [INFO] [stdout] | [INFO] [stdout] 413 | .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] 413 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:409:22 [INFO] [stdout] | [INFO] [stdout] 409 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 410 | | .connect( [INFO] [stdout] 411 | | servers [INFO] [stdout] 412 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 417 | | .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/kv_tests.rs:1110:30 [INFO] [stdout] | [INFO] [stdout] 1110 | 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[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:420:30 [INFO] [stdout] | [INFO] [stdout] 420 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/kv_tests.rs:1211:30 [INFO] [stdout] | [INFO] [stdout] 1211 | 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] Some errors have detailed explanations: E0277, E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:423:13 [INFO] [stdout] | [INFO] [stdout] 423 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | assert!(subscriber.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:434:22 [INFO] [stdout] | [INFO] [stdout] 434 | let server = nats_server::run_server("tests/configs/token.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:435:22 [INFO] [stdout] | [INFO] [stdout] 435 | let client = async_nats::ConnectOptions::with_token("s3cr3t".into()) [INFO] [stdout] | ______________________^ [INFO] [stdout] 436 | | .connect(server.client_url()) [INFO] [stdout] 437 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:440:23 [INFO] [stdout] | [INFO] [stdout] 440 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | client.publish("test", "test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:442:9 [INFO] [stdout] | [INFO] [stdout] 442 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:448:22 [INFO] [stdout] | [INFO] [stdout] 448 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | / async_nats::ConnectOptions::with_user_and_password("derek".into(), "s3cr3t".into()) [INFO] [stdout] 451 | | .connect(server.client_url()) [INFO] [stdout] 452 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:455:23 [INFO] [stdout] | [INFO] [stdout] 455 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | client.publish("test", "test".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 457 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:464:19 [INFO] [stdout] | [INFO] [stdout] 464 | let err = async_nats::ConnectOptions::new() [INFO] [stdout] | ___________________^ [INFO] [stdout] 465 | | .connect(server.client_url()) [INFO] [stdout] 466 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:474:22 [INFO] [stdout] | [INFO] [stdout] 474 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | let err = async_nats::ConnectOptions::with_user_and_password( [INFO] [stdout] | ___________________^ [INFO] [stdout] 476 | | "derek".into(), [INFO] [stdout] 477 | | "bad_password".into(), [INFO] [stdout] ... | [INFO] [stdout] 480 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:487:22 [INFO] [stdout] | [INFO] [stdout] 487 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:492:22 [INFO] [stdout] | [INFO] [stdout] 492 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 493 | | .event_callback(move |event| { [INFO] [stdout] 494 | | let tx = tx.clone(); [INFO] [stdout] 495 | | let dc_tx = dc_tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 507 | | .connect(server.client_url()) [INFO] [stdout] 508 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:518:23 [INFO] [stdout] | [INFO] [stdout] 518 | let _server = nats_server::run_server_with_port("", Some(port.as_str())); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:534:22 [INFO] [stdout] | [INFO] [stdout] 534 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:537:22 [INFO] [stdout] | [INFO] [stdout] 537 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 538 | | .event_callback(move |event| { [INFO] [stdout] 539 | | let tx = tx.clone(); [INFO] [stdout] 540 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 546 | | .connect(server.client_url()) [INFO] [stdout] 547 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:550:23 [INFO] [stdout] | [INFO] [stdout] 550 | let mut sub = client.subscribe("data").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | client.publish("data", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 554 | nats_server::set_lame_duck_mode(&server); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (test "kv_tests") due to 316 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 563 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:566:22 [INFO] [stdout] | [INFO] [stdout] 566 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 567 | | .subscription_capacity(1) [INFO] [stdout] 568 | | .event_callback(move |event| { [INFO] [stdout] 569 | | let tx = tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 576 | | .connect(server.client_url()) [INFO] [stdout] 577 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:580:20 [INFO] [stdout] | [INFO] [stdout] 580 | let _sub = client.subscribe("data").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 581 | client.publish("data", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | client.publish("data", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:584:9 [INFO] [stdout] | [INFO] [stdout] 584 | client.publish("data", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:601:22 [INFO] [stdout] | [INFO] [stdout] 601 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:602:22 [INFO] [stdout] | [INFO] [stdout] 602 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 603 | | .connect(server.client_url()) [INFO] [stdout] 604 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:606:32 [INFO] [stdout] | [INFO] [stdout] 606 | let mut subscription = client.subscribe("echo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | client.publish("echo", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:608:9 [INFO] [stdout] | [INFO] [stdout] 608 | / tokio::time::timeout(Duration::from_millis(500), subscription.next()) [INFO] [stdout] 609 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:613:22 [INFO] [stdout] | [INFO] [stdout] 613 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:614:22 [INFO] [stdout] | [INFO] [stdout] 614 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 615 | | .no_echo() [INFO] [stdout] 616 | | .connect(server.client_url()) [INFO] [stdout] 617 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:619:32 [INFO] [stdout] | [INFO] [stdout] 619 | let mut subscription = client.subscribe("echo").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | client.publish("echo", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | / tokio::time::timeout(Duration::from_millis(50), subscription.next()) [INFO] [stdout] 622 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:628:22 [INFO] [stdout] | [INFO] [stdout] 628 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:631:35 [INFO] [stdout] | [INFO] [stdout] 631 | .event_callback(move |err| { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 634 | tx.send(err.to_string()).unwrap(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 631 | .event_callback(move |err: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:630:23 [INFO] [stdout] | [INFO] [stdout] 630 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 631 | | .event_callback(move |err| { [INFO] [stdout] 632 | | let tx = tx.clone(); [INFO] [stdout] 633 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 637 | | .connect(server.client_url()) [INFO] [stdout] 638 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:649:22 [INFO] [stdout] | [INFO] [stdout] 649 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | let _ = ConnectOptions::new() [INFO] [stdout] | _________________^ [INFO] [stdout] 654 | | .retry_on_initial_connect() [INFO] [stdout] 655 | | .reconnect_delay_callback(move |attempts| { [INFO] [stdout] 656 | | let tx = tx.clone(); [INFO] [stdout] ... | [INFO] [stdout] 668 | | .connect(server.client_url()) [INFO] [stdout] 669 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | let timeout_result = ConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | timeout_result.unwrap_err().kind(), [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `timeout_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 728 | let timeout_result: /* Type */ = ConnectOptions::new() [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:742:22 [INFO] [stdout] | [INFO] [stdout] 742 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:743:22 [INFO] [stdout] | [INFO] [stdout] 743 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 744 | | .custom_inbox_prefix("BOB") [INFO] [stdout] 745 | | .connect(server.client_url()) [INFO] [stdout] 746 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:749:47 [INFO] [stdout] | [INFO] [stdout] 749 | let mut inbox_wildcard_subscription = client.subscribe("BOB.>").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:750:32 [INFO] [stdout] | [INFO] [stdout] 750 | let mut subscription = client.subscribe("request").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:755:27 [INFO] [stdout] | [INFO] [stdout] 755 | let msg = subscription.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | / client [INFO] [stdout] 757 | | .publish(msg.reply.unwrap(), "prefix workers".into()) [INFO] [stdout] 758 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | client.request("request", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | inbox_wildcard_subscription.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:769:22 [INFO] [stdout] | [INFO] [stdout] 769 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:770:22 [INFO] [stdout] | [INFO] [stdout] 770 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:770:22 [INFO] [stdout] | [INFO] [stdout] 770 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:779:22 [INFO] [stdout] | [INFO] [stdout] 779 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:787:23 [INFO] [stdout] | [INFO] [stdout] 787 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 788 | | .connect("localhost:7779") [INFO] [stdout] 789 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:791:22 [INFO] [stdout] | [INFO] [stdout] 791 | let client = ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 792 | | .event_callback(|ev| async move { [INFO] [stdout] 793 | | println!("event: {ev}"); [INFO] [stdout] 794 | | }) [INFO] [stdout] 795 | | .retry_on_initial_connect() [INFO] [stdout] 796 | | .connect("localhost:7779") [INFO] [stdout] 797 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:800:23 [INFO] [stdout] | [INFO] [stdout] 800 | let mut sub = client.subscribe("DATA").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:801:9 [INFO] [stdout] | [INFO] [stdout] 801 | client.publish("DATA", "payload".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:803:23 [INFO] [stdout] | [INFO] [stdout] 803 | let _server = nats_server::run_server_with_port("", Some("7779")); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:804:9 [INFO] [stdout] | [INFO] [stdout] 804 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:810:13 [INFO] [stdout] | [INFO] [stdout] 810 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:811:13 [INFO] [stdout] | [INFO] [stdout] 811 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:827:27 [INFO] [stdout] | [INFO] [stdout] 827 | .map(|s| s.client_url().parse::().unwrap()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 827 | .map(|s: /* Type */| s.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | let _ = ConnectOptions::with_user_and_password("js".into(), "js".into()) [INFO] [stdout] | _________________^ [INFO] [stdout] 815 | | .event_callback(move |event| { [INFO] [stdout] 816 | | let tx = tx.clone(); [INFO] [stdout] 817 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 830 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | nats_server::run_basic_server(), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | nats_server::run_server("tests/configs/jwt.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | nats_server::run_server("tests/configs/token.conf"), [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:848:22 [INFO] [stdout] | [INFO] [stdout] 848 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 849 | | .user_and_password("js".into(), "js".into()) [INFO] [stdout] 850 | | .token("s3cr3t".into()) [INFO] [stdout] 851 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] 852 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:857:27 [INFO] [stdout] | [INFO] [stdout] 857 | .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] 857 | .map(|server: /* Type */| server.client_url().parse::().unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:848:22 [INFO] [stdout] | [INFO] [stdout] 848 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 849 | | .user_and_password("js".into(), "js".into()) [INFO] [stdout] 850 | | .token("s3cr3t".into()) [INFO] [stdout] 851 | | .credentials_file(path.join("tests/configs/TestUser.creds")) [INFO] [stdout] ... | [INFO] [stdout] 861 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:864:30 [INFO] [stdout] | [INFO] [stdout] 864 | let mut subscriber = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:868:21 [INFO] [stdout] | [INFO] [stdout] 868 | assert!(subscriber.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:877:22 [INFO] [stdout] | [INFO] [stdout] 877 | let server = nats_server::run_server("tests/configs/user_pass.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:879:9 [INFO] [stdout] | [INFO] [stdout] 879 | / ConnectOptions::with_auth_callback(move |_| async move { [INFO] [stdout] 880 | | let mut auth = async_nats::Auth::new(); [INFO] [stdout] 881 | | auth.username = Some("derek".to_string()); [INFO] [stdout] 882 | | auth.password = Some("s3cr3t".to_string()); [INFO] [stdout] ... | [INFO] [stdout] 885 | | .connect(server.client_url()) [INFO] [stdout] 886 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:892:22 [INFO] [stdout] | [INFO] [stdout] 892 | let server = 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[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/client_tests.rs:894:50 [INFO] [stdout] | [INFO] [stdout] 894 | ConnectOptions::with_auth_callback(move |nonce| async move { [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | / ... ConnectOptions::with_auth_callback(move |nonce| async move { [INFO] [stdout] 895 | | ... let mut auth = async_nats::Auth::new(); [INFO] [stdout] 896 | | ... auth.jwt = Some("eyJ0eXAiOiJKV1QiLCJhbGciOiJlZDI1NTE5LW5rZXkifQ.".to_owned() + [INFO] [stdout] 897 | | ... "eyJqdGkiOiJMN1dBT1hJU0tPSUZNM1QyNEhMQ09ENzJRT1czQkNVWEdETjRKVU1SSUtHTlQ3RzdZVFRRIiwiaWF0IjoxNjUxNzkwOTgyLCJpc3MiOi... [INFO] [stdout] ... | [INFO] [stdout] 907 | | ... .connect(server.client_url()) [INFO] [stdout] 908 | | ... .await [INFO] [stdout] | |____________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:915:23 [INFO] [stdout] | [INFO] [stdout] 915 | let _client = ConnectOptions::new() [INFO] [stdout] | _______________________^ [INFO] [stdout] 916 | | .max_reconnects(5) [INFO] [stdout] 917 | | .retry_on_initial_connect() [INFO] [stdout] 918 | | .event_callback(move |event| { [INFO] [stdout] ... | [INFO] [stdout] 925 | | .connect("localhost:7778") [INFO] [stdout] 926 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:943:22 [INFO] [stdout] | [INFO] [stdout] 943 | let server = nats_server::run_server("tests/configs/max_payload.conf"); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:945:22 [INFO] [stdout] | [INFO] [stdout] 945 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:945:22 [INFO] [stdout] | [INFO] [stdout] 945 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | client.publish("big", payload.into()).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | client.publish("small", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:952:9 [INFO] [stdout] | [INFO] [stdout] 952 | / client [INFO] [stdout] 953 | | .publish("just_ok", vec![0u8; 1024 * 128].into()) [INFO] [stdout] 954 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:960:22 [INFO] [stdout] | [INFO] [stdout] 960 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:963:22 [INFO] [stdout] | [INFO] [stdout] 963 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 964 | | .event_callback(move |event| { [INFO] [stdout] 965 | | let tx = tx.clone(); [INFO] [stdout] 966 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 972 | | .connect(server.client_url()) [INFO] [stdout] 973 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:988:29 [INFO] [stdout] | [INFO] [stdout] 988 | let mut responder = client.subscribe("request").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:992:27 [INFO] [stdout] | [INFO] [stdout] 992 | let msg = responder.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:993:17 [INFO] [stdout] | [INFO] [stdout] 993 | / client [INFO] [stdout] 994 | | .publish(msg.reply.unwrap(), "response".into()) [INFO] [stdout] 995 | | .await [INFO] [stdout] | |__________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:999:9 [INFO] [stdout] | [INFO] [stdout] 999 | client.request("request", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1001:23 [INFO] [stdout] | [INFO] [stdout] 1001 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1002:9 [INFO] [stdout] | [INFO] [stdout] 1002 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1003:9 [INFO] [stdout] | [INFO] [stdout] 1003 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1004:9 [INFO] [stdout] | [INFO] [stdout] 1004 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1005:9 [INFO] [stdout] | [INFO] [stdout] 1005 | sub.next().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1007:9 [INFO] [stdout] | [INFO] [stdout] 1007 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | client.force_reconnect().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:1024:22 [INFO] [stdout] | [INFO] [stdout] 1024 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs: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/client_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/client_tests.rs:1029:22 [INFO] [stdout] | [INFO] [stdout] 1029 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1030 | | .request_timeout(Some(Duration::from_secs(30))) [INFO] [stdout] 1031 | | .connect(server.client_url()) [INFO] [stdout] 1032 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1037:22 [INFO] [stdout] | [INFO] [stdout] 1037 | let client = async_nats::ConnectOptions::new() [INFO] [stdout] | ______________________^ [INFO] [stdout] 1038 | | .request_timeout(None) [INFO] [stdout] 1039 | | .connect(server.client_url()) [INFO] [stdout] 1040 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:1049:22 [INFO] [stdout] | [INFO] [stdout] 1049 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1050:22 [INFO] [stdout] | [INFO] [stdout] 1050 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1052:23 [INFO] [stdout] | [INFO] [stdout] 1052 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1055:9 [INFO] [stdout] | [INFO] [stdout] 1055 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1059:17 [INFO] [stdout] | [INFO] [stdout] 1059 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(), _>` [INFO] [stdout] --> tests/client_tests.rs:1062:13 [INFO] [stdout] | [INFO] [stdout] 1062 | let result = sub.drain().await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1067 | println!("source: {:?}", err.source()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 1062 | let result: Result<_, E> = sub.drain().await; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1072:17 [INFO] [stdout] | [INFO] [stdout] 1072 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1075:24 [INFO] [stdout] | [INFO] [stdout] 1075 | let mut sub2 = client.subscribe("test2").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1076 | client.publish("test2", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1077:9 [INFO] [stdout] | [INFO] [stdout] 1077 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1078:17 [INFO] [stdout] | [INFO] [stdout] 1078 | assert!(sub2.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:1083:22 [INFO] [stdout] | [INFO] [stdout] 1083 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1084:22 [INFO] [stdout] | [INFO] [stdout] 1084 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1084:22 [INFO] [stdout] | [INFO] [stdout] 1084 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1086:23 [INFO] [stdout] | [INFO] [stdout] 1086 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1088:9 [INFO] [stdout] | [INFO] [stdout] 1088 | / sub.unsubscribe_after(120) [INFO] [stdout] 1089 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1094:9 [INFO] [stdout] | [INFO] [stdout] 1094 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1095:9 [INFO] [stdout] | [INFO] [stdout] 1095 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1098:9 [INFO] [stdout] | [INFO] [stdout] 1098 | sub.drain().await.expect("Expected to drain the sub"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1101:17 [INFO] [stdout] | [INFO] [stdout] 1101 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1102:17 [INFO] [stdout] | [INFO] [stdout] 1102 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1103:17 [INFO] [stdout] | [INFO] [stdout] 1103 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:1108:22 [INFO] [stdout] | [INFO] [stdout] 1108 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1109:22 [INFO] [stdout] | [INFO] [stdout] 1109 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1109:22 [INFO] [stdout] | [INFO] [stdout] 1109 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1116:21 [INFO] [stdout] | [INFO] [stdout] 1116 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1117:21 [INFO] [stdout] | [INFO] [stdout] 1117 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1122:23 [INFO] [stdout] | [INFO] [stdout] 1122 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1128:9 [INFO] [stdout] | [INFO] [stdout] 1128 | sub.drain().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1134:44 [INFO] [stdout] | [INFO] [stdout] 1134 | let sleep_fut = async move { while sub.next().await.is_some() {} }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1143:24 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut sub2 = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1144:17 [INFO] [stdout] | [INFO] [stdout] 1144 | assert!(sub2.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] --> tests/client_tests.rs:1149:22 [INFO] [stdout] | [INFO] [stdout] 1149 | let server = nats_server::run_basic_server(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `nats_server` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `nats_server`, use `cargo add nats_server` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1150:22 [INFO] [stdout] | [INFO] [stdout] 1150 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1150:22 [INFO] [stdout] | [INFO] [stdout] 1150 | let client = async_nats::connect(server.client_url()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1152:23 [INFO] [stdout] | [INFO] [stdout] 1152 | let mut sub = client.subscribe("test").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1155:9 [INFO] [stdout] | [INFO] [stdout] 1155 | client.publish("test", "data".into()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | client.flush().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1159:17 [INFO] [stdout] | [INFO] [stdout] 1159 | assert!(sub.next().await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1162:9 [INFO] [stdout] | [INFO] [stdout] 1162 | client.drain().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1165:17 [INFO] [stdout] | [INFO] [stdout] 1165 | assert!(sub.next().await.is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1168:9 [INFO] [stdout] | [INFO] [stdout] 1168 | / client [INFO] [stdout] 1169 | | .subscribe("test2") [INFO] [stdout] 1170 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1173:9 [INFO] [stdout] | [INFO] [stdout] 1173 | / client [INFO] [stdout] 1174 | | .publish("test", "data".into()) [INFO] [stdout] 1175 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/client_tests.rs:1179:24 [INFO] [stdout] | [INFO] [stdout] 1179 | let _client2 = async_nats::connect(server.client_url()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_tests.rs:1179:24 [INFO] [stdout] | [INFO] [stdout] 1179 | let _client2 = async_nats::connect(server.client_url()) [INFO] [stdout] | ________________________^ [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 `async_nats` [INFO] [stdout] --> tests/client_tests.rs:781:32 [INFO] [stdout] | [INFO] [stdout] 781 | let _error: Result<(), async_nats::PublishError> = [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_nats`, use `cargo add async_nats` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-nats-flyradar` (test "client_tests") due to 306 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `async_nats` [INFO] [stdout] --> tests/jetstream_tests.rs: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 [WARN] too many lines in the log, truncating it