[INFO] cloning repository https://github.com/xkyyxj/stock-py [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xkyyxj/stock-py" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxkyyxj%2Fstock-py", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxkyyxj%2Fstock-py'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dcd212d338912f417803894a978194dc1ad7e22 [INFO] checking xkyyxj/stock-py against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxkyyxj%2Fstock-py" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xkyyxj/stock-py on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xkyyxj/stock-py [INFO] finished tweaking git repo https://github.com/xkyyxj/stock-py [INFO] tweaked toml for git repo https://github.com/xkyyxj/stock-py written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/xkyyxj/stock-py already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8d9c1a77cc550a423345e0591228d25aa3be13f79cb239e4906748faef0c393 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c8d9c1a77cc550a423345e0591228d25aa3be13f79cb239e4906748faef0c393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8d9c1a77cc550a423345e0591228d25aa3be13f79cb239e4906748faef0c393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d9c1a77cc550a423345e0591228d25aa3be13f79cb239e4906748faef0c393", kill_on_drop: false }` [INFO] [stdout] c8d9c1a77cc550a423345e0591228d25aa3be13f79cb239e4906748faef0c393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 364ab913219fe966eb84c21d3d71a1eff3237accc7e79b6c3a676c7fd6e51e30 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "364ab913219fe966eb84c21d3d71a1eff3237accc7e79b6c3a676c7fd6e51e30", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.65 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling wasm-bindgen v0.2.65 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling event-listener v2.3.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fastrand v1.3.3 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling num-bigint-dig v0.6.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking async-channel v1.4.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-lite v0.1.9 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking sqlformat v0.1.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.65 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.65 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking js-sys v0.3.42 [INFO] [stderr] Checking rsa v0.3.0 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking web-sys v0.3.42 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking combine v4.3.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking redis v0.17.0 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Checking sqlx-core v0.4.0-beta.1 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking test_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `in_low` in this scope [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | sql::insert(&mut conn, in_low).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionContext` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsResult` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsBoolean` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsString` in this scope [INFO] [stdout] --> src/initialize/mod.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | let mysql_info = cx.argument::(0)?.value(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 | let mysql_info = cx.argument::(0)?.value(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsString` in this scope [INFO] [stdout] --> src/initialize/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let redis_info = cx.argument::(1)?.value(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 | let redis_info = cx.argument::(1)?.value(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsFunction` in this scope [INFO] [stdout] --> src/initialize/mod.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | let callback = cx.argument::(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let stock_list = query_list_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 37 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 46 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 51 | let ret_val = rx.collect::>().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/calculate/calculate_low.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{ SystemTime, UNIX_EPOCH }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InLow` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::results::{InLow, DBResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{ SystemTime, UNIX_EPOCH }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlPool` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use sqlx::mysql::{MySqlPool, MySqlArguments}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureObj`, `Future` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::future::{ Future, FutureObj }; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocalPool` [INFO] [stdout] --> src/main.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::executor::{LocalPool, ThreadPool, ThreadPoolBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `self` [INFO] [stdout] --> src/main.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::channel::mpsc::{self, Sender, Receiver}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spawn` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::task::{Spawn, SpawnExt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | use sqlx::{Row, MySql, Pool, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `in_low` in this scope [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | sql::insert(&mut conn, in_low).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FunctionContext` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsResult` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsBoolean` in this scope [INFO] [stdout] --> src/initialize/mod.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | - ^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsString` in this scope [INFO] [stdout] --> src/initialize/mod.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | let mysql_info = cx.argument::(0)?.value(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 | let mysql_info = cx.argument::(0)?.value(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsString` in this scope [INFO] [stdout] --> src/initialize/mod.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | let redis_info = cx.argument::(1)?.value(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 | let redis_info = cx.argument::(1)?.value(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsFunction` in this scope [INFO] [stdout] --> src/initialize/mod.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 15 | fn init(mut cx: FunctionContext) -> JsResult { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | let callback = cx.argument::(3).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let stock_list = query_list_fut.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 37 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 46 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn calculate_big_wave() -> bool { [INFO] [stdout] | ------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 51 | let ret_val = rx.collect::>().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/calculate/calculate_low.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{ SystemTime, UNIX_EPOCH }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InLow` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::results::{InLow, DBResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{ SystemTime, UNIX_EPOCH }; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySqlPool` [INFO] [stdout] --> src/main.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | use sqlx::mysql::{MySqlPool, MySqlArguments}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude::*` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureObj`, `Future` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::future::{ Future, FutureObj }; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LocalPool` [INFO] [stdout] --> src/main.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::executor::{LocalPool, ThreadPool, ThreadPoolBuilder}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `self` [INFO] [stdout] --> src/main.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | use futures::channel::mpsc::{self, Sender, Receiver}; [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spawn` [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::task::{Spawn, SpawnExt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::stream::StreamExt` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use futures::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | use sqlx::{Row, MySql, Pool, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut up_begin_time = Local.ymd(year, month, day).and_hms_milli(9, 29, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut up_end_time = Local.ymd(year, month, day).and_hms_milli(11, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut down_begin_time = Local.ymd(year, month, day).and_hms_milli(12, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut down_end_time = Local.ymd(year, month, day).and_hms_milli(14, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut up_begin_time = Local.ymd(year, month, day).and_hms_milli(9, 29, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut up_end_time = Local.ymd(year, month, day).and_hms_milli(11, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut down_begin_time = Local.ymd(year, month, day).and_hms_milli(12, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/time/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut down_end_time = Local.ymd(year, month, day).and_hms_milli(14, 59, 59, 0); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calculate/calculate_low.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calculate/calculate_low.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calculate/calculate_low.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/calculate/calculate_low.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut conn = crate::MYSQL_POOL.get().unwrap().acquire().await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/cache/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | con.set(key, content); [INFO] [stdout] | ^^^ cannot infer type for type parameter `RV` declared on the associated function `set` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromRedisValue` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 6 | con.set::(key, content); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acquire` [INFO] [stdout] --> src/calculate/calculate_low.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Row, Acquire, MySql}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acquire` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Row, Acquire, MySql}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DBResult` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::results::{InLow, DBResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpawnExt` [INFO] [stdout] --> src/main.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::task::{Spawn, SpawnExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `test_rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/cache/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | con.set(key, content); [INFO] [stdout] | ^^^ cannot infer type for type parameter `RV` declared on the associated function `set` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: FromRedisValue` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 6 | con.set::(key, content); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acquire` [INFO] [stdout] --> src/calculate/calculate_low.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Row, Acquire, MySql}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Acquire` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Row, Acquire, MySql}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DBResult` [INFO] [stdout] --> src/calculate/calculate_big_wave.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::results::{InLow, DBResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SpawnExt` [INFO] [stdout] --> src/main.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::task::{Spawn, SpawnExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0425, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "364ab913219fe966eb84c21d3d71a1eff3237accc7e79b6c3a676c7fd6e51e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "364ab913219fe966eb84c21d3d71a1eff3237accc7e79b6c3a676c7fd6e51e30", kill_on_drop: false }` [INFO] [stdout] 364ab913219fe966eb84c21d3d71a1eff3237accc7e79b6c3a676c7fd6e51e30