[INFO] cloning repository https://github.com/ATavanaei/webserver_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ATavanaei/webserver_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATavanaei%2Fwebserver_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATavanaei%2Fwebserver_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb746dac04050bb795952da6bb974a373e3fb7c0 [INFO] checking ATavanaei/webserver_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATavanaei%2Fwebserver_rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ATavanaei/webserver_rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ATavanaei/webserver_rust [INFO] finished tweaking git repo https://github.com/ATavanaei/webserver_rust [INFO] tweaked toml for git repo https://github.com/ATavanaei/webserver_rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/ATavanaei/webserver_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 931e74ad045705c97de8c293229614699b70ee4bf471c020b857d5431b1b9923 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "931e74ad045705c97de8c293229614699b70ee4bf471c020b857d5431b1b9923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "931e74ad045705c97de8c293229614699b70ee4bf471c020b857d5431b1b9923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931e74ad045705c97de8c293229614699b70ee4bf471c020b857d5431b1b9923", kill_on_drop: false }` [INFO] [stdout] 931e74ad045705c97de8c293229614699b70ee4bf471c020b857d5431b1b9923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9438e75e80e77034e08487ec79457d2f69e0603215eeee8703703411cc0e329 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b9438e75e80e77034e08487ec79457d2f69e0603215eeee8703703411cc0e329", kill_on_drop: false }` [INFO] [stderr] Checking Landrocker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/custom_filters.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{Filter, Rejection}; [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/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{http::StatusCode, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{http::StatusCode, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/schema.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/schema.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[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/validators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::de::{Deserializer, Error as DeserializerError, Unexpected}; [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 `serde` [INFO] [stdout] --> src/validators.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::ser::{Error as SerializerError, Serializer}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::error; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/validators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [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/routes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | warp::path!("bye") [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/routes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | warp::path!("shop") [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/routes.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | warp::path!("transaction" / u64) [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/routes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | warp::path!("return" / u64) [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:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `debug` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | debug!("list all transaction"); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | debug!("create new items: {:?}", new_game); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | debug!("game of given id already exists: {}", game.id); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | debug!("update existing bye: id={}, game={:?}", id, updated_game); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | debug!("game of given id not found"); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | debug!("delete transaction: id={}", id); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | debug!("game of given id not found"); [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/schema.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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/schema.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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 `serde` in this scope [INFO] [stdout] --> src/schema.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/schema.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[serde(with = "validators::validate_game_rating")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/schema.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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/schema.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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 `serde` in this scope [INFO] [stdout] --> src/schema.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(rename_all = "SCREAMING_SNAKE_CASE")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/schema.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug, PartialEq)] [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 macro `error` [INFO] [stdout] --> src/validators.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | error!("{}", ERROR_MESSAGE); [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 macro `error` [INFO] [stdout] --> src/validators.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | error!("{}", ERROR_MESSAGE); [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/custom_filters.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | warp::any().map(move || db.clone()) [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/custom_filters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | warp::query::() [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/custom_filters.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | warp::body::content_length_limit(1024 * 32).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/custom_filters.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | warp::body::content_length_limit(1024 * 32).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/handlers.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(warp::reply::json(&games)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(StatusCode::BAD_REQUEST) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .and(warp::get()) [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/routes.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .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/routes.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .and(warp::put()) [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/routes.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .and(warp::delete()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeserializerError` [INFO] [stdout] --> src/validators.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | return Err(DeserializerError::invalid_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeserializerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/custom_filters.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{Filter, Rejection}; [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/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{http::StatusCode, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::debug; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> src/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{http::StatusCode, Reply}; [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/routes.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | 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/routes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/schema.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unexpected` [INFO] [stdout] --> src/validators.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Unexpected::Unsigned(u64::from(value)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Unexpected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/schema.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::Mutex; [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 `serde_json` [INFO] [stdout] --> src/schema.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use serde_json::error::Error; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/schema.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 `serde_test` [INFO] [stdout] --> src/schema.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use serde_test::{assert_tokens, Token}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde` [INFO] [stdout] --> src/validators.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::de::{Deserializer, Error as DeserializerError, Unexpected}; [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 `serde` [INFO] [stdout] --> src/validators.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::ser::{Error as SerializerError, Serializer}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/validators.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::error; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/routes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use tokio::sync::Mutex; [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/routes.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `serde`, `tokio::sync::Mutex`, `warp::http::StatusCode` [INFO] [stdout] --> src/routes.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/validators.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::Deserialize; [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/routes.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | warp::path!("bye") [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/routes.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | warp::path!("shop") [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/routes.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | warp::path!("transaction" / u64) [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/routes.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | warp::path!("return" / u64) [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/routes.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:110:7 [INFO] [stdout] | [INFO] [stdout] 110 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:172:7 [INFO] [stdout] | [INFO] [stdout] 172 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:188:7 [INFO] [stdout] | [INFO] [stdout] 188 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:218:7 [INFO] [stdout] | [INFO] [stdout] 218 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:232:7 [INFO] [stdout] | [INFO] [stdout] 232 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:251:7 [INFO] [stdout] | [INFO] [stdout] 251 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:266:7 [INFO] [stdout] | [INFO] [stdout] 266 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:282:7 [INFO] [stdout] | [INFO] [stdout] 282 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/routes.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | #[tokio::test] [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 `tokio` [INFO] [stdout] --> src/main.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `debug` [INFO] [stdout] --> src/handlers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | debug!("list all transaction"); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | debug!("create new items: {:?}", new_game); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | debug!("game of given id already exists: {}", game.id); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | debug!("update existing bye: id={}, game={:?}", id, updated_game); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | debug!("game of given id not found"); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | debug!("delete transaction: id={}", id); [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 macro `debug` [INFO] [stdout] --> src/handlers.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | debug!("game of given id not found"); [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/schema.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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/schema.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [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 type `SerializerError` [INFO] [stdout] --> src/validators.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | return Err(SerializerError::custom(ERROR_MESSAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SerializerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pretty_env_logger` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pretty_env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let routes = api.with(warp::log("restful_rust")); [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | warp::serve(routes).run(([127, 0, 0, 1], 5760)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/schema.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Db = Arc>>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::ext::net::raw_fd::sys_common::util::thread::panic::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::mutex::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/schema.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | Arc::new(Mutex::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::ext::net::raw_fd::sys_common::util::thread::panic::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::mutex::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Deserializer` in this scope [INFO] [stdout] --> src/validators.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | D: Deserializer<'de>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Serializer` in this scope [INFO] [stdout] --> src/validators.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | S: Serializer, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::validators` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::validators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/schema.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serde(rename_all = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/schema.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[serde(with = "validators::validate_game_rating")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Landrocker` [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/schema.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/schema.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Deserialize, Debug, Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/schema.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[serde(rename_all = "SCREAMING_SNAKE_CASE")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/schema.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Deserialize, Debug, PartialEq)] [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 macro `error` [INFO] [stdout] --> src/validators.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | error!("{}", ERROR_MESSAGE); [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 macro `error` [INFO] [stdout] --> src/validators.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | error!("{}", ERROR_MESSAGE); [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/custom_filters.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | warp::any().map(move || db.clone()) [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/custom_filters.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | warp::query::() [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/custom_filters.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | warp::body::content_length_limit(1024 * 32).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/custom_filters.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | warp::body::content_length_limit(1024 * 32).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/handlers.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | Ok(warp::reply::json(&games)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | Ok(StatusCode::BAD_REQUEST) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | Ok(StatusCode::OK) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/handlers.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .and(warp::get()) [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/routes.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | .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/routes.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | .and(warp::put()) [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/routes.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .and(warp::delete()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NaiveDate` [INFO] [stdout] --> src/routes.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | release_date: NaiveDate::from_ymd(2011, 9, 22).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NaiveDate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NaiveDate` [INFO] [stdout] --> src/routes.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | release_date: NaiveDate::from_ymd(2014, 3, 11).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NaiveDate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NaiveDate` [INFO] [stdout] --> src/routes.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | release_date: NaiveDate::from_ymd(2016, 3, 11).and_hms(0, 0, 0), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NaiveDate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let res = warp::test::request().method("GET").path("/shop").reply(&filter).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:121:34 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | assert_eq!(res.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(res.status(), StatusCode::METHOD_NOT_ALLOWED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:177:19 [INFO] [stdout] | [INFO] [stdout] 177 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:184:34 [INFO] [stdout] | [INFO] [stdout] 184 | assert_eq!(res.status(), StatusCode::CREATED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 193 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(res.status(), StatusCode::PAYLOAD_TOO_LARGE); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:215:34 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(res.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | assert_eq!(res.status(), StatusCode::METHOD_NOT_ALLOWED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(res.status(), StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | assert_eq!(res.status(), StatusCode::NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:271:19 [INFO] [stdout] | [INFO] [stdout] 271 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(res.status(), StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:287:19 [INFO] [stdout] | [INFO] [stdout] 287 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:294:34 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(res.status(), StatusCode::PAYLOAD_TOO_LARGE); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:308:34 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(res.status(), StatusCode::NOT_FOUND); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/routes.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/routes.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | assert_eq!(res.status(), StatusCode::NO_CONTENT); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/schema.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | let game: Game = serde_json::from_str(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/schema.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | let err: Error = serde_json::from_str::(data).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/schema.rs:171:28 [INFO] [stdout] | [INFO] [stdout] 171 | let genre: Genre = serde_json::from_str(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/schema.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | let genre: Genre = serde_json::from_str(data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde_json` [INFO] [stdout] --> src/schema.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | let err: Error = serde_json::from_str::(data).unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeserializerError` [INFO] [stdout] --> src/validators.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | return Err(DeserializerError::invalid_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `DeserializerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Unexpected` [INFO] [stdout] --> src/validators.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Unexpected::Unsigned(u64::from(value)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Unexpected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SerializerError` [INFO] [stdout] --> src/validators.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | return Err(SerializerError::custom(ERROR_MESSAGE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SerializerError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pretty_env_logger` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pretty_env_logger::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_env_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> src/main.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let routes = api.with(warp::log("restful_rust")); [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | warp::serve(routes).run(([127, 0, 0, 1], 5760)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/routes.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | Arc::new(Mutex::new(vec![ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 54 | use crate::env::sys::ext::net::raw_fd::sys_common::util::thread::panic::Mutex; [INFO] [stdout] | [INFO] [stdout] 54 | use crate::env::sys::mutex::Mutex; [INFO] [stdout] | [INFO] [stdout] 54 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/schema.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Db = Arc>>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::ext::net::raw_fd::sys_common::util::thread::panic::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::mutex::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> src/schema.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | Arc::new(Mutex::new( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::ext::net::raw_fd::sys_common::util::thread::panic::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::env::sys::mutex::Mutex; [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/schema.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let err: Error = serde_json::from_str::(data).unwrap_err(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 74 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::os_imp::path::fs::fs_imp::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::os_imp::vec::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/schema.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | let err: Error = serde_json::from_str::(data).unwrap_err(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 74 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::os_imp::path::fs::fs_imp::Error; [INFO] [stdout] | [INFO] [stdout] 74 | use crate::env::os_imp::vec::fmt::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Deserializer` in this scope [INFO] [stdout] --> src/validators.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | D: Deserializer<'de>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Serializer` in this scope [INFO] [stdout] --> src/validators.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | S: Serializer, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::validators` [INFO] [stdout] --> src/schema.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::validators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 121 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b9438e75e80e77034e08487ec79457d2f69e0603215eeee8703703411cc0e329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9438e75e80e77034e08487ec79457d2f69e0603215eeee8703703411cc0e329", kill_on_drop: false }` [INFO] [stdout] b9438e75e80e77034e08487ec79457d2f69e0603215eeee8703703411cc0e329