[INFO] cloning repository https://github.com/lwp001/carmonitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lwp001/carmonitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwp001%2Fcarmonitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwp001%2Fcarmonitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9304caae061daa61a7fec07220f532d8706dcf4e [INFO] testing lwp001/carmonitor against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flwp001%2Fcarmonitor" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lwp001/carmonitor on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lwp001/carmonitor [INFO] finished tweaking git repo https://github.com/lwp001/carmonitor [INFO] tweaked toml for git repo https://github.com/lwp001/carmonitor written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/lwp001/carmonitor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50d27657d0623bb5458bd00e9b325bea4fef9b03c9dc520ff3044d3982d65c56 [INFO] running `Command { std: "docker" "start" "-a" "50d27657d0623bb5458bd00e9b325bea4fef9b03c9dc520ff3044d3982d65c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d27657d0623bb5458bd00e9b325bea4fef9b03c9dc520ff3044d3982d65c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d27657d0623bb5458bd00e9b325bea4fef9b03c9dc520ff3044d3982d65c56", kill_on_drop: false }` [INFO] [stdout] 50d27657d0623bb5458bd00e9b325bea4fef9b03c9dc520ff3044d3982d65c56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38726e9450f313f9a6db58de03866b99496040cdfe6f72ff15adf50ce82ea57 [INFO] running `Command { std: "docker" "start" "-a" "f38726e9450f313f9a6db58de03866b99496040cdfe6f72ff15adf50ce82ea57", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling tower-service v0.3.0-alpha.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling half v1.4.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling if_chain v1.0.0 [INFO] [stderr] Compiling strum v0.16.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Compiling bcrypt v0.6.1 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling envconfig_derive v0.5.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.2.0-alpha.3 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling pin-project-internal v0.4.5 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling strum_macros v0.16.0 [INFO] [stderr] Compiling derive-new v0.5.8 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling envconfig v0.5.1 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling tracing v0.1.10 [INFO] [stderr] Compiling pin-project v0.4.5 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Compiling tower-make v0.3.0-alpha.2a [INFO] [stderr] Compiling tokio-tls v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.6 [INFO] [stderr] Compiling h2 v0.2.0-alpha.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling tokio v0.2.0-alpha.6 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling hyper v0.13.0-alpha.4 [INFO] [stderr] Compiling hyper-tls v0.4.0-alpha.4 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling reqwest v0.10.0-alpha.1 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling validator v0.10.0 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling validator_derive v0.10.0 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling actix-cors v0.1.0 [INFO] [stderr] Compiling actix-files v0.1.6 [INFO] [stderr] Compiling carmonitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `,` [INFO] [stdout] --> src/models/user.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub email: Option,, [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected identifier [INFO] [stdout] | help: remove this comma [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `services` [INFO] [stdout] --> src/main.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | mod services; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `services`, create file "src/services.rs" or "src/services/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel_migrations` [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate diesel_migrations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier [INFO] [stdout] --> src/models/user.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub email: Option,, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/models/user.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize, Serialize, Queryable, Insertable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Error("expected identifier") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/models/user.rs:12:59 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Deserialize, Serialize, Queryable, Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: called `Result::unwrap()` on an `Err` value: Error("expected identifier") [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `sys_user` in `schema` [INFO] [stdout] --> src/repositories/user.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::schema::sys_user::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `sys_user` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `supper` [INFO] [stdout] --> src/utils/auth.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use supper::jwt::{decode_token, Claime}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `supper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::schema::sys_user` [INFO] [stdout] --> src/repositories/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::schema::sys_user; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `sys_user` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `supper` [INFO] [stdout] --> src/repositories/user.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use supper::PgConnect; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `supper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `new` in this scope [INFO] [stdout] --> src/models/vue_resp.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, Serialize, new)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] derive_new::new [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `embed_migrations` in this scope [INFO] [stdout] --> src/main.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | embed_migrations!("./migrations"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/models/vue_resp.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | impl ResponseMsg { [INFO] [stdout] | - ^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/models/vue_resp.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new_ok(t: T) -> Self { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account` in this scope [INFO] [stdout] --> src/repositories/user.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | .filter(account.eq(searched_account)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VueToken` in this scope [INFO] [stdout] --> src/users/login.rs:12:81 [INFO] [stdout] | [INFO] [stdout] 12 | fn login(pool: &DbPool, config: &Config, payload: &Login) -> Result, AppError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::jwt::VueToken; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Claime` in this scope [INFO] [stdout] --> src/utils/auth.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | pub claime: Claime, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::jwt::Claime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_token` in this scope [INFO] [stdout] --> src/utils/auth.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | .and_then(|token| decode_token(token, &secret_key)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::jwt::decode_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/models/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDateTime` [INFO] [stdout] --> src/models/user.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{NaiveDateTime}; //Local [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web` [INFO] [stdout] --> src/users/me.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{HttpResponse,web}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_by_account` found for struct `PgConnect` in the current scope [INFO] [stdout] --> src/users/login.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let user = user_repository.find_by_account(&payload.account)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `PgConnect` [INFO] [stdout] | [INFO] [stdout] ::: src/repositories/database.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PgConnect { [INFO] [stdout] | -------------------- method `find_by_account` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: Serialize` is not satisfied [INFO] [stdout] --> src/utils/jwt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub user: User, [INFO] [stdout] | ^^^ the trait `Serialize` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `_IMPL_SERIALIZE_FOR_ApiError::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/ser/mod.rs:1879:12 [INFO] [stdout] | [INFO] [stdout] 1879 | T: Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `_IMPL_SERIALIZE_FOR_ApiError::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: _IMPL_SERIALIZE_FOR_ApiError::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/utils/jwt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub user: User, [INFO] [stdout] | ^^^ the trait `_IMPL_SERIALIZE_FOR_ApiError::_serde::Deserialize<'_>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/mod.rs:1706:12 [INFO] [stdout] | [INFO] [stdout] 1706 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `User: _IMPL_SERIALIZE_FOR_ApiError::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/utils/jwt.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub user: User, [INFO] [stdout] | ^^^ the trait `_IMPL_SERIALIZE_FOR_ApiError::_serde::Deserialize<'_>` is not implemented for `User` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.101/src/de/mod.rs:1845:12 [INFO] [stdout] | [INFO] [stdout] 1845 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/repositories/user.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::{prelude::*, result::Error}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0463, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `carmonitor` due to 23 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f38726e9450f313f9a6db58de03866b99496040cdfe6f72ff15adf50ce82ea57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38726e9450f313f9a6db58de03866b99496040cdfe6f72ff15adf50ce82ea57", kill_on_drop: false }` [INFO] [stdout] f38726e9450f313f9a6db58de03866b99496040cdfe6f72ff15adf50ce82ea57