[INFO] cloning repository https://github.com/Speccy-Rom/rust_rocket_mongo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Speccy-Rom/rust_rocket_mongo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeccy-Rom%2Frust_rocket_mongo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeccy-Rom%2Frust_rocket_mongo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e7f4b025f3aae676f4f7bfbd1e8c0932fcb4292 [INFO] documenting Speccy-Rom/rust_rocket_mongo against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpeccy-Rom%2Frust_rocket_mongo" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Speccy-Rom/rust_rocket_mongo on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Speccy-Rom/rust_rocket_mongo [INFO] finished tweaking git repo https://github.com/Speccy-Rom/rust_rocket_mongo [INFO] tweaked toml for git repo https://github.com/Speccy-Rom/rust_rocket_mongo written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Speccy-Rom/rust_rocket_mongo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ffc4c92ee71b53e83e409703bae942409489ad97c1c606ff0fbb8fdac24b216 [INFO] running `Command { std: "docker" "start" "-a" "2ffc4c92ee71b53e83e409703bae942409489ad97c1c606ff0fbb8fdac24b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ffc4c92ee71b53e83e409703bae942409489ad97c1c606ff0fbb8fdac24b216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffc4c92ee71b53e83e409703bae942409489ad97c1c606ff0fbb8fdac24b216", kill_on_drop: false }` [INFO] [stdout] 2ffc4c92ee71b53e83e409703bae942409489ad97c1c606ff0fbb8fdac24b216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edd425ed87a990a96b4ae5608122fa5801868eb151befdd74cdd707ca0dbbeaf [INFO] running `Command { std: "docker" "start" "-a" "edd425ed87a990a96b4ae5608122fa5801868eb151befdd74cdd707ca0dbbeaf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Documenting rust_rocket_mongo_ v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/secure/guards/client.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | async fn from_request(request: &'r Request<'_>) -> request::Outcome { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 24 | | let ua = request.headers().get("user-agent").next().unwrap(); [INFO] [stdout] 25 | | let browser_info = if ua.is_empty() { [INFO] [stdout] 26 | | "".to_string() [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/secure/guards/user.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | async fn from_request(request: &'r Request<'_>) -> Outcome { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 25 | | let backend = try_outcome!(request [INFO] [stdout] 26 | | .guard::<&State>() [INFO] [stdout] 27 | | .await [INFO] [stdout] ... | [INFO] [stdout] 33 | | .into_outcome(Status::BadRequest) [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/secure/guards/user.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | async fn from_request(request: &'r Request<'_>) -> Outcome { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 42 | | let backend = try_outcome!(request [INFO] [stdout] 43 | | .guard::<&State>() [INFO] [stdout] 44 | | .await [INFO] [stdout] ... | [INFO] [stdout] 56 | | .into_outcome(Status::BadRequest) [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/server/mod.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{controllers, db::MongodbBackend, error::Error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `openssl` [INFO] [stdout] --> src/secure/cert.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use openssl::{ [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/server/config.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{error::Error, secure::cert::generate_cert}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/secure/guards/user.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{db::MongodbBackend, error::Error, models::user::User}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/secure/guards/mod.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{db::MongodbBackend, error::Error, models::user::User}; [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/controllers/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::Serialize; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/controllers/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/db/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::offset::Utc; [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 `mongodb` [INFO] [stdout] --> src/db/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{bson::doc, results::DeleteResult, Client, Collection}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mongodb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::Error` [INFO] [stdout] --> src/db/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ no `Error` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mongodb` [INFO] [stdout] --> src/db/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mongodb::{bson::doc, results::DeleteResult, Client, Collection}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mongodb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mongodb` [INFO] [stdout] --> src/db/mod.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | use mongodb::options::{FindOneAndUpdateOptions, ReturnDocument}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mongodb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> src/db/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | use futures::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/db/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^ use of undeclared crate or module `uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/server/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^ use of undeclared crate or module `clap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/server/config.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{de, Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `derive_more` [INFO] [stdout] --> src/secure/guards/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use derive_more::Deref; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `derive_more` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/secure/guards/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `derive_more` [INFO] [stdout] --> src/secure/guards/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use derive_more::Deref; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `derive_more` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/models/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{offset::Utc, DateTime}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/secure/guards/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono` [INFO] [stdout] --> src/models/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{offset::Utc, DateTime}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/models/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[catch(400)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[catch(401)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[catch(403)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[catch(404)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[catch(422)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> src/server/catchers.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[catch(500)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/server/config.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Deserialize, Clone, Debug, Default)] [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/server/config.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[serde(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[serde(default, deserialize_with = "configure_ssl")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[serde(default, deserialize_with = "configure_mongodb")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/server/config.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Deserialize, Clone, 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 `serde` in this scope [INFO] [stdout] --> src/server/config.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[serde(default = "default_server_host")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[serde(default = "default_server_port")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[serde(default = "default_server_keep_alive")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[serde(default = "default_server_forms_limit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[serde(default = "default_server_json_limit")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[serde(default = "default_server_secret_key")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/server/config.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Deserialize, Clone, 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 `serde` in this scope [INFO] [stdout] --> src/server/config.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | #[serde(default = "default_ssl_enabled")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[serde(default = "default_ssl_self_signed")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[serde(default = "default_ssl_key_file")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[serde(default = "default_ssl_cert_file")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/server/config.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Deserialize, Clone, 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 `serde` in this scope [INFO] [stdout] --> src/server/config.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[serde(default = "default_mongo_host")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:136:7 [INFO] [stdout] | [INFO] [stdout] 136 | #[serde(default = "default_mongo_port")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 138 | #[serde(default = "default_mongo_user")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | #[serde(default = "default_mongo_pass")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/server/config.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[serde(default = "default_mongo_db")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Parser` [INFO] [stdout] --> src/server/mod.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Parser, 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 `clap` in this scope [INFO] [stdout] --> src/server/mod.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[clap(author, version, about)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/server/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[clap(short = 'c', long)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/server/mod.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | let app = app.mount("/", routes![controllers::index::home,]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/server/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | routes![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/secure/guards/user.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize, Deref)] [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/secure/guards/user.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize, Deref)] [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 `Deref` [INFO] [stdout] --> src/secure/guards/user.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Serialize, Deserialize, Deref)] [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/secure/guards/user.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Deref)] [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/secure/guards/user.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Deref)] [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 `Deref` [INFO] [stdout] --> src/secure/guards/user.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Deref)] [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 `try_outcome` [INFO] [stdout] --> src/secure/guards/user.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let backend = try_outcome!(request [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 `try_outcome` [INFO] [stdout] --> src/secure/guards/user.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | let backend = try_outcome!(request [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/secure/guards/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Deref)] [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/secure/guards/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Deref)] [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 `Deref` [INFO] [stdout] --> src/secure/guards/mod.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Serialize, Deserialize, Deref)] [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 `deref` in this scope [INFO] [stdout] --> src/secure/guards/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[deref] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/controllers/index.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/controllers/users.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[get("/my")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/controllers/users.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[post("/", format = "json", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/controllers/users.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `put` in this scope [INFO] [stdout] --> src/controllers/users.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[put("/", format = "json", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `delete` in this scope [INFO] [stdout] --> src/controllers/users.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[delete("/")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/models/user.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Default, Serialize, 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 `Deserialize` [INFO] [stdout] --> src/models/user.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Default, Serialize, 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/models/user.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug, Serialize, 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 `Deserialize` [INFO] [stdout] --> src/models/user.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Clone, Debug, Serialize, 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 macro `doc` [INFO] [stdout] --> src/db/mod.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | .find_one(doc! { "email": &user.email }, None) [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 `doc` [INFO] [stdout] --> src/db/mod.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | doc! { "email": &user.email}, [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 `doc` [INFO] [stdout] --> src/db/mod.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | doc! { [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 `doc` [INFO] [stdout] --> src/db/mod.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | .find_one(doc! {"api_key": api_key}, None) [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 `doc` [INFO] [stdout] --> src/db/mod.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | .delete_one(doc! {"email": email}, None) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in module `error` [INFO] [stdout] --> src/lib.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^ not found in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - pub type Result = std::result::Result; [INFO] [stdout] 24 + pub type Result = std::result::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `rust_rocket_mongo_` [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 89 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0706. [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type lib --crate-name rust_rocket_mongo_ src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=a86ebdee25470d97 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edd425ed87a990a96b4ae5608122fa5801868eb151befdd74cdd707ca0dbbeaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd425ed87a990a96b4ae5608122fa5801868eb151befdd74cdd707ca0dbbeaf", kill_on_drop: false }` [INFO] [stdout] edd425ed87a990a96b4ae5608122fa5801868eb151befdd74cdd707ca0dbbeaf