[INFO] fetching crate meegle-sdk 0.0.1... [INFO] checking meegle-sdk-0.0.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate meegle-sdk 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate meegle-sdk 0.0.1 [INFO] finished tweaking crates.io crate meegle-sdk 0.0.1 [INFO] tweaked toml for crates.io crate meegle-sdk 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate meegle-sdk 0.0.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate meegle-sdk 0.0.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f9be39c079b190c42906f380acab685fa460072e5d938b41fa93ebc3c3a4ee [INFO] running `Command { std: "docker" "start" "-a" "80f9be39c079b190c42906f380acab685fa460072e5d938b41fa93ebc3c3a4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f9be39c079b190c42906f380acab685fa460072e5d938b41fa93ebc3c3a4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f9be39c079b190c42906f380acab685fa460072e5d938b41fa93ebc3c3a4ee", kill_on_drop: false }` [INFO] [stdout] 80f9be39c079b190c42906f380acab685fa460072e5d938b41fa93ebc3c3a4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d1ba3a8fa5d210e3c188625c83b2c624382a3f3d7e94ee8bf105cfda40044c [INFO] running `Command { std: "docker" "start" "-a" "70d1ba3a8fa5d210e3c188625c83b2c624382a3f3d7e94ee8bf105cfda40044c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling serde_json v1.0.136 [INFO] [stderr] Checking rustix v0.38.43 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking serde v1.0.217 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking meegle-sdk v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/business/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / async fn get_business_list( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | request: GetBusinessListRequest, [INFO] [stdout] 19 | | auth: AuthType, [INFO] [stdout] 20 | | ) -> ApiResult { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/business/api.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> ApiResult { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 21 | | Ok(self [INFO] [stdout] 22 | | .get(&format!("{}/business/all", request.project_key), auth) [INFO] [stdout] 23 | | .await?) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `BusinessApi::get_business_list::{anon_assoc#0}` [INFO] [stdout] --> src/business/api.rs:12:82 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `BusinessApi::get_business_list::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/chat/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / async fn bot_join_chat( [INFO] [stdout] 19 | | &self, [INFO] [stdout] 20 | | request: BotJoinChatRequest, [INFO] [stdout] 21 | | auth: AuthType, [INFO] [stdout] 22 | | ) -> ApiResult { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/chat/api.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> ApiResult { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 23 | | let url = format!( [INFO] [stdout] 24 | | "{}/work_item/{}/bot_join_chat", [INFO] [stdout] 25 | | request.project_key, request.work_item_id [INFO] [stdout] ... | [INFO] [stdout] 33 | | Ok(self.post(&url, &body, auth).await?) [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `ChatApi::bot_join_chat::{anon_assoc#0}` [INFO] [stdout] --> src/chat/api.rs:14:78 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `ChatApi::bot_join_chat::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/comment/api.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / async fn create_comment( [INFO] [stdout] 41 | | &self, [INFO] [stdout] 42 | | request: CreateCommentRequest, [INFO] [stdout] 43 | | auth: AuthType, [INFO] [stdout] 44 | | ) -> ApiResult { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/comment/api.rs:44:43 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> ApiResult { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 45 | | Ok(self [INFO] [stdout] 46 | | .post( [INFO] [stdout] 47 | | &format!( [INFO] [stdout] ... | [INFO] [stdout] 54 | | .await?) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `CommentApi::create_comment::{anon_assoc#0}` [INFO] [stdout] --> src/comment/api.rs:12:80 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `CommentApi::create_comment::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/field/api.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / async fn list_fields( [INFO] [stdout] 52 | | &self, [INFO] [stdout] 53 | | project_key: &str, [INFO] [stdout] 54 | | request: ListFieldsRequest, [INFO] [stdout] 55 | | auth: AuthType, [INFO] [stdout] 56 | | ) -> ApiResult { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/field/api.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | ) -> ApiResult { [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 57 | | Ok(self [INFO] [stdout] 58 | | .post(&format!("{}/field/all", project_key), request, auth) [INFO] [stdout] 59 | | .await?) [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `FieldApi::list_fields::{anon_assoc#0}` [INFO] [stdout] --> src/field/api.rs:17:77 [INFO] [stdout] | [INFO] [stdout] 17 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `FieldApi::list_fields::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&TokenManager: Send` [INFO] [stdout] --> src/file/api.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / async fn upload_work_item_file( [INFO] [stdout] 41 | | &self, [INFO] [stdout] 42 | | request: UploadWorkItemFileRequest, [INFO] [stdout] 43 | | auth: AuthType, [INFO] [stdout] 44 | | ) -> ApiResult { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 238 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 239 | | let mut request_builder = self.http_client.request(reqwest::Method::POST, &url); [INFO] [stdout] ... | [INFO] [stdout] 303 | | Self::handle_response(response).await [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/file/api.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> ApiResult { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 45 | | let url = format!( [INFO] [stdout] 46 | | "{}/work_item/{}/{}/file/upload", [INFO] [stdout] 47 | | request.project_key, request.work_item_type_key, request.work_item_id [INFO] [stdout] ... | [INFO] [stdout] 50 | | Ok(self.post_multipart(&url, request, auth).await?) [INFO] [stdout] 51 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `FileApi::upload_work_item_file::{anon_assoc#0}` [INFO] [stdout] --> src/file/api.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `FileApi::upload_work_item_file::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/finished/api.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / async fn batch_query_finished( [INFO] [stdout] 33 | | &self, [INFO] [stdout] 34 | | request: BatchQueryFinishedRequest, [INFO] [stdout] 35 | | auth: AuthType, [INFO] [stdout] 36 | | ) -> ApiResult { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/finished/api.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> ApiResult { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 37 | | Ok(self [INFO] [stdout] 38 | | .post("work_item/finished/batch_query", &request, auth) [INFO] [stdout] 39 | | .await?) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `FinishedApi::batch_query_finished::{anon_assoc#0}` [INFO] [stdout] --> src/finished/api.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `FinishedApi::batch_query_finished::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/measure/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / async fn get_measure_chart_detail( [INFO] [stdout] 18 | | &self, [INFO] [stdout] 19 | | request: GetMeasureChartDetailRequest, [INFO] [stdout] 20 | | auth: AuthType, [INFO] [stdout] 21 | | ) -> ApiResult { [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/measure/api.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> ApiResult { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 22 | | Ok(self [INFO] [stdout] 23 | | .get( [INFO] [stdout] 24 | | &format!( [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await?) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `MeasureApi::get_measure_chart_detail::{anon_assoc#0}` [INFO] [stdout] --> src/measure/api.rs:13:88 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `MeasureApi::get_measure_chart_detail::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/project/api.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / async fn list_projects( [INFO] [stdout] 23 | | &self, [INFO] [stdout] 24 | | request: ListProjectRequest, [INFO] [stdout] 25 | | auth: AuthType, [INFO] [stdout] 26 | | ) -> ApiResult { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/project/api.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> ApiResult { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 27 | | Ok(self.post("projects", request, auth).await?) [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `ProjectApi::list_projects::{anon_assoc#0}` [INFO] [stdout] --> src/project/api.rs:11:78 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `ProjectApi::list_projects::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/project_relation/api.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / async fn get_project_relation_rules( [INFO] [stdout] 42 | | &self, [INFO] [stdout] 43 | | request: GetProjectRelationRulesRequest, [INFO] [stdout] 44 | | auth: AuthType, [INFO] [stdout] 45 | | ) -> ApiResult { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/project_relation/api.rs:45:53 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> ApiResult { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 46 | | Ok(self [INFO] [stdout] 47 | | .post( [INFO] [stdout] 48 | | &format!("{}/relation/rules", request.project_key), [INFO] [stdout] ... | [INFO] [stdout] 52 | | .await?) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `ProjectRelationApi::get_project_relation_rules::{anon_assoc#0}` [INFO] [stdout] --> src/project_relation/api.rs:13:90 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `ProjectRelationApi::get_project_relation_rules::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/role/api.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / async fn get_role_config( [INFO] [stdout] 18 | | &self, [INFO] [stdout] 19 | | request: GetRoleConfigRequest, [INFO] [stdout] 20 | | auth: AuthType, [INFO] [stdout] 21 | | ) -> ApiResult { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/role/api.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | ) -> ApiResult { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 22 | | Ok(self [INFO] [stdout] 23 | | .get( [INFO] [stdout] 24 | | &format!( [INFO] [stdout] ... | [INFO] [stdout] 30 | | .await?) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `RoleApi::get_role_config::{anon_assoc#0}` [INFO] [stdout] --> src/role/api.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `RoleApi::get_role_config::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/subtask/api.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | / async fn create_subtask( [INFO] [stdout] 83 | | &self, [INFO] [stdout] 84 | | project_key: &str, [INFO] [stdout] 85 | | work_item_type_key: &str, [INFO] [stdout] ... | [INFO] [stdout] 88 | | auth: AuthType, [INFO] [stdout] 89 | | ) -> ApiResult { [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/subtask/api.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> ApiResult { [INFO] [stdout] | _________________________^ [INFO] [stdout] 90 | | let path = format!( [INFO] [stdout] 91 | | "{}/work_item/{}/{}/workflow/task", [INFO] [stdout] 92 | | project_key, work_item_type_key, work_item_id [INFO] [stdout] 93 | | ); [INFO] [stdout] 94 | | Ok(self.post(&path, request, auth).await?) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `SubTaskApi::create_subtask::{anon_assoc#0}` [INFO] [stdout] --> src/subtask/api.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `SubTaskApi::create_subtask::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/user/api.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn get_teams(&self, project_key: String, auth: AuthType) -> ApiResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/user/api.rs:29:99 [INFO] [stdout] | [INFO] [stdout] 29 | async fn get_teams(&self, project_key: String, auth: AuthType) -> ApiResult { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 30 | | Ok(self [INFO] [stdout] 31 | | .get(&format!("{}/teams/all", project_key), auth) [INFO] [stdout] 32 | | .await?) [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `UserApi::get_teams::{anon_assoc#0}` [INFO] [stdout] --> src/user/api.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `UserApi::get_teams::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/user_group/api.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / async fn get_user_group_members( [INFO] [stdout] 33 | | &self, [INFO] [stdout] 34 | | request: GetUserGroupMembersRequest, [INFO] [stdout] 35 | | auth: AuthType, [INFO] [stdout] 36 | | ) -> ApiResult { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/user_group/api.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> ApiResult { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 37 | | Ok(self [INFO] [stdout] 38 | | .post( [INFO] [stdout] 39 | | &format!("{}/user_groups/members/page", request.project_key), [INFO] [stdout] ... | [INFO] [stdout] 43 | | .await?) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `UserGroupApi::get_user_group_members::{anon_assoc#0}` [INFO] [stdout] --> src/user_group/api.rs:12:76 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `UserGroupApi::get_user_group_members::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/view/api.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / async fn get_view_list( [INFO] [stdout] 73 | | &self, [INFO] [stdout] 74 | | request: GetViewListRequest, [INFO] [stdout] 75 | | auth: AuthType, [INFO] [stdout] 76 | | ) -> ApiResult { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/view/api.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | ) -> ApiResult { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 77 | | Ok(self [INFO] [stdout] 78 | | .post( [INFO] [stdout] 79 | | &format!("{}/view_conf/list", request.project_key), [INFO] [stdout] ... | [INFO] [stdout] 83 | | .await?) [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `ViewApi::get_view_list::{anon_assoc#0}` [INFO] [stdout] --> src/view/api.rs:12:78 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `ViewApi::get_view_list::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/work_hour/api.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / async fn get_work_hour_records( [INFO] [stdout] 41 | | &self, [INFO] [stdout] 42 | | request: GetWorkHourRecordsRequest, [INFO] [stdout] 43 | | auth: AuthType, [INFO] [stdout] 44 | | ) -> ApiResult { [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/work_hour/api.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> ApiResult { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 45 | | Ok(self [INFO] [stdout] 46 | | .post("work_item/man_hour/records", &request, auth) [INFO] [stdout] 47 | | .await?) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkHourApi::get_work_hour_records::{anon_assoc#0}` [INFO] [stdout] --> src/work_hour/api.rs:12:85 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkHourApi::get_work_hour_records::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/workflow/api.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / async fn update_node( [INFO] [stdout] 109 | | &self, [INFO] [stdout] 110 | | project_key: &str, [INFO] [stdout] 111 | | work_item_type_key: &str, [INFO] [stdout] ... | [INFO] [stdout] 115 | | auth: AuthType, [INFO] [stdout] 116 | | ) -> ApiResult { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 184 | | let request = self.build_request(reqwest::Method::PUT, path, auth).await?; [INFO] [stdout] 185 | | let response = request.json(&body).send().await?; [INFO] [stdout] 186 | | Self::handle_response(response).await [INFO] [stdout] 187 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/workflow/api.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | ) -> ApiResult { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 117 | | let path = format!( [INFO] [stdout] 118 | | "{}/workflow/{}/{}/node/{}", [INFO] [stdout] 119 | | project_key, work_item_type_key, work_item_id, node_id [INFO] [stdout] 120 | | ); [INFO] [stdout] 121 | | Ok(self.put(&path, request, auth).await?) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkflowApi::update_node::{anon_assoc#0}` [INFO] [stdout] --> src/workflow/api.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkflowApi::update_node::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/workflow_template/api.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / async fn get_workflow_template_list( [INFO] [stdout] 49 | | &self, [INFO] [stdout] 50 | | request: GetWorkflowTemplateListRequest, [INFO] [stdout] 51 | | auth: AuthType, [INFO] [stdout] 52 | | ) -> ApiResult { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/workflow_template/api.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | ) -> ApiResult { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 53 | | Ok(self [INFO] [stdout] 54 | | .get( [INFO] [stdout] 55 | | &format!( [INFO] [stdout] ... | [INFO] [stdout] 61 | | .await?) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkflowTemplateApi::get_workflow_template_list::{anon_assoc#0}` [INFO] [stdout] --> src/workflow_template/api.rs:12:90 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkflowTemplateApi::get_workflow_template_list::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/workitem/api.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / async fn filter_work_items_in_project( [INFO] [stdout] 155 | | &self, [INFO] [stdout] 156 | | project_key: String, [INFO] [stdout] 157 | | request: FilterWorkItemsInProjectRequest, [INFO] [stdout] 158 | | auth: AuthType, [INFO] [stdout] 159 | | ) -> ApiResult { [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 170 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 171 | | let request = self [INFO] [stdout] 172 | | .build_request(reqwest::Method::POST, path, auth) [INFO] [stdout] 173 | | .await?; [INFO] [stdout] 174 | | let response = request.json(&body).send().await?; [INFO] [stdout] 175 | | Self::handle_response(response).await [INFO] [stdout] 176 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/workitem/api.rs:159:54 [INFO] [stdout] | [INFO] [stdout] 159 | ) -> ApiResult { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 160 | | Ok(self [INFO] [stdout] 161 | | .post(format!("{}/work_item/filter", project_key), request, auth) [INFO] [stdout] 162 | | .await?) [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkItemApi::filter_work_items_in_project::{anon_assoc#0}` [INFO] [stdout] --> src/workitem/api.rs:14:91 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkItemApi::filter_work_items_in_project::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/workitem_relation/api.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / async fn get_work_item_relation_list( [INFO] [stdout] 41 | | &self, [INFO] [stdout] 42 | | request: GetWorkItemRelationListRequest, [INFO] [stdout] 43 | | auth: AuthType, [INFO] [stdout] 44 | | ) -> ApiResult { [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/workitem_relation/api.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | ) -> ApiResult { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 45 | | Ok(self [INFO] [stdout] 46 | | .get(&format!("{}/work_item/relation", request.project_key), auth) [INFO] [stdout] 47 | | .await?) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkItemRelationApi::get_work_item_relation_list::{anon_assoc#0}` [INFO] [stdout] --> src/workitem_relation/api.rs:12:90 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkItemRelationApi::get_work_item_relation_list::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `meegle-sdk` (lib test) due to 20 previous errors [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/workitem_type/api.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / async fn get_work_item_types( [INFO] [stdout] 33 | | &self, [INFO] [stdout] 34 | | request: GetWorkItemTypesRequest, [INFO] [stdout] 35 | | auth: AuthType, [INFO] [stdout] 36 | | ) -> ApiResult { [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/workitem_type/api.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | ) -> ApiResult { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 37 | | Ok(self [INFO] [stdout] 38 | | .get(&format!("{}/work_item/all-types", request.project_key), auth) [INFO] [stdout] 39 | | .await?) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `WorkItemTypeApi::get_work_item_types::{anon_assoc#0}` [INFO] [stdout] --> src/workitem_type/api.rs:12:83 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `WorkItemTypeApi::get_work_item_types::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/business/api.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / async fn get_business_list( [INFO] [stdout] 17 | | &self, [INFO] [stdout] 18 | | request: GetBusinessListRequest, [INFO] [stdout] 19 | | auth: AuthType, [INFO] [stdout] 20 | | ) -> ApiResult { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 87 | | let url = format!("{}/{}/{}", self.config.base_url, "open_api", path.into()); [INFO] [stdout] 88 | | let mut request = self [INFO] [stdout] 89 | | .http_client [INFO] [stdout] ... | [INFO] [stdout] 107 | | Ok(request) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/client.rs:145:30 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> Result { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 146 | | let request = self.build_request(reqwest::Method::GET, path, auth).await?; [INFO] [stdout] 147 | | let response = request.send().await?; [INFO] [stdout] 148 | | Self::handle_response(response).await [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/business/api.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> ApiResult { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 21 | | Ok(self [INFO] [stdout] 22 | | .get(&format!("{}/business/all", request.project_key), auth) [INFO] [stdout] 23 | | .await?) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required by a bound in `BusinessApi::get_business_list::{anon_assoc#0}` [INFO] [stdout] --> src/business/api.rs:12:82 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> impl std::future::Future> + Send; [INFO] [stdout] | ^^^^ required by this bound in `BusinessApi::get_business_list::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `&tokio::sync::batch_semaphore::Semaphore: Send` [INFO] [stdout] --> src/chat/api.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / async fn bot_join_chat( [INFO] [stdout] 19 | | &self, [INFO] [stdout] 20 | | request: BotJoinChatRequest, [INFO] [stdout] 21 | | auth: AuthType, [INFO] [stdout] 22 | | ) -> ApiResult { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`meegle`) [INFO] [stdout] note: required because it appears within the type `tokio::sync::batch_semaphore::Acquire<'_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/batch_semaphore.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct Acquire<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:651:29 [INFO] [stdout] | [INFO] [stdout] 651 | async fn acquire(&self) { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 652 | | crate::trace::async_trace_leaf().await; [INFO] [stdout] 653 | | [INFO] [stdout] 654 | | self.s.acquire(1).await.unwrap_or_else(|_| { [INFO] [stdout] ... | [INFO] [stdout] 658 | | }); [INFO] [stdout] 659 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:435:27 [INFO] [stdout] | [INFO] [stdout] 435 | let acquire_fut = async { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/sync/mutex.rs:434:51 [INFO] [stdout] | [INFO] [stdout] 434 | pub async fn lock(&self) -> MutexGuard<'_, T> { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 435 | | let acquire_fut = async { [INFO] [stdout] 436 | | self.acquire().await; [INFO] [stdout] ... | [INFO] [stdout] 465 | | guard [INFO] [stdout] 466 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [INFO] [stdout] | ____________________________________________________________________________________________^ [INFO] [stdout] 185 | | { [INFO] [stdout] 186 | | let cache = self.cache.lock().unwrap(); [INFO] [stdout] 187 | | if let Some(cached_token) = cache.get("_plugin") { [INFO] [stdout] ... | [INFO] [stdout] 226 | | Ok(token) [INFO] [stdout] 227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: required for `Unique>>>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>>` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:332:48 [INFO] [stdout] | [INFO] [stdout] 332 | ) -> Result> { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 333 | | let url = format!("{}/open_api/{}", self.config.base_url, path); [INFO] [stdout] 334 | | [INFO] [stdout] 335 | | let mut request = self [INFO] [stdout] ... | [INFO] [stdout] 346 | | Ok(response) [INFO] [stdout] 347 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:240:99 [INFO] [stdout] | [INFO] [stdout] 240 | async fn fetch_plugin_token(&self) -> Result> { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 241 | | let response: PluginTokenResponse = self [INFO] [stdout] 242 | | .request( [INFO] [stdout] 243 | | "authen/plugin_token", [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(response) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> src/token.rs:184:92 [INFO] [stdout] | [INFO] [stdout] 184 | pub async fn require_plugin_token(&self) -> Result> { [WARN] too many lines in the log, truncating it