[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/263dff2e13a0ceee11aa73dd8fbfcaec8858fe56 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoshlanguage%2Fmate" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goshlanguage/mate on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.5.0 [INFO] [stderr] Downloaded aws-creds v0.27.1 [INFO] [stderr] Downloaded rust-s3 v0.28.0 [INFO] [stderr] Downloaded wildmatch v2.1.0 [INFO] [stderr] Downloaded rust_decimal_macros v1.20.0 [INFO] [stderr] Downloaded h2 v0.3.10 [INFO] [stderr] Downloaded debug-helper v0.3.12 [INFO] [stderr] Downloaded magic-crypt v3.1.9 [INFO] [stderr] Downloaded security-framework v2.5.0 [INFO] [stderr] Downloaded aws-region v0.23.4 [INFO] [stderr] Downloaded tokio-tungstenite v0.16.1 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded krakenrs v5.2.2 [INFO] [stderr] Downloaded serde_with v1.11.0 [INFO] [stderr] Downloaded rust_decimal v1.20.0 [INFO] [stderr] Downloaded crc-any v2.4.1 [INFO] [stderr] Downloaded attohttpc v0.18.0 [INFO] [stderr] Downloaded clap v3.0.8 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded block_on_proc v0.2.0 [INFO] [stderr] Downloaded tda-sdk v0.1.4 [INFO] [stderr] Downloaded minidom v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06fea3d1856fc6eefec9396cc1c0ca768bf29ad5893937e8d8b24983f26d6643 [INFO] running `Command { std: "docker" "start" "-a" "06fea3d1856fc6eefec9396cc1c0ca768bf29ad5893937e8d8b24983f26d6643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06fea3d1856fc6eefec9396cc1c0ca768bf29ad5893937e8d8b24983f26d6643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06fea3d1856fc6eefec9396cc1c0ca768bf29ad5893937e8d8b24983f26d6643", kill_on_drop: false }` [INFO] [stdout] 06fea3d1856fc6eefec9396cc1c0ca768bf29ad5893937e8d8b24983f26d6643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e222ea0650e8811d18aa40a2ed5aa32f114c6f8da2a943603dd9446f365bd44 [INFO] running `Command { std: "docker" "start" "-a" "3e222ea0650e8811d18aa40a2ed5aa32f114c6f8da2a943603dd9446f365bd44", 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 futures-core v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [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 smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking itoa v1.0.1 [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 matches v0.1.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [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 rand v0.8.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking dlv-list v0.2.3 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking ordered-multimap v0.3.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking wildmatch v2.1.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking quick-xml v0.20.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking debug-helper v0.3.12 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking aws-region v0.23.4 [INFO] [stderr] Checking rust-ini v0.17.0 [INFO] [stderr] Checking des v0.7.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking tiger v0.1.0 [INFO] [stderr] Checking md-5 v0.9.1 [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 mate-collector v0.1.0 (/opt/rustwide/workdir/collector) [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Checking minidom v0.13.0 [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 `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[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[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 `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[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[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[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[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[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[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[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[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[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[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 `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[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[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 `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 `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 `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[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 `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 `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[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: 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[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[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[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: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[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[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[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] [stderr] Checking magic-crypt v3.1.9 [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 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 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[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: 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] --> 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[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: 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[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: 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 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 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 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 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 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: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] --> 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] --> 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] --> 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:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[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 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[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: 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[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: 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[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: 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:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[clap(long, default_value = "https")] [INFO] [stdout] | ^^^^ [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: 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[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: 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[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 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: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:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[clap(short, long)] [INFO] [stdout] | ^^^^ [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 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: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 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 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: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: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 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 `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 `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[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: 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] --> 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 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[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[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[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 `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 `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 `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 `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 `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 `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 `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: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[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 `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] --> api/src/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 25 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | 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 `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[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 44 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[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] [stderr] error: could not compile `mate-collector` (bin "mate-collector" test) due to 45 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> 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 44 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] --> 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 `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: aborting due to 78 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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] [stderr] error: could not compile `mate-collector` (bin "mate-collector") due to 45 previous errors [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] [stderr] error: could not compile `api` (bin "api" test) due to 79 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Args` in the current scope [INFO] [stdout] --> api/src/main.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 25 | struct Args { [INFO] [stdout] | ----------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 52 | 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 `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[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> api/src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [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: aborting due to 79 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0463, E0599, E0752. [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 80 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3e222ea0650e8811d18aa40a2ed5aa32f114c6f8da2a943603dd9446f365bd44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e222ea0650e8811d18aa40a2ed5aa32f114c6f8da2a943603dd9446f365bd44", kill_on_drop: false }` [INFO] [stdout] 3e222ea0650e8811d18aa40a2ed5aa32f114c6f8da2a943603dd9446f365bd44