[INFO] cloning repository https://github.com/landchad/tuinance [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/landchad/tuinance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Ftuinance", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Ftuinance'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 405980daead78fce1cbbd367a8762d03e7daaa1a [INFO] building landchad/tuinance against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Ftuinance" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/landchad/tuinance on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/landchad/tuinance [INFO] finished tweaking git repo https://github.com/landchad/tuinance [INFO] tweaked toml for git repo https://github.com/landchad/tuinance written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 158bddcf1a562e1d2c0b4592815113b257397bc7e3cd1cd7fabb79463f3e2c42 [INFO] running `Command { std: "docker" "start" "-a" "158bddcf1a562e1d2c0b4592815113b257397bc7e3cd1cd7fabb79463f3e2c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "158bddcf1a562e1d2c0b4592815113b257397bc7e3cd1cd7fabb79463f3e2c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158bddcf1a562e1d2c0b4592815113b257397bc7e3cd1cd7fabb79463f3e2c42", kill_on_drop: false }` [INFO] [stdout] 158bddcf1a562e1d2c0b4592815113b257397bc7e3cd1cd7fabb79463f3e2c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc1bfdf7f39a8a0b838281b252480f6199fdeedc99b1ca9d63ec21a8cb776ad2 [INFO] running `Command { std: "docker" "start" "-a" "cc1bfdf7f39a8a0b838281b252480f6199fdeedc99b1ca9d63ec21a8cb776ad2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling pin-project v0.4.30 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.1.0 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling tokio-tungstenite v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling market-finance v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling yahoo-finance v0.3.0 [INFO] [stderr] Compiling tuinance v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ordered_float::OrderedFloat` [INFO] [stdout] --> src/message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ordered_float::OrderedFloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `info_pane`, `list_pane`, `volume_pane` and `main_pane` are never read [INFO] [stdout] --> src/ui/view.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | info_pane: Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | list_pane: Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | volume_pane: Rect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | main_pane: Rect, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `View` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `graph_type` are never read [INFO] [stdout] --> src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | state: State, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | graph_type: GraphType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `State` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | app::{App, GraphType, State}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:347:50 [INFO] [stdout] | [INFO] [stdout] 347 | ... tokio::spawn(async move { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 348 | | ... get_interval_data(&symbol, interval, tx).await; [INFO] [stdout] 349 | | ... }); [INFO] [stdout] | |_______________________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/yahoo-finance-0.3.0/src/yahoo/chart.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 90 | / lookup.query_pairs_mut() [INFO] [stdout] 91 | | .append_pair("range", &period.to_string()) [INFO] [stdout] 92 | | .append_pair("interval", "1d"); [INFO] [stdout] | |____________________________________- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 93 | [INFO] [stdout] 94 | load(&lookup).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 95 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.25/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:362:50 [INFO] [stdout] | [INFO] [stdout] 362 | ... tokio::spawn(async move { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 363 | | ... get_interval_data(&symbol, interval, tx).await; [INFO] [stdout] 364 | | ... }); [INFO] [stdout] | |_______________________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/yahoo-finance-0.3.0/src/yahoo/chart.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 90 | / lookup.query_pairs_mut() [INFO] [stdout] 91 | | .append_pair("range", &period.to_string()) [INFO] [stdout] 92 | | .append_pair("interval", "1d"); [INFO] [stdout] | |____________________________________- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 93 | [INFO] [stdout] 94 | load(&lookup).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 95 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.25/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:377:50 [INFO] [stdout] | [INFO] [stdout] 377 | ... tokio::spawn(async move { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 378 | | ... get_interval_data(&ident, interval, tx).await; [INFO] [stdout] 379 | | ... }); [INFO] [stdout] | |_______________________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/yahoo-finance-0.3.0/src/yahoo/chart.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 90 | / lookup.query_pairs_mut() [INFO] [stdout] 91 | | .append_pair("range", &period.to_string()) [INFO] [stdout] 92 | | .append_pair("interval", "1d"); [INFO] [stdout] | |____________________________________- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 93 | [INFO] [stdout] 94 | load(&lookup).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 95 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.25/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:454:34 [INFO] [stdout] | [INFO] [stdout] 454 | tokio::spawn(async move { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 455 | | get_interval_data(&identifier, interval, tx_clone).await; [INFO] [stdout] 456 | | }); [INFO] [stdout] | |_____________________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/yahoo-finance-0.3.0/src/yahoo/chart.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 90 | / lookup.query_pairs_mut() [INFO] [stdout] 91 | | .append_pair("range", &period.to_string()) [INFO] [stdout] 92 | | .append_pair("interval", "1d"); [INFO] [stdout] | |____________________________________- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] 93 | [INFO] [stdout] 94 | load(&lookup).await [INFO] [stdout] | ^^^^^^ await occurs here, with the value maybe used later [INFO] [stdout] 95 | } [INFO] [stdout] | - the value is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.25/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: future cannot be sent between threads safely [INFO] [stdout] --> src/main.rs:458:34 [INFO] [stdout] | [INFO] [stdout] 458 | tokio::spawn(async move { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 459 | | get_profile(&identifier_clone, tx_other).await; [INFO] [stdout] 460 | | }); [INFO] [stdout] | |_____________________^ future created by async block is not `Send` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn for<'r> Fn(&'r str) -> Cow<'_, [u8]>` [INFO] [stdout] note: future is not `Send` as this value is used across an await [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/yahoo-finance-0.3.0/src/yahoo/web_scraper.rs:61:44 [INFO] [stdout] | [INFO] [stdout] 57 | url.query_pairs_mut().append_pair("p", symbol); [INFO] [stdout] | ---------------------------------------------- has type `&mut form_urlencoded::Serializer<'_, url::UrlQuery<'_>>` which is not `Send` [INFO] [stdout] ... [INFO] [stdout] 61 | let response = reqwest::get(url.clone()).await.context(error::RequestFailed)?; [INFO] [stdout] | ^^^^^^ await occurs here, with `url.query_pairs_mut().append_pair("p", symbol)` maybe used later [INFO] [stdout] ... [INFO] [stdout] 82 | } [INFO] [stdout] | - `url.query_pairs_mut().append_pair("p", symbol)` is later dropped here [INFO] [stdout] note: required by a bound in `tokio::spawn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.25/src/task/spawn.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | T: Future + Send + 'static, [INFO] [stdout] | ^^^^ required by this bound in `tokio::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuinance` due to 6 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc1bfdf7f39a8a0b838281b252480f6199fdeedc99b1ca9d63ec21a8cb776ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1bfdf7f39a8a0b838281b252480f6199fdeedc99b1ca9d63ec21a8cb776ad2", kill_on_drop: false }` [INFO] [stdout] cc1bfdf7f39a8a0b838281b252480f6199fdeedc99b1ca9d63ec21a8cb776ad2