[INFO] cloning repository https://github.com/goshlanguage/mate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goshlanguage/mate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 263dff2e13a0ceee11aa73dd8fbfcaec8858fe56 [INFO] checking goshlanguage/mate against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goshlanguage/mate on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/goshlanguage/mate [INFO] finished tweaking git repo https://github.com/goshlanguage/mate [INFO] tweaked toml for git repo https://github.com/goshlanguage/mate written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/goshlanguage/mate 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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking goshlanguage/mate against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goshlanguage/mate on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/goshlanguage/mate [INFO] finished tweaking git repo https://github.com/goshlanguage/mate [INFO] tweaked toml for git repo https://github.com/goshlanguage/mate written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/goshlanguage/mate 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking goshlanguage/mate against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goshlanguage/mate on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/goshlanguage/mate [INFO] finished tweaking git repo https://github.com/goshlanguage/mate [INFO] tweaked toml for git repo https://github.com/goshlanguage/mate written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/goshlanguage/mate 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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crc-any v2.4.1 [INFO] [stderr] Downloaded aws-creds v0.27.1 [INFO] [stderr] Downloaded debug-helper v0.3.12 [INFO] [stderr] Downloaded rust_decimal_macros v1.20.0 [INFO] [stderr] Downloaded minidom v0.13.0 [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded tokio-tungstenite v0.16.1 [INFO] [stderr] Downloaded clap v3.0.8 [INFO] [stderr] Downloaded rust-s3 v0.28.0 [INFO] [stderr] Downloaded rust_decimal v1.20.0 [INFO] [stderr] Downloaded attohttpc v0.18.0 [INFO] [stderr] Downloaded block_on_proc v0.2.0 [INFO] [stderr] Downloaded aws-region v0.23.4 [INFO] [stderr] Downloaded tda-sdk v0.1.4 [INFO] [stderr] Downloaded magic-crypt v3.1.9 [INFO] [stderr] Downloaded krakenrs v5.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2c73353e274b267be5f4da0e08f532c9c17538d239b85f035027dfcbfe7c414 [INFO] running `Command { std: "docker" "start" "-a" "e2c73353e274b267be5f4da0e08f532c9c17538d239b85f035027dfcbfe7c414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2c73353e274b267be5f4da0e08f532c9c17538d239b85f035027dfcbfe7c414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c73353e274b267be5f4da0e08f532c9c17538d239b85f035027dfcbfe7c414", kill_on_drop: false }` [INFO] [stdout] e2c73353e274b267be5f4da0e08f532c9c17538d239b85f035027dfcbfe7c414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Ddereferencing_mut_binding" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a303b7f26723749a5843aa80a81663bc23f99e21e0d061901dcd7140345e77b2 [INFO] running `Command { std: "docker" "start" "-a" "a303b7f26723749a5843aa80a81663bc23f99e21e0d061901dcd7140345e77b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking dlv-list v0.2.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking wildmatch v2.1.0 [INFO] [stderr] Checking ordered-multimap v0.3.1 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking debug-helper v0.3.12 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Checking aws-region v0.23.4 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking minidom v0.13.0 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking rust-ini v0.17.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Checking mate-collector v0.1.0 (/opt/rustwide/workdir/collector) [INFO] [stderr] Checking magic-crypt v3.1.9 [INFO] [stdout] error[E0463]: can't find crate for `magic_crypt` [INFO] [stdout] --> collector/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate magic_crypt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> api/src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel_migrations` [INFO] [stdout] --> api/src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate diesel_migrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `magic_crypt` [INFO] [stdout] --> api/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate magic_crypt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `num_traits` [INFO] [stdout] --> collector/src/types.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate num_traits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> api/src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{ready, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> api/src/models.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/accounts/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/accounts/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpRequest, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> collector/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `account_histories` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::schema::account_histories::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `account_histories` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::schema::account_histories::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `matelog` [INFO] [stdout] --> collector/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use matelog::init_logging; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `matelog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::schema::accounts` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::schema::accounts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `accounts` in `schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 11 | use crate::routes::accounts; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> collector/src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tda_sdk` [INFO] [stdout] --> collector/src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tda_sdk::responses::{Candle, SecuritiesAccount}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `tda_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use accounts::kraken::KrakenAccount; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use accounts::tdameritrade::TDAmeritradeAccount; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use accounts::types::AccountType; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> collector/src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{from_value, json, Map, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/./state/api/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::StatusCode; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{json, value::Value, Map}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> collector/src/./state/s3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::task::block_on; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{json, value::Value, Map}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use s3::bucket::Bucket; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use s3::creds::Credentials; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use s3::region::Region; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/./state/s3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/api/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | info!("sending reqwest GET {}", &reqwest_uri); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/api/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | info!("sending reqwest PUT {}", &reqwest_uri); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/./state/file.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let new_data = json!(state); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/./state/file.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let new_data = json!(state); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/s3.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | info!("configured new s3 endpoint {}", endpoint); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/s3.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | info!("path: {}\tcode: {}", path, code); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/./state/s3.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | error!("Failed to put data in the bucket: {}\tcode: {}", path, code); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | info!("Configuring accounts from the API"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | info!("API Host: {}", &api_host); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | error!("Api endpoint unavailable"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `magic_crypt` [INFO] [stdout] --> collector/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate magic_crypt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | error!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | info!("Configuring accounts from the command line"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `num_traits` [INFO] [stdout] --> collector/src/types.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate num_traits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | info!("Collecting Kraken balance data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | ... error!("account balance to API failed: {}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | info!("Collecting stock data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | info!("Collecting Kraken balance data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | ... error!("account balance to API failed: {}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> collector/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | info!("Collecting crypto pairs"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | info!("Read state file from {}", filepath); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | info!("Found existing candles, checking for period within current window"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | info!("Data older than 8 hours, collecting new daily candle"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `matelog` [INFO] [stdout] --> collector/src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use matelog::init_logging; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `matelog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> collector/src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tda_sdk` [INFO] [stdout] --> collector/src/types.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tda_sdk::responses::{Candle, SecuritiesAccount}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `tda_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use accounts::kraken::KrakenAccount; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use accounts::tdameritrade::TDAmeritradeAccount; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::schema::account_histories` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use crate::schema::account_histories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use accounts::types::AccountType; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> api/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{http::header, App, HttpServer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_cors` [INFO] [stdout] --> api/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{http::header, App, HttpServer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> api/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> api/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `matelog` [INFO] [stdout] --> api/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use matelog::init_logging; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `matelog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> api/src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> api/src/models.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> api/src/models.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> api/src/models.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> api/src/models.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> api/src/models.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:247:40 [INFO] [stdout] | [INFO] [stdout] 247 | ... data = json!(candles); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | info!("Already have most recent data for {}, continuing", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | info!("saving to bucket"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | self.bucket.save(path, json!(data.to_owned()).to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | info!("Current Balances:"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | info!("account id: {}", account_id); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> collector/src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::{from_value, json, Map, Value}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | info!("round trips: {}", round_trips); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | info!("is_day_trader: {}", is_day_trader); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/./state/api/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | info!("is_closing_only_restricted: {}", is_closing_only_restricted); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use reqwest::StatusCode; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{json, value::Value, Map}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> collector/src/./state/s3.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::task::block_on; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | info!("initially cash balance: {}", initial_balances.cash_balance); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::{json, value::Value, Map}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use s3::bucket::Bucket; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | info!("buying_power: {}", current_balances.buying_power.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use s3::creds::Credentials; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `s3` [INFO] [stdout] --> collector/src/./state/s3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use s3::region::Region; [INFO] [stdout] | ^^ use of undeclared crate or module `s3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | info!("cash_balance: {}", current_balances.cash_balance); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | info!("equity: {}", current_balances.equity.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | info!("liquidation_value: {}", current_balances.liquidation_value); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> collector/src/./state/s3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/api/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | info!("sending reqwest GET {}", &reqwest_uri); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/api/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | info!("sending reqwest PUT {}", &reqwest_uri); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | info!("total_cash: {}", current_balances.total_cash.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/./state/file.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let new_data = json!(state); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/./state/file.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let new_data = json!(state); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/s3.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | info!("configured new s3 endpoint {}", endpoint); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | info!("Fetched data for {}", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | json!(new_mate_candles) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | error!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | info!("Fetched data for {}", self.conf.crypto_watchlist.join(", ")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/./state/s3.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | info!("path: {}\tcode: {}", path, code); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | info!("Read state file from {}", filepath); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | info!("saving to bucket"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:433:40 [INFO] [stdout] | [INFO] [stdout] 433 | self.bucket.save(path, json!(data.to_owned()).to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Clone, Copy, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:456:41 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Clone, Copy, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:485:30 [INFO] [stdout] | [INFO] [stdout] 485 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> api/src/models.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[table_name = "account_histories"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `new_magic_crypt` in this scope [INFO] [stdout] --> collector/src/types.rs:556:14 [INFO] [stdout] | [INFO] [stdout] 556 | let mc = new_magic_crypt!(salt, 256); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | info!("NewAccountBalancesPayload: {:?}", new); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | error!("Error delete account {}", rm_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `new_magic_crypt` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | let mc = new_magic_crypt!(salt, 256); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/./state/s3.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | error!("Failed to put data in the bucket: {}\tcode: {}", path, code); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> api/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> api/src/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | info!("Configuring accounts from the API"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | info!("API Host: {}", &api_host); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | error!("Api endpoint unavailable"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | error!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | info!("Configuring accounts from the command line"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | info!("Collecting Kraken balance data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `joinable` in this scope [INFO] [stdout] --> api/src/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | joinable!(account_histories -> accounts (account_id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | ... error!("account balance to API failed: {}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | info!("Collecting stock data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Parser` [INFO] [stdout] --> collector/src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | info!("Collecting Kraken balance data"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:202:33 [INFO] [stdout] | [INFO] [stdout] 202 | ... error!("account balance to API failed: {}", e.to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | info!("Collecting crypto pairs"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | info!("Read state file from {}", filepath); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | info!("Found existing candles, checking for period within current window"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | info!("Data older than 8 hours, collecting new daily candle"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:247:40 [INFO] [stdout] | [INFO] [stdout] 247 | ... data = json!(candles); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> api/src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | allow_tables_to_appear_in_same_query!(account_histories, accounts,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | info!("Already have most recent data for {}, continuing", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | info!("saving to bucket"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:271:40 [INFO] [stdout] | [INFO] [stdout] 271 | self.bucket.save(path, json!(data.to_owned()).to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | info!("Current Balances:"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[clap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | info!("account id: {}", account_id); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Parser` [INFO] [stdout] --> api/src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:304:21 [INFO] [stdout] | [INFO] [stdout] 304 | info!("round trips: {}", round_trips); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | info!("is_day_trader: {}", is_day_trader); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | info!("is_closing_only_restricted: {}", is_closing_only_restricted); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[clap(name = "mate-api", about = "api for mate", version = "0.1.0", author)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | info!("initially cash balance: {}", initial_balances.cash_balance); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:322:25 [INFO] [stdout] | [INFO] [stdout] 322 | info!("buying_power: {}", current_balances.buying_power.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:326:25 [INFO] [stdout] | [INFO] [stdout] 326 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | info!("cash_balance: {}", current_balances.cash_balance); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | info!("equity: {}", current_balances.equity.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 337 | info!("liquidation_value: {}", current_balances.liquidation_value); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:340:25 [INFO] [stdout] | [INFO] [stdout] 340 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 347 | info!("total_cash: {}", current_balances.total_cash.unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:351:25 [INFO] [stdout] | [INFO] [stdout] 351 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | info!("Fetched data for {}", symbol); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | json!(new_mate_candles) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> collector/src/types.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | error!("{}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | info!("Fetched data for {}", self.conf.crypto_watchlist.join(", ")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:423:21 [INFO] [stdout] | [INFO] [stdout] 423 | info!("Read state file from {}", filepath); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/types.rs:429:17 [INFO] [stdout] | [INFO] [stdout] 429 | info!("saving to bucket"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `json` [INFO] [stdout] --> collector/src/types.rs:433:40 [INFO] [stdout] | [INFO] [stdout] 433 | self.bucket.save(path, json!(data.to_owned()).to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Clone, Copy, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:456:41 [INFO] [stdout] | [INFO] [stdout] 456 | #[derive(Clone, Copy, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:479:17 [INFO] [stdout] | [INFO] [stdout] 479 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> collector/src/types.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> collector/src/types.rs:485:30 [INFO] [stdout] | [INFO] [stdout] 485 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[clap(short, long, default_value_t = 8000)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[clap(long, default_value = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[clap(long, default_value = "127.0.0.1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[clap(long, default_value = "https")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[clap(long, env = "POSTGRES_PASSWORD", default_value = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[clap(long, default_value = "us-east-1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[clap(long, default_value_t = 5432)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[clap(long, default_value = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `new_magic_crypt` in this scope [INFO] [stdout] --> collector/src/types.rs:556:14 [INFO] [stdout] | [INFO] [stdout] 556 | let mc = new_magic_crypt!(salt, 256); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Parser` [INFO] [stdout] --> collector/src/main.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[clap(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[clap( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[clap(short, long, default_value_t = 3600)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `embed_migrations` in this scope [INFO] [stdout] --> api/src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | embed_migrations!("./migrations/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> api/src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | info!("Running any pending database migrations"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[clap(long, default_value = "https")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[clap(long, default_value = "us-east-1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[clap(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[clap(long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[clap(short, long, default_value_t = 3600)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | info!("Starting collector"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | info!("Time to sleep (¬‿¬)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> collector/src/main.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[clap(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/main.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | info!("Starting collector"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> collector/src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | info!("Time to sleep (¬‿¬)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let resp = reqwest::blocking::get(reqwest_uri).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let resp = reqwest::blocking::get(reqwest_uri).unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> api/src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel_migrations` [INFO] [stdout] --> api/src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate diesel_migrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `magic_crypt` [INFO] [stdout] --> api/src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate magic_crypt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> api/src/models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::future::{ready, Ready}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:525:24 [INFO] [stdout] | [INFO] [stdout] 525 | let current_date = chrono::Utc::now(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:530:5 [INFO] [stdout] | [INFO] [stdout] 530 | chrono::Utc::now().timestamp() as usize [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{Error, HttpRequest, HttpResponse, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let now = &chrono::Utc::now().naive_utc(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:525:24 [INFO] [stdout] | [INFO] [stdout] 525 | let current_date = chrono::Utc::now(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> api/src/models.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/accounts/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::web; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/routes/accounts/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{web, HttpRequest, Responder}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let client = reqwest::blocking::Client::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::types::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let client = reqwest::blocking::Client::new(); [INFO] [stdout] 36 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:530:5 [INFO] [stdout] | [INFO] [stdout] 530 | chrono::Utc::now().timestamp() as usize [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | updated.eq(Some(chrono::Utc::now().naive_utc())), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let updated = &chrono::Utc::now().naive_utc(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `reqwest` [INFO] [stdout] --> collector/src/./state/api/mod.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let client = reqwest::blocking::Client::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `reqwest` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use crate::types::Client; [INFO] [stdout] | [INFO] [stdout] help: if you import `Client`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - let client = reqwest::blocking::Client::new(); [INFO] [stdout] 36 + let client = Client::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let result = accounts.filter(id.eq(account_id)).first(&connection); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | let result = accounts.filter(id.eq(account_id)).first(&connection); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_histories` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let result = account_histories [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(account_id.eq(target_account_id)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | .order(updated.desc()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let results = accounts.load::(&connection).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_histories` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | let results = account_histories.load::(&connection).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | diesel::update(accounts.filter(id.eq(target.id))) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | diesel::update(accounts.filter(id.eq(target.id))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | name.eq(&target.name), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vendor` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | vendor.eq(&target.vendor), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_key` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | client_key.eq(&target.client_key), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_secret` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | client_secret.eq(&encrypted_secret.as_str()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | updated.eq(Some(chrono::Utc::now().naive_utc())), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | match diesel::delete(accounts.filter(id.eq(rm_id))).execute(&connection) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:205:42 [INFO] [stdout] | [INFO] [stdout] 205 | match diesel::delete(accounts.filter(id.eq(rm_id))).execute(&connection) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> api/src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub created: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub updated: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub updated: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | pub created: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub updated: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | pub updated: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_migrations` [INFO] [stdout] --> api/src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | embedded_migrations::run_with_output(&conn, &mut std::io::stdout()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_migrations` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | diesel_migrations::run_with_output(&conn, &mut std::io::stdout()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, info}; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `account_histories` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:79:24 [INFO] [stdout] | [INFO] [stdout] 79 | use crate::schema::account_histories::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `account_histories` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:129:24 [INFO] [stdout] | [INFO] [stdout] 129 | use crate::schema::account_histories::dsl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::schema::accounts` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::schema::accounts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `accounts` in `schema` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 11 | use crate::routes::accounts; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:194:24 [INFO] [stdout] | [INFO] [stdout] 194 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::schema::account_histories` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use crate::schema::account_histories; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `account_histories` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_web` [INFO] [stdout] --> api/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{http::header, App, HttpServer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_cors` [INFO] [stdout] --> api/src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `actix_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `actix_web` [INFO] [stdout] --> api/src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use actix_web::{http::header, App, HttpServer}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `actix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> api/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> api/src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `matelog` [INFO] [stdout] --> api/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use matelog::init_logging; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `matelog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actix_rt` [INFO] [stdout] --> api/src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[actix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `actix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> api/src/models.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> api/src/models.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Clone, Deserialize, Queryable, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `api` (bin "api" test) due to 94 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> api/src/models.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> api/src/models.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> api/src/models.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> api/src/models.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> api/src/models.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[table_name = "account_histories"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:152:10 [INFO] [stdout] | [INFO] [stdout] 152 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> api/src/models.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | info!("NewAccountBalancesPayload: {:?}", new); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | error!("Error delete account {}", rm_id); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `new_magic_crypt` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | let mc = new_magic_crypt!(salt, 256); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> api/src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> api/src/schema.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `joinable` in this scope [INFO] [stdout] --> api/src/schema.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | joinable!(account_histories -> accounts (account_id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> api/src/schema.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | allow_tables_to_appear_in_same_query!(account_histories, accounts,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Parser` [INFO] [stdout] --> api/src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Parser, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[clap(name = "mate-api", about = "api for mate", version = "0.1.0", author)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[clap(short, long, default_value_t = 8000)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[clap(long, default_value = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | #[clap(long, default_value = "127.0.0.1")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[clap(long, env = "POSTGRES_PASSWORD", default_value = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[clap(long, default_value_t = 5432)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[clap(long, default_value = "postgres")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> api/src/main.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[clap(short, long, parse(from_occurrences))] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `embed_migrations` in this scope [INFO] [stdout] --> api/src/main.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | embed_migrations!("./migrations/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> api/src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | info!("Running any pending database migrations"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let json: Value = serde_json::from_str(&data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let json: Value = serde_json::from_str(&data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | let json: Value = serde_json::from_str(&data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> collector/src/./state/file.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let json: Value = serde_json::from_str(&data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | let new_account = accounts::new_account( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `accounts` [INFO] [stdout] | help: a struct with a similar name exists: `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | accounts::new_account(account, account, "", None, "", "").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `accounts` [INFO] [stdout] | help: a struct with a similar name exists: `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | let new_account = accounts::new_account( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `accounts` [INFO] [stdout] | help: a struct with a similar name exists: `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `accounts` [INFO] [stdout] --> collector/src/types.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | accounts::new_account(account, account, "", None, "", "").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `accounts` [INFO] [stdout] | help: a struct with a similar name exists: `Accounts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let now = &chrono::Utc::now().naive_utc(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> collector/src/main.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 23 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> collector/src/main.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 23 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | let args = Args::parse(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub created: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | pub created: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub updated: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 107 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> collector/src/types.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub updated: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 107 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mate-collector` (bin "mate-collector" test) due to 108 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | updated.eq(Some(chrono::Utc::now().naive_utc())), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mate-collector` (bin "mate-collector") due to 108 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/routes/accounts/utils.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | let updated = &chrono::Utc::now().naive_utc(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | let result = accounts.filter(id.eq(account_id)).first(&connection); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | let result = accounts.filter(id.eq(account_id)).first(&connection); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_histories` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let result = account_histories [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | .filter(account_id.eq(target_account_id)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | .order(updated.desc()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | let results = accounts.load::(&connection).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_histories` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | let results = account_histories.load::(&connection).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | diesel::update(accounts.filter(id.eq(target.id))) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | diesel::update(accounts.filter(id.eq(target.id))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | name.eq(&target.name), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `vendor` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | vendor.eq(&target.vendor), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_key` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | client_key.eq(&target.client_key), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client_secret` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | client_secret.eq(&encrypted_secret.as_str()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `updated` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | updated.eq(Some(chrono::Utc::now().naive_utc())), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `accounts` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | match diesel::delete(accounts.filter(id.eq(rm_id))).execute(&connection) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `id` in this scope [INFO] [stdout] --> api/src/routes/accounts/utils.rs:205:42 [INFO] [stdout] | [INFO] [stdout] 205 | match diesel::delete(accounts.filter(id.eq(rm_id))).execute(&connection) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::process::id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> api/src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub created: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub updated: Option, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub updated: chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | pub created: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | pub updated: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> api/src/models.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | pub updated: &'a chrono::NaiveDateTime, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> api/src/models.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let body = serde_json::to_string(&self).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_migrations` [INFO] [stdout] --> api/src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | embedded_migrations::run_with_output(&conn, &mut std::io::stdout()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `embedded_migrations` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | diesel_migrations::run_with_output(&conn, &mut std::io::stdout()).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 93 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `api` (bin "api") due to 94 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a303b7f26723749a5843aa80a81663bc23f99e21e0d061901dcd7140345e77b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a303b7f26723749a5843aa80a81663bc23f99e21e0d061901dcd7140345e77b2", kill_on_drop: false }` [INFO] [stdout] a303b7f26723749a5843aa80a81663bc23f99e21e0d061901dcd7140345e77b2