[INFO] cloning repository https://github.com/hackermondev/bugcrowd-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hackermondev/bugcrowd-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackermondev%2Fbugcrowd-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackermondev%2Fbugcrowd-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8bcee073ec6f834934fba5483ef9331e0d19409 [INFO] checking hackermondev/bugcrowd-tracker against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhackermondev%2Fbugcrowd-tracker" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hackermondev/bugcrowd-tracker [INFO] finished tweaking git repo https://github.com/hackermondev/bugcrowd-tracker [INFO] tweaked toml for git repo https://github.com/hackermondev/bugcrowd-tracker written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hackermondev/bugcrowd-tracker on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hackermondev/bugcrowd-tracker 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/Cargo.toml: unused manifest key: workspace.rust-version [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd61f4a1bf292aea229ff51b602c73318844248ea8c314ae2190b68ceb93f6bd [INFO] running `Command { std: "docker" "start" "-a" "bd61f4a1bf292aea229ff51b602c73318844248ea8c314ae2190b68ceb93f6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd61f4a1bf292aea229ff51b602c73318844248ea8c314ae2190b68ceb93f6bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd61f4a1bf292aea229ff51b602c73318844248ea8c314ae2190b68ceb93f6bd", kill_on_drop: false }` [INFO] [stdout] bd61f4a1bf292aea229ff51b602c73318844248ea8c314ae2190b68ceb93f6bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c623ae9bf0665c1ff7b0222bcf607eb48857ae00577e6564f14994a9bcf10e12 [INFO] running `Command { std: "docker" "start" "-a" "c623ae9bf0665c1ff7b0222bcf607eb48857ae00577e6564f14994a9bcf10e12", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.rust-version [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking webpki-roots v1.0.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking resolv-conf v0.7.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking backon v1.5.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking twilight-model v0.16.0 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking dateparser v0.2.1 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking redis v0.32.2 [INFO] [stderr] Checking reqwest v0.12.20 [INFO] [stderr] Checking bugcrowd_api v0.1.0 (/opt/rustwide/workdir/bugcrowd_api) [INFO] [stderr] Checking twilight-validate v0.16.0 [INFO] [stderr] Checking twilight-util v0.16.0 [INFO] [stderr] Checking bugcrowd_tracker v0.1.0 (/opt/rustwide/workdir/bugcrowd_tracker) [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 89 | | let embed = match event { [INFO] [stdout] 90 | | Event::HeroAdded(hero) => { [INFO] [stdout] 91 | | let _hero = display(&hero); [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok(()) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / tokio::task::spawn(async move { [INFO] [stdout] 72 | | while let Some(event) = receiver.recv().await { [INFO] [stdout] 73 | | info!("recieved event {event:?}"); [INFO] [stdout] 74 | | if let Err(error) = handle_event(&webhook, event).await { [INFO] [stdout] ... | [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 89 | | let embed = match event { [INFO] [stdout] 90 | | Event::HeroAdded(hero) => { [INFO] [stdout] 91 | | let _hero = display(&hero); [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok(()) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:220:89 [INFO] [stdout] | [INFO] [stdout] 220 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 221 | | let embed = match event { [INFO] [stdout] 222 | | Event::ReportDisclosed(report) => { [INFO] [stdout] 223 | | let url = format!("https://bugcrowd.com{}", report.disclosure_report_url); [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(()) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / tokio::task::spawn(async move { [INFO] [stdout] 209 | | while let Some(event) = receiver.recv().await { [INFO] [stdout] 210 | | info!("recieved event {event:?}"); [INFO] [stdout] 211 | | if let Err(error) = handle_event(&webhook, event).await { [INFO] [stdout] ... | [INFO] [stdout] 216 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:220:89 [INFO] [stdout] | [INFO] [stdout] 220 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 221 | | let embed = match event { [INFO] [stdout] 222 | | Event::ReportDisclosed(report) => { [INFO] [stdout] 223 | | let url = format!("https://bugcrowd.com{}", report.disclosure_report_url); [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(()) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 89 | | let embed = match event { [INFO] [stdout] 90 | | Event::HeroAdded(hero) => { [INFO] [stdout] 91 | | let _hero = display(&hero); [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok(()) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | / tokio::task::spawn(async move { [INFO] [stdout] 72 | | while let Some(event) = receiver.recv().await { [INFO] [stdout] 73 | | info!("recieved event {event:?}"); [INFO] [stdout] 74 | | if let Err(error) = handle_event(&webhook, event).await { [INFO] [stdout] ... | [INFO] [stdout] 79 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:88:89 [INFO] [stdout] | [INFO] [stdout] 88 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 89 | | let embed = match event { [INFO] [stdout] 90 | | Event::HeroAdded(hero) => { [INFO] [stdout] 91 | | let _hero = display(&hero); [INFO] [stdout] ... | [INFO] [stdout] 183 | | Ok(()) [INFO] [stdout] 184 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:220:89 [INFO] [stdout] | [INFO] [stdout] 220 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 221 | | let embed = match event { [INFO] [stdout] 222 | | Event::ReportDisclosed(report) => { [INFO] [stdout] 223 | | let url = format!("https://bugcrowd.com{}", report.disclosure_report_url); [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(()) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bugcrowd_tracker` (bin "bugcrowd_tracker") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0275]: overflow evaluating the requirement `{async fn body of webhook::send_webhook()}: std::marker::Send` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / tokio::task::spawn(async move { [INFO] [stdout] 209 | | while let Some(event) = receiver.recv().await { [INFO] [stdout] 210 | | info!("recieved event {event:?}"); [INFO] [stdout] 211 | | if let Err(error) = handle_event(&webhook, event).await { [INFO] [stdout] ... | [INFO] [stdout] 216 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`bugcrowd_tracker`) [INFO] [stdout] note: required because it appears within the type `impl futures::Future>` [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: required for `Unique>>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/alloc/src/boxed.rs:231:12 [INFO] [stdout] note: required because it appears within the type `Pin>>>` [INFO] [stdout] --> /rustc/028201683a76a5cd349729c6819c46607119c4e8/library/core/src/pin.rs:1094:12 [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:17:89 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn send_webhook(webhook: &Webhook, embed: Embed) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 18 | | static REQUEST_CLIENT: LazyLock = LazyLock::new(|| { [INFO] [stdout] 19 | | ClientBuilder::new() [INFO] [stdout] 20 | | .timeout(Duration::from_secs(5)) [INFO] [stdout] ... | [INFO] [stdout] 54 | | Ok(()) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: required because it's used within this `async` fn body [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:220:89 [INFO] [stdout] | [INFO] [stdout] 220 | async fn handle_event(webhook: &Webhook, event: Event) -> Result<(), anyhow::Error> { [INFO] [stdout] | _________________________________________________________________________________________^ [INFO] [stdout] 221 | | let embed = match event { [INFO] [stdout] 222 | | Event::ReportDisclosed(report) => { [INFO] [stdout] 223 | | let url = format!("https://bugcrowd.com{}", report.disclosure_report_url); [INFO] [stdout] ... | [INFO] [stdout] 257 | | Ok(()) [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: required because it's used within this `async` block [INFO] [stdout] --> bugcrowd_tracker/src/webhook.rs:208:28 [INFO] [stdout] | [INFO] [stdout] 208 | tokio::task::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.45.1/src/task/spawn.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn spawn(future: F) -> JoinHandle [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 167 | where [INFO] [stdout] 168 | F: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0275`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bugcrowd_tracker` (bin "bugcrowd_tracker" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c623ae9bf0665c1ff7b0222bcf607eb48857ae00577e6564f14994a9bcf10e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c623ae9bf0665c1ff7b0222bcf607eb48857ae00577e6564f14994a9bcf10e12", kill_on_drop: false }` [INFO] [stdout] c623ae9bf0665c1ff7b0222bcf607eb48857ae00577e6564f14994a9bcf10e12