-
-
Notifications
You must be signed in to change notification settings - Fork 172
Closed
Description
Get the following error:
thread 'main' panicked at 'Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.', /Users/anthony.mittaz/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.11/src/runtime/enter.rs:19:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
ERROR reqwest::blocking::client > Failed to communicate successful startup: Ok(())
I had no issue with the previous version: 0.17.0
Cargo file:
[package]
name = "segment-recover-bot"
version = "0.1.0"
authors = ["Anthony Mittaz <sync@me.com>"]
edition = "2018"
exclude = ["test/*"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = { version = "0.10", features = ["json"] }
tokio = { version = "0.2", features = ["full"] }
lazy_static = "1.4.0"
url = { version = "2.1.1" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
regex = "1"
err-derive = "0.2"
sentry = "0.18.0"
chrono = { version = "0.4", features = ["serde"] }
either = { version = "1.5", features = ["serde"] }
futures-timer = "3.0"
warp = "0.2"
strum = "0.17.1"
strum_macros = "0.17.1"
log = "0.4"
pretty_env_logger = "0.4"
bytes = "0.5"
github_webhook_message_validator = "0.1.2"
hex = "0.4.2"
dotenv = "0.15.0"
graphql_client = "0.8.0"
[dev-dependencies]
httpmock = "0.3.4"
env_logger = "0.7"
jhelwig
Metadata
Metadata
Assignees
Labels
No labels