[INFO] cloning repository https://github.com/soorq/Back-End_Rust-Jwt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soorq/Back-End_Rust-Jwt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoorq%2FBack-End_Rust-Jwt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoorq%2FBack-End_Rust-Jwt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9641b342177c8578119071db3020930b324f77b5
[INFO] checking soorq/Back-End_Rust-Jwt against try#0c70cfbec949d241375e31c5a42066be70c720fc for pr-149681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoorq%2FBack-End_Rust-Jwt" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/soorq/Back-End_Rust-Jwt
[INFO] finished tweaking git repo https://github.com/soorq/Back-End_Rust-Jwt
[INFO] tweaked toml for git repo https://github.com/soorq/Back-End_Rust-Jwt written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/soorq/Back-End_Rust-Jwt on toolchain 0c70cfbec949d241375e31c5a42066be70c720fc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/soorq/Back-End_Rust-Jwt 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" "+0c70cfbec949d241375e31c5a42066be70c720fc" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 077a9cb1603407c02ae506ae88c845754e99dbe6c6e1ce0bbc1c363399a899c8
[INFO] running `Command { std: "docker" "start" "-a" "077a9cb1603407c02ae506ae88c845754e99dbe6c6e1ce0bbc1c363399a899c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "077a9cb1603407c02ae506ae88c845754e99dbe6c6e1ce0bbc1c363399a899c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "077a9cb1603407c02ae506ae88c845754e99dbe6c6e1ce0bbc1c363399a899c8", kill_on_drop: false }`
[INFO] [stdout] 077a9cb1603407c02ae506ae88c845754e99dbe6c6e1ce0bbc1c363399a899c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0c70cfbec949d241375e31c5a42066be70c720fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a679d02b44709e1185a2edea8f1c04640b24e41d2c5db723a09bf64e32b3bab2
[INFO] running `Command { std: "docker" "start" "-a" "a679d02b44709e1185a2edea8f1c04640b24e41d2c5db723a09bf64e32b3bab2", kill_on_drop: false }`
[INFO] [stderr]     Checking JwtRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/main.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 `chrono`
[INFO] [stdout]  --> src/auth.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::prelude::*;
[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 `warp`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use warp::{reject, reply, Filter, Rejection, Reply};
[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::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/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply};
[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 `thiserror`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::Error;
[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 `warp`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply};
[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 `jsonwebtoken`
[INFO] [stdout]  --> src/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use jsonwebtoken::{decode, encode, Algorithm, 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]  --> src/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::{
[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/auth.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 `warp`
[INFO] [stdout]  --> src/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::{
[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 `tokio`
[INFO] [stdout]   --> src/main.rs:35:3
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[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:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |     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:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |     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:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let admin_route = warp::path!("admin")
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `warp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]  --> src/main.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 `chrono`
[INFO] [stdout]  --> src/auth.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::prelude::*;
[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 `warp`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use warp::{reject, reply, Filter, Rejection, Reply};
[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::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/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply};
[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 `thiserror`
[INFO] [stdout]  --> src/error.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use thiserror::Error;
[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 `warp`
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply};
[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 `jsonwebtoken`
[INFO] [stdout]  --> src/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use jsonwebtoken::{decode, encode, Algorithm, 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]  --> src/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::{
[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/auth.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 `warp`
[INFO] [stdout]  --> src/auth.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use warp::{
[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 `tokio`
[INFO] [stdout]   --> src/main.rs:35:3
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[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:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |     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:45:22
[INFO] [stdout]    |
[INFO] [stdout] 45 |     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:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |     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:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[error("wrong credentials")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[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:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[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:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[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:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[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:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[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/error.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl warp::reject::Reject for Error {}
[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/error.rs:44:26
[INFO] [stdout]    |
[INFO] [stdout] 44 |     } else if err.find::<warp::reject::MethodNotAllowed>().is_some() {
[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/error.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let json = warp::reply::json(&ErrorResponse {
[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/error.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 |     Ok(warp::reply::with_status(json, code))
[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: cannot find attribute `error` in this scope
[INFO] [stdout]  --> src/error.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[error("wrong credentials")]
[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:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .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 `chrono`
[INFO] [stdout]   --> src/auth.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |         .checked_add_signed(chrono::Duration::seconds(60))
[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] 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] 54 -         .checked_add_signed(chrono::Duration::seconds(60))
[INFO] [stdout] 54 +         .checked_add_signed(Duration::seconds(60))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 |     #[error("jwt token not valid")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> src/auth.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let expiration = Utc::now()
[INFO] [stdout]    |                      ^^^ use of undeclared type `Utc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .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: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[error("jwt token creation 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:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     warp::serve(routes).run(([127, 0, 0, 1], 8000)).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:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     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] 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: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[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:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 |     #[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:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[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/error.rs:28:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl warp::reject::Reject for Error {}
[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/error.rs:44:26
[INFO] [stdout]    |
[INFO] [stdout] 44 |     } else if err.find::<warp::reject::MethodNotAllowed>().is_some() {
[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/error.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let json = warp::reply::json(&ErrorResponse {
[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/error.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 |     Ok(warp::reply::with_status(json, code))
[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:42:14
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .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 `chrono`
[INFO] [stdout]   --> src/auth.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 |         .checked_add_signed(chrono::Duration::seconds(60))
[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] 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] 54 -         .checked_add_signed(chrono::Duration::seconds(60))
[INFO] [stdout] 54 +         .checked_add_signed(Duration::seconds(60))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Utc`
[INFO] [stdout]   --> src/auth.rs:53:22
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let expiration = Utc::now()
[INFO] [stdout]    |                      ^^^ use of undeclared type `Utc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `warp`
[INFO] [stdout]   --> src/main.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         .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:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     warp::serve(routes).run(([127, 0, 0, 1], 8000)).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:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     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] 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 `JwtRust` (bin "JwtRust") due to 31 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `JwtRust` (bin "JwtRust" test) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "a679d02b44709e1185a2edea8f1c04640b24e41d2c5db723a09bf64e32b3bab2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a679d02b44709e1185a2edea8f1c04640b24e41d2c5db723a09bf64e32b3bab2", kill_on_drop: false }`
[INFO] [stdout] a679d02b44709e1185a2edea8f1c04640b24e41d2c5db723a09bf64e32b3bab2
