[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] documenting ATavanaei/webserver_rust against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FATavanaei%2Fwebserver_rust" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ATavanaei/webserver_rust on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "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-18/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" "+1.61.0" "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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afaedcd49f34d00e94731129657e89652bdae8cf7dd889358959188d36cdd222 [INFO] running `Command { std: "docker" "start" "-a" "afaedcd49f34d00e94731129657e89652bdae8cf7dd889358959188d36cdd222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afaedcd49f34d00e94731129657e89652bdae8cf7dd889358959188d36cdd222", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afaedcd49f34d00e94731129657e89652bdae8cf7dd889358959188d36cdd222", kill_on_drop: false }` [INFO] [stdout] afaedcd49f34d00e94731129657e89652bdae8cf7dd889358959188d36cdd222 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bd8a704dab788a82d11017709edb46e6036ca80fffdd2f7b26eaaeab6324473 [INFO] running `Command { std: "docker" "start" "-a" "7bd8a704dab788a82d11017709edb46e6036ca80fffdd2f7b26eaaeab6324473", kill_on_drop: false }` [INFO] [stderr] Documenting 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[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[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] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [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 document `Landrocker` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name Landrocker src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=84c9298f4b53052a -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "7bd8a704dab788a82d11017709edb46e6036ca80fffdd2f7b26eaaeab6324473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bd8a704dab788a82d11017709edb46e6036ca80fffdd2f7b26eaaeab6324473", kill_on_drop: false }` [INFO] [stdout] 7bd8a704dab788a82d11017709edb46e6036ca80fffdd2f7b26eaaeab6324473