[INFO] cloning repository https://github.com/rrs-3199/secure-file-share [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rrs-3199/secure-file-share" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrs-3199%2Fsecure-file-share", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrs-3199%2Fsecure-file-share'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02b28830587deb26b4ce3ef01a4a63da2e2ff8db [INFO] checking rrs-3199/secure-file-share against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrs-3199%2Fsecure-file-share" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] fatal: could not create work tree dir '/workspace/builds/worker-5-tc2/source': No space left on device [INFO] checking rrs-3199/secure-file-share against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrs-3199%2Fsecure-file-share" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rrs-3199/secure-file-share [INFO] finished tweaking git repo https://github.com/rrs-3199/secure-file-share [INFO] tweaked toml for git repo https://github.com/rrs-3199/secure-file-share written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rrs-3199/secure-file-share on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rrs-3199/secure-file-share 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e41c477fc4a5b54161f76d18c8574e012a5ae5ecdc499147abeb56d20957c17 [INFO] running `Command { std: "docker" "start" "-a" "0e41c477fc4a5b54161f76d18c8574e012a5ae5ecdc499147abeb56d20957c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e41c477fc4a5b54161f76d18c8574e012a5ae5ecdc499147abeb56d20957c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e41c477fc4a5b54161f76d18c8574e012a5ae5ecdc499147abeb56d20957c17", kill_on_drop: false }` [INFO] [stdout] 0e41c477fc4a5b54161f76d18c8574e012a5ae5ecdc499147abeb56d20957c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3faf5427288e0e95ae6bb2ed71dde1aeddcc65d418a35b7f0423cce06d51759 [INFO] running `Command { std: "docker" "start" "-a" "d3faf5427288e0e95ae6bb2ed71dde1aeddcc65d418a35b7f0423cce06d51759", kill_on_drop: false }` [INFO] [stderr] Checking SECURESHARE v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/dtos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dtos.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::StatusCode, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/dtos.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::StatusCode, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_trait`, use `cargo add async_trait` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `argon2` [INFO] [stdout] --> src/utils/password.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `argon2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `argon2`, use `cargo add argon2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `argon2` [INFO] [stdout] --> src/utils/password.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `argon2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `argon2`, use `cargo add argon2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/utils/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/utils/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/utils/keys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/utils/keys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] --> src/utils/encrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes` [INFO] [stdout] --> src/utils/encrypt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::Aes256; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `aes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aes`, use `cargo add aes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `block_modes` [INFO] [stdout] --> src/utils/encrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/utils/encrypt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/utils/encrypt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rsa::{Pkcs1v15Encrypt, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] --> src/utils/decrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/models.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes` [INFO] [stdout] --> src/utils/decrypt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::Aes256; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `aes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aes`, use `cargo add aes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/models.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `block_modes` [INFO] [stdout] --> src/utils/decrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Request, http::header, middleware::Next, response::IntoResponse, Extension}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/dtos.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/utils/decrypt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rsa::{Pkcs1v15Encrypt, RsaPrivateKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/dtos.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::StatusCode, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Request, http::header, middleware::Next, response::IntoResponse, Extension}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/dtos.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::{Validate, ValidationError}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] --> src/middleware.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_extra::extract::cookie::CookieJar; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_extra`, use `cargo add axum_extra` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::StatusCode, response::{IntoResponse, Response}, Json}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::{header, HeaderMap, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `async_trait` [INFO] [stdout] --> src/db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `async_trait` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `async_trait`, use `cargo add async_trait` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] --> src/handler/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum_extra::extract::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_extra`, use `cargo add axum_extra` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/db.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::{header, HeaderMap, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sqlx` [INFO] [stdout] --> src/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Pool, Postgres}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `argon2` [INFO] [stdout] --> src/utils/password.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `argon2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `argon2`, use `cargo add argon2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `argon2` [INFO] [stdout] --> src/utils/password.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `argon2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `argon2`, use `cargo add argon2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/utils/token.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/utils/token.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/utils/keys.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{decode, encode, DecodingKey, EncodingKey, Header, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/utils/keys.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] --> src/utils/encrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes` [INFO] [stdout] --> src/utils/encrypt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::Aes256; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `aes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aes`, use `cargo add aes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `block_modes` [INFO] [stdout] --> src/utils/encrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/utils/encrypt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/utils/encrypt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rsa::{Pkcs1v15Encrypt, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] --> src/utils/decrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aes` [INFO] [stdout] --> src/utils/decrypt.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aes::Aes256; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `aes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aes`, use `cargo add aes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `block_modes` [INFO] [stdout] --> src/utils/decrypt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use block_modes::{block_padding::Pkcs7, BlockMode, Cbc}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `block_modes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `block_modes`, use `cargo add block_modes` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Request, http::header, middleware::Next, response::IntoResponse, Extension}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/utils/decrypt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rsa::{Pkcs1v15Encrypt, RsaPrivateKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Request, http::header, middleware::Next, response::IntoResponse, Extension}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] --> src/middleware.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum_extra::extract::cookie::CookieJar; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_extra`, use `cargo add axum_extra` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::{header, HeaderMap, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `serde` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] --> src/handler/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum_extra::extract::cookie::Cookie; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `axum_extra` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum_extra`, use `cargo add axum_extra` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/auth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::{header, HeaderMap, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::{get, put}, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils::keys::generate_key` [INFO] [stdout] --> src/handler/auth.rs:7:139 [INFO] [stdout] | [INFO] [stdout] 7 | ...ror::{ErrorMessage, HttpError}, utils::{keys::generate_key, password, token}, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `generate_key` in `utils::keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::{get, put}, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/file_query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::get, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/file_query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::get, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::{get, put}, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{body::Body, extract::Multipart, http::{Response, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::utils::keys::generate_key` [INFO] [stdout] --> src/handler/auth.rs:7:139 [INFO] [stdout] | [INFO] [stdout] 7 | ...ror::{ErrorMessage, HttpError}, utils::{keys::generate_key, password, token}, AppState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `generate_key` in `utils::keys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/file_query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{body::Body, extract::Multipart, http::{Response, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rsa` [INFO] [stdout] --> src/handler/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey}, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/handler/file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/handler/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey}, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64` [INFO] [stdout] --> src/handler/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose::STANDARD, Engine}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `base64` [INFO] [stdout] --> src/handler/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose::STANDARD, Engine}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] --> src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_http`, use `cargo add tower_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::http::{header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE}, HeaderValue, Method}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/router.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware, Extension, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::{get, put}, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/file_query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::get, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/file_query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::Query, response::IntoResponse, routing::get, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/handler/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{body::Body, extract::Multipart, http::{Response, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/file_query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/handler/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{body::Body, extract::Multipart, http::{Response, StatusCode}, response::IntoResponse, routing::post, Extension, Json, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rsa` [INFO] [stdout] --> src/handler/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey}, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tower_http::cors::CorsLayer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_http`, use `cargo add tower_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::filter::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotenv` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dotenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_cron_scheduler` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio_cron_scheduler::{JobScheduler, Job}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_cron_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_cron_scheduler`, use `cargo add tokio_cron_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/handler/file.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `chrono` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `chrono`, use `cargo add chrono` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(sqlx::FromRow)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(sqlx::FromRow)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rsa` [INFO] [stdout] --> src/handler/file.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rsa::{pkcs1::{DecodeRsaPrivateKey, DecodeRsaPublicKey}, RsaPrivateKey, RsaPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `rsa` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rsa`, use `cargo add rsa` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | let file_id: Uuid = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let shared_link = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | let file = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | let files = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | let count_row = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | let files = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let count_row = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | let expired_shared_links: Vec = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:447:43 [INFO] [stdout] | [INFO] [stdout] 447 | let expired_file_ids: Vec = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64` [INFO] [stdout] --> src/handler/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose::STANDARD, Engine}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `validator` [INFO] [stdout] --> src/handler/file.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use validator::Validate; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `validator` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `validator`, use `cargo add validator` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `base64` [INFO] [stdout] --> src/handler/file.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose::STANDARD, Engine}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] --> src/router.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_http`, use `cargo add tower_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use axum::http::{header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE}, HeaderValue, Method}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/router.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{middleware, Extension, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tower_http::cors::CorsLayer; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `tower_http` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower_http`, use `cargo add tower_http` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::filter::LevelFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dotenv` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dotenv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenv`, use `cargo add dotenv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_cron_scheduler` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio_cron_scheduler::{JobScheduler, Job}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_cron_scheduler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_cron_scheduler`, use `cargo add tokio_cron_scheduler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:27:63 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Clone, Deserialize, Serialize, sqlx::FromRow, sqlx::Type)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(sqlx::FromRow)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/models.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(sqlx::FromRow)] [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | let user = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | let file_id: Uuid = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let shared_link = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:306:20 [INFO] [stdout] | [INFO] [stdout] 306 | let file = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | let files = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:357:25 [INFO] [stdout] | [INFO] [stdout] 357 | let count_row = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | let files = sqlx::query_as!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:411:25 [INFO] [stdout] | [INFO] [stdout] 411 | let count_row = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:432:47 [INFO] [stdout] | [INFO] [stdout] 432 | let expired_shared_links: Vec = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:447:43 [INFO] [stdout] | [INFO] [stdout] 447 | let expired_file_ids: Vec = sqlx::query_scalar!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | sqlx::query!( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate(length(min = 1, message = "Name is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[validate(length(min = 1, message = "Name is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dtos.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[serde(rename = "passwordConfirm")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(length(min = 1, message = "Email is required"), email(message = "Email is invalid"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[validate(range(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/dtos.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[serde(rename = "passwordConfirm")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[validate(length(min = 1, message = "Email is required"), email(message = "Email is invalid"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[validate(range(min = 1, max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[validate(length(min = 1, message = "Name is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[validate(range(min = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[validate(range(min = 1, max = 50))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | #[validate(length(min = 1, message = "Name is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[validate(length(min = 1, message = "Query is requireed"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:176:7 [INFO] [stdout] | [INFO] [stdout] 176 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | #[validate(email(message = "Invalid email format"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:183:7 [INFO] [stdout] | [INFO] [stdout] 183 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[validate(length(min = 1, message = "Query is requireed"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | #[validate(custom = "validate_expiration_date")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | #[validate(email(message = "Invalid email format"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | #[validate(length(min = 1, message = "Shared id is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 264 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | #[validate(custom = "validate_expiration_date")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | #[validate(length(min = 1, message = "Shared id is required"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `validate` in this scope [INFO] [stdout] --> src/dtos.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 264 | #[validate( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | &Validation::new(jsonwebtoken::Algorithm::HS256), [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | &Validation::new(jsonwebtoken::Algorithm::HS256), [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | &Validation::new(jsonwebtoken::Algorithm::HS256), [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | &Validation::new(jsonwebtoken::Algorithm::HS256), [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/middleware.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let user_id = uuid::Uuid::parse_str(&token_details.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/middleware.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let user_id = uuid::Uuid::parse_str(&token_details.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/user.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file_query.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file_query.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file_query.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file_query.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let user_id = uuid::Uuid::parse_str(&user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let recipient_user_id = uuid::Uuid::parse_str(&recipient_user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let recipient_user_id = uuid::Uuid::parse_str(&recipient_user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let user_id = uuid::Uuid::parse_str(&user.user.id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let shared_id = uuid::Uuid::parse_str(&body.shared_id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/handler/file.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let shared_id = uuid::Uuid::parse_str(&body.shared_id.to_string()).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `ErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] 20 + return Err(ErrorKind::InvalidSubject.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `ErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] 20 + return Err(ErrorKind::InvalidSubject.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/token.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `ErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] 20 + return Err(ErrorKind::InvalidSubject.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] --> src/utils/keys.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `jsonwebtoken` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jsonwebtoken`, use `cargo add jsonwebtoken` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::ErrorKind; [INFO] [stdout] | [INFO] [stdout] help: if you import `ErrorKind`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - return Err(jsonwebtoken::errors::ErrorKind::InvalidSubject.into()); [INFO] [stdout] 20 + return Err(ErrorKind::InvalidSubject.into()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/handler/auth.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Err(sqlx::Error::Database(db_err)) => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - Err(sqlx::Error::Database(db_err)) => { [INFO] [stdout] 39 + Err(Error::Database(db_err)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/handler/auth.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | Err(sqlx::Error::Database(db_err)) => { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - Err(sqlx::Error::Database(db_err)) => { [INFO] [stdout] 39 + Err(Error::Database(db_err)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/handler/auth.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let cookie_duration = time::Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - let cookie_duration = time::Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] 77 + let cookie_duration = Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `time` [INFO] [stdout] --> src/handler/auth.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let cookie_duration = time::Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `time`, use `cargo add time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] help: if you import `Duration`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 77 - let cookie_duration = time::Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] 77 + let cookie_duration = Duration::minutes(app_state.env.jwt_maxage * 60); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] 95 + let listener = TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 12 + use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpListener`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 95 - let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] 95 + let listener = TcpListener::bind(format!("0.0.0.0:{}", &config.port)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | rand::thread_rng().fill(&mut aes_key); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | rand::thread_rng().fill(&mut iv); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | rand::thread_rng().fill(&mut aes_key); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | rand::thread_rng().fill(&mut iv); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | &mut rand::thread_rng(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/utils/encrypt.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | &mut rand::thread_rng(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub user_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub file_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub recipient_user_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/error.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", serde_json::to_string(&self).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub user_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub file_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | pub recipient_user_id: Option, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `uuid` [INFO] [stdout] --> src/models.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | pub file_id: uuid::Uuid, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `uuid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/error.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | write!(f, "{}", serde_json::to_string(&self).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:47:84 [INFO] [stdout] | [INFO] [stdout] 47 | async fn save_user_key(&self, user_id: Uuid, public_key: String) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> Result; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:47:84 [INFO] [stdout] | [INFO] [stdout] 47 | async fn save_user_key(&self, user_id: Uuid, public_key: String) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result<(Vec, i64), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result<(Vec, i64), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:194:84 [INFO] [stdout] | [INFO] [stdout] 194 | async fn save_user_key(&self, user_id: Uuid, public_key: String) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:283:37 [INFO] [stdout] | [INFO] [stdout] 283 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:325:46 [INFO] [stdout] | [INFO] [stdout] 325 | ) -> Result<(Vec, i64), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:379:49 [INFO] [stdout] | [INFO] [stdout] 379 | ) -> Result<(Vec, i64), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | ) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | tracing_subscriber::fmt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [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 unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | ) -> Result, sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result<(Vec, i64), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> Result<(Vec, i64), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | ) -> Result<(), sqlx::Error>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:194:84 [INFO] [stdout] | [INFO] [stdout] 194 | async fn save_user_key(&self, user_id: Uuid, public_key: String) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:283:37 [INFO] [stdout] | [INFO] [stdout] 283 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | ) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:325:46 [INFO] [stdout] | [INFO] [stdout] 325 | ) -> Result<(Vec, i64), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:379:49 [INFO] [stdout] | [INFO] [stdout] 379 | ) -> Result<(Vec, i64), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] --> src/db.rs:430:21 [INFO] [stdout] | [INFO] [stdout] 430 | ) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | axum::serve(listener, app).await.unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | tracing_subscriber::fmt() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `SECURESHARE` (bin "SECURESHARE") due to 166 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `SECURESHARE` (bin "SECURESHARE" test) due to 166 previous errors [INFO] running `Command { std: "docker" "inspect" "d3faf5427288e0e95ae6bb2ed71dde1aeddcc65d418a35b7f0423cce06d51759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3faf5427288e0e95ae6bb2ed71dde1aeddcc65d418a35b7f0423cce06d51759", kill_on_drop: false }` [INFO] [stdout] d3faf5427288e0e95ae6bb2ed71dde1aeddcc65d418a35b7f0423cce06d51759