[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] testing ATavanaei/webserver_rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATavanaei%2Fwebserver_rust" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ATavanaei/webserver_rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-5/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4fe05cb278fb1341c2264d3a2eded5eaa1123ee769c1b71b0c5aa60dc160d0a [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" "a4fe05cb278fb1341c2264d3a2eded5eaa1123ee769c1b71b0c5aa60dc160d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4fe05cb278fb1341c2264d3a2eded5eaa1123ee769c1b71b0c5aa60dc160d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4fe05cb278fb1341c2264d3a2eded5eaa1123ee769c1b71b0c5aa60dc160d0a", kill_on_drop: false }` [INFO] [stdout] a4fe05cb278fb1341c2264d3a2eded5eaa1123ee769c1b71b0c5aa60dc160d0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 420d26229aa146d29e2664ad3d48b838ab0e68931654319903feeeab1134b062 [INFO] running `Command { std: "docker" "start" "-a" "420d26229aa146d29e2664ad3d48b838ab0e68931654319903feeeab1134b062", kill_on_drop: false }` [INFO] [stderr] Compiling 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[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[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 this struct [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 this struct [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] [stderr] error: could not compile `Landrocker` due to 61 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "420d26229aa146d29e2664ad3d48b838ab0e68931654319903feeeab1134b062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420d26229aa146d29e2664ad3d48b838ab0e68931654319903feeeab1134b062", kill_on_drop: false }` [INFO] [stdout] 420d26229aa146d29e2664ad3d48b838ab0e68931654319903feeeab1134b062