[INFO] cloning repository https://github.com/dipdaiict/rust-warp-jwt-auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dipdaiict/rust-warp-jwt-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipdaiict%2Frust-warp-jwt-auth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipdaiict%2Frust-warp-jwt-auth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 932b529e3e47bca3948fca00f7cd42d88b9a6bfa
[INFO] checking dipdaiict/rust-warp-jwt-auth against try#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdipdaiict%2Frust-warp-jwt-auth" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dipdaiict/rust-warp-jwt-auth
[INFO] finished tweaking git repo https://github.com/dipdaiict/rust-warp-jwt-auth
[INFO] tweaked toml for git repo https://github.com/dipdaiict/rust-warp-jwt-auth written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dipdaiict/rust-warp-jwt-auth on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dipdaiict/rust-warp-jwt-auth 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" "+54cf65b8d066c082e536455049b95943cf30378f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba42fb45a70dde39cc2f3f46ab59d80cd284cdd23da3721989d2fe2bfb60bba5
[INFO] running `Command { std: "docker" "start" "-a" "ba42fb45a70dde39cc2f3f46ab59d80cd284cdd23da3721989d2fe2bfb60bba5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba42fb45a70dde39cc2f3f46ab59d80cd284cdd23da3721989d2fe2bfb60bba5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba42fb45a70dde39cc2f3f46ab59d80cd284cdd23da3721989d2fe2bfb60bba5", kill_on_drop: false }`
[INFO] [stdout] ba42fb45a70dde39cc2f3f46ab59d80cd284cdd23da3721989d2fe2bfb60bba5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 17a202c532b6f2cdbf4aa5969e553669aea597ccca1e5f69f93e935796c92bc3
[INFO] running `Command { std: "docker" "start" "-a" "17a202c532b6f2cdbf4aa5969e553669aea597ccca1e5f69f93e935796c92bc3", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-warp-jwt-auth v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]   --> src/main.rs:18:40
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Users = Arc<HashMap<String, User>>
[INFO] [stdout]    |                                        ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 21 | #[derive(Clone)]
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]   --> src/main.rs:18:40
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Users = Arc<HashMap<String, User>>
[INFO] [stdout]    |                                        ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 21 | #[derive(Clone)]
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `fmt`
[INFO] [stdout]   --> src/auth.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | imp fmt::Display for Role {
[INFO] [stdout]    |     ^^^ expected one of `!` or `::`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a keyword `impl` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl fmt::Display for Role {
[INFO] [stdout]    |    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `!` or `::`, found `fmt`
[INFO] [stdout]   --> src/auth.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | imp fmt::Display for Role {
[INFO] [stdout]    |     ^^^ expected one of `!` or `::`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a keyword `impl` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl fmt::Display for Role {
[INFO] [stdout]    |    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::conver`
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::conver::Infallible;
[INFO] [stdout]   |          ^^^^^^ could not find `conver` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `warp`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use warp::{Filter, Rejection, Reply, http::StatusCode};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `warp`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use warp::{Filter, Rejection, Reply, http::StatusCode};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `std::conver`
[INFO] [stdout]  --> src/error.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::conver::Infallible;
[INFO] [stdout]   |          ^^^^^^ could not find `conver` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `warp`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use warp::{Filter, Rejection, Reply, http::StatusCode};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `warp`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use warp::{Filter, Rejection, Reply, http::StatusCode};
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | 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 `war`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use war::{http::StatusCode, Rejection, Reply};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `war`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `war`, use `cargo add war` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::{Error, ErrorKind};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `war`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use war::{http::StatusCode, Rejection, Reply};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `war`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `war`, use `cargo add war` 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:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[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 `warp`
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let login_route = warp::path!("login")
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let user_route = warp::path!("user")
[INFO] [stdout]    |                      ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let admin_route = warp::path!("admin")
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `war`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use war::{http::StatusCode, Rejection, Reply};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `war`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `war`, use `cargo add war` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::{Error, ErrorKind};
[INFO] [stdout]   |     ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `war`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use war::{http::StatusCode, Rejection, Reply};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `war`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `war`, use `cargo add war` 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:40:3
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[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 `warp`
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let login_route = warp::path!("login")
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let user_route = warp::path!("user")
[INFO] [stdout]    |                      ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let admin_route = warp::path!("admin")
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> src/error.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[error("Wrong Credentials")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> src/error.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[error("Wrong Credentials")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> src/error.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[error("JWT Token Not Valid")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> src/error.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[error("JWT Token Not Valid")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[error("JWT Token Creation Error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 |     #[error("JWT Token Creation Error")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[error("No Auth Header")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[error("No Auth Header")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[error("Invalid Auth Header")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[error("Invalid Auth Header")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[error("No Permission")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[error("No Permission")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         .and(warp::body::json())
[INFO] [stdout]    |              ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]   --> src/main.rs:49:14
[INFO] [stdout]    |
[INFO] [stdout] 49 |         .and(warp::body::json())
[INFO] [stdout]    |              ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]    --> src/main.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Ok(warp::reply::json(&LoginResponse { token }))
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]    --> src/main.rs:154:24
[INFO] [stdout]     |
[INFO] [stdout] 154 |             let json = warp::reply::json(&"Invalid email or password");
[INFO] [stdout]     |                        ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]    --> src/main.rs:155:16
[INFO] [stdout]     |
[INFO] [stdout] 155 |             Ok(warp::reply::with_status(json, StatusCode::UNAUTHORIZED))
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]    --> src/main.rs:150:16
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Ok(warp::reply::json(&LoginResponse { token }))
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `handle_rejection` in module `error`
[INFO] [stdout]   --> src/main.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .recover(error::handle_rejection);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ not found in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::sync`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::sync;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use error::Error::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    --> src/main.rs:154:24
[INFO] [stdout]     |
[INFO] [stdout] 154 |             let json = warp::reply::json(&"Invalid email or password");
[INFO] [stdout]     |                        ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]    --> src/main.rs:155:16
[INFO] [stdout]     |
[INFO] [stdout] 155 |             Ok(warp::reply::with_status(json, StatusCode::UNAUTHORIZED))
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `warp`, use `cargo add warp` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `handle_rejection` in module `error`
[INFO] [stdout]   --> src/main.rs:66:25
[INFO] [stdout]    |
[INFO] [stdout] 66 |         .recover(error::handle_rejection);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^ not found in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::sync`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use core::sync;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `error::Error::*`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use error::Error::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         .and(warp::post())
[INFO] [stdout]    |              ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     warp::serve(routes).run(([127, 0, 0, 1], 3030)).await;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]   --> src/main.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     warp::any().map(move || users.clone())
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `reject`
[INFO] [stdout]    --> src/main.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |             .map_err(|e| reject::custom(e))?;
[INFO] [stdout]     |                          ^^^^^^ use of unresolved module or unlinked crate `reject`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `reject`, use `cargo add reject` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-warp-jwt-auth` (bin "rust-warp-jwt-auth" test) due to 29 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         .and(warp::post())
[INFO] [stdout]    |              ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]   --> src/main.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 |     warp::serve(routes).run(([127, 0, 0, 1], 3030)).await;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `warp`
[INFO] [stdout]   --> src/main.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 77 |     warp::any().map(move || users.clone())
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `warp`, use `cargo add warp` 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 `reject`
[INFO] [stdout]    --> src/main.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 |             .map_err(|e| reject::custom(e))?;
[INFO] [stdout]     |                          ^^^^^^ use of unresolved module or unlinked crate `reject`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `reject`, use `cargo add reject` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-warp-jwt-auth` (bin "rust-warp-jwt-auth") due to 29 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "17a202c532b6f2cdbf4aa5969e553669aea597ccca1e5f69f93e935796c92bc3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "17a202c532b6f2cdbf4aa5969e553669aea597ccca1e5f69f93e935796c92bc3", kill_on_drop: false }`
[INFO] [stdout] 17a202c532b6f2cdbf4aa5969e553669aea597ccca1e5f69f93e935796c92bc3
