[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 master#96df4943409564a187894018f15f795426dc2e1f for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoorq%2FBack-End_Rust-Jwt" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soorq/Back-End_Rust-Jwt on toolchain 96df4943409564a187894018f15f795426dc2e1f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+96df4943409564a187894018f15f795426dc2e1f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking soorq/Back-End_Rust-Jwt against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoorq%2FBack-End_Rust-Jwt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soorq/Back-End_Rust-Jwt on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad8e2cba47fc022ef9624e4b9f83405ae64cf763a6ace84f5d89d97c98529f0e [INFO] running `Command { std: "docker" "start" "-a" "ad8e2cba47fc022ef9624e4b9f83405ae64cf763a6ace84f5d89d97c98529f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad8e2cba47fc022ef9624e4b9f83405ae64cf763a6ace84f5d89d97c98529f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8e2cba47fc022ef9624e4b9f83405ae64cf763a6ace84f5d89d97c98529f0e", kill_on_drop: false }` [INFO] [stdout] ad8e2cba47fc022ef9624e4b9f83405ae64cf763a6ace84f5d89d97c98529f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f08a98f39df7a7756d73d31925b1fa0214a30e33059ac403f2ca9fa9d721b1d9 [INFO] running `Command { std: "docker" "start" "-a" "f08a98f39df7a7756d73d31925b1fa0214a30e33059ac403f2ca9fa9d721b1d9", 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 undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [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 undeclared crate or module `warp` [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 undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [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 undeclared crate or module `thiserror` [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 undeclared crate or module `warp` [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 undeclared crate or module `jsonwebtoken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [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 undeclared crate or module `serde` [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 undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let login_route = warp::path!("login") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let user_route = warp::path!("user") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let admin_route = warp::path!("admin") [INFO] [stdout] | ^^^^ use of undeclared crate or module `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 undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/auth.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [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 undeclared crate or module `warp` [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 undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{http::StatusCode, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [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 undeclared crate or module `thiserror` [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 undeclared crate or module `warp` [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 undeclared crate or module `jsonwebtoken` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [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 undeclared crate or module `serde` [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 undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let login_route = warp::path!("login") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let user_route = warp::path!("user") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let admin_route = warp::path!("admin") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/auth.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/auth.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/auth.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/auth.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Error` [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Error, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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: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: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: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: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: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: 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: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/error.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/main.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/error.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/main.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/main.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl warp::reject::Reject for Error {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | impl warp::reject::Reject for Error {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | } else if err.find::().is_some() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | } else if err.find::().is_some() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let json = warp::reply::json(&ErrorResponse { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let json = warp::reply::json(&ErrorResponse { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/error.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | .and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | .and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/auth.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | .checked_add_signed(chrono::Duration::seconds(60)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [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 crate or module `chrono` [INFO] [stdout] --> src/auth.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | .checked_add_signed(chrono::Duration::seconds(60)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::time::Duration; [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 undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .and(warp::post()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | warp::any().map(move || users.clone()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [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 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 undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .and(warp::post()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | warp::any().map(move || users.clone()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [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" test) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `JwtRust` (bin "JwtRust") due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "f08a98f39df7a7756d73d31925b1fa0214a30e33059ac403f2ca9fa9d721b1d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f08a98f39df7a7756d73d31925b1fa0214a30e33059ac403f2ca9fa9d721b1d9", kill_on_drop: false }` [INFO] [stdout] f08a98f39df7a7756d73d31925b1fa0214a30e33059ac403f2ca9fa9d721b1d9