[INFO] cloning repository https://github.com/napat1412/docker-wot-registration-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/napat1412/docker-wot-registration-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnapat1412%2Fdocker-wot-registration-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnapat1412%2Fdocker-wot-registration-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da07489a93677d96fcc39ae405a142dde8e074ee [INFO] documenting napat1412/docker-wot-registration-server 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%2Fnapat1412%2Fdocker-wot-registration-server" "/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/napat1412/docker-wot-registration-server 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/napat1412/docker-wot-registration-server [INFO] finished tweaking git repo https://github.com/napat1412/docker-wot-registration-server [INFO] tweaked toml for git repo https://github.com/napat1412/docker-wot-registration-server written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--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" "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] 8616e861264cd2a55d8d87adb4930011eb7878fffd5a17d49b200102ffccc767 [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" "8616e861264cd2a55d8d87adb4930011eb7878fffd5a17d49b200102ffccc767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8616e861264cd2a55d8d87adb4930011eb7878fffd5a17d49b200102ffccc767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8616e861264cd2a55d8d87adb4930011eb7878fffd5a17d49b200102ffccc767", kill_on_drop: false }` [INFO] [stdout] 8616e861264cd2a55d8d87adb4930011eb7878fffd5a17d49b200102ffccc767 [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" "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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 422e3b32c62ca741651b78b1b74345badfb2bdcfd9f1d55334fefefd32c44e4d [INFO] running `Command { std: "docker" "start" "-a" "422e3b32c62ca741651b78b1b74345badfb2bdcfd9f1d55334fefefd32c44e4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling email v0.0.21 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pin-project v0.4.29 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking maxminddb v0.15.0 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Documenting registration_server v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking registration_server v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `diesel` [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate diesel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> src/database.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `domains` in `schema` [INFO] [stdout] --> src/database.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::schema::domains::dsl::*; [INFO] [stdout] | ^^^^^^^ could not find `domains` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::DatabasePool` [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::DatabasePool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DatabasePool` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/database.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/models.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `r2d2_diesel` [INFO] [stdout] --> src/database.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use r2d2_diesel::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `r2d2_diesel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AsChangeset, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Associations` in this scope [INFO] [stdout] --> src/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Associations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Identifiable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Queryable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `belongs_to` in this scope [INFO] [stdout] --> src/models.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[belongs_to(Account)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `joinable` in this scope [INFO] [stdout] --> src/schema.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | joinable!(domains -> accounts (account_id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> src/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | allow_tables_to_appear_in_same_query!(accounts, domains,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `accounts` in `schema` [INFO] [stdout] --> src/database.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::schema::accounts::dsl::*; [INFO] [stdout] | ^^^^^^^^ could not find `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `domains` in `schema` [INFO] [stdout] --> src/database.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::schema::domains::dsl::*; [INFO] [stdout] | ^^^^^^^ could not find `domains` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::DatabasePool` [INFO] [stdout] --> src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::database::DatabasePool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DatabasePool` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/database.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/models.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `r2d2_diesel` [INFO] [stdout] --> src/database.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use r2d2_diesel::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `r2d2_diesel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AsChangeset, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Associations` in this scope [INFO] [stdout] --> src/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Associations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Identifiable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Queryable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `belongs_to` in this scope [INFO] [stdout] --> src/models.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[belongs_to(Account)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `joinable` in this scope [INFO] [stdout] --> src/schema.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | joinable!(domains -> accounts (account_id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> src/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | allow_tables_to_appear_in_same_query!(accounts, domains,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabasePool` in this scope [INFO] [stdout] --> src/database.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/database.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | r2d2::Pool::new(manager).expect(&format!("Unable to open database at {}", db_path)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabasePool` in this scope [INFO] [stdout] --> src/database.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/database.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Database` in this scope [INFO] [stdout] --> src/database.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | let db = Database(pool.get().unwrap()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DatabasePool` in this scope [INFO] [stdout] --> src/database.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | DatabasePool(pool) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/database.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Database` in this scope [INFO] [stdout] --> src/database.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(conn) => Ok(Database(conn)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/database.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | impl Database { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Database` in this scope [INFO] [stdout] --> src/database.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | impl Database { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:96:70 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn add_account<'a>(&self, _email: &'a str, _optout: bool) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:96:70 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn add_account<'a>(&self, _email: &'a str, _optout: bool) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 112 | diesel::update(accounts.filter(email.eq(_email))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 112 | diesel::update(accounts.filter(email::eq(_email))) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 112 | diesel::update(accounts.filter(_email.eq(_email))) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:111:73 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `optout` in this scope [INFO] [stdout] --> src/database.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | .set(optout.eq(_optout)) [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `_optout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_unknown_account(&self) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 121 | .filter(email::eq(_email)) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 121 | .filter(_email.eq(_email)) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn get_account_by_id(&self, _id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_id` in this scope [INFO] [stdout] --> src/database.rs:131:53 [INFO] [stdout] | [INFO] [stdout] 131 | match diesel::delete(domains.filter(account_id.eq(_account.id))) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_domain_by_verification_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:174:54 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:144:42 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn get_unknown_account(&self) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:181:56 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 146 | .filter(email.eq("")) [INFO] [stdout] | ^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `email::eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:156:50 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn get_account_by_id(&self, _id: i32) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:160:57 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 162 | .filter(email::eq(_email)) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 162 | .filter(_email.eq(_email)) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:167:69 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_domain_by_verification_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `verification_token` in this scope [INFO] [stdout] --> src/database.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | .filter(verification_token.eq(_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:174:54 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:296:78 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:307:59 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/database.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | .filter(name.eq(_name)) [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:181:56 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | .filter(token.eq(_token)) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:311:71 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn delete_domain_by_reclamation_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:188:66 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_id` in this scope [INFO] [stdout] --> src/database.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | .filter(account_id.eq(_account_id)) [INFO] [stdout] | ^^^^^^^^^^ help: a local variable with a similar name exists: `_account_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:242:64 [INFO] [stdout] | [INFO] [stdout] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `account_id` in this scope [INFO] [stdout] --> src/database.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | account_id.eq(_account_id), [INFO] [stdout] | ^^^^^^^^^^ help: a local variable with a similar name exists: `_account_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `verification_token` in this scope [INFO] [stdout] --> src/database.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_verification_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `verified` in this scope [INFO] [stdout] --> src/database.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `_verified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:249:51 [INFO] [stdout] | [INFO] [stdout] 249 | None => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `verification_token` in this scope [INFO] [stdout] --> src/database.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_verification_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `verified` in this scope [INFO] [stdout] --> src/database.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ help: a local variable with a similar name exists: `_verified` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:262:10 [INFO] [stdout] | [INFO] [stdout] 262 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:263:39 [INFO] [stdout] | [INFO] [stdout] 263 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reclamation_token` in this scope [INFO] [stdout] --> src/database.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | .set(reclamation_token.eq(_reclamation_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_reclamation_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/database.rs:276:39 [INFO] [stdout] | [INFO] [stdout] 276 | diesel::update(domains.filter(name.eq(_name))) [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | token.eq(_token), [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mode` in this scope [INFO] [stdout] --> src/database.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | mode.eq(_mode), [INFO] [stdout] | ^^^^ help: a local variable with a similar name exists: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_ip` in this scope [INFO] [stdout] --> src/database.rs:281:17 [INFO] [stdout] | [INFO] [stdout] 281 | last_ip.eq(_ip), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:290:10 [INFO] [stdout] | [INFO] [stdout] 290 | ) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:291:39 [INFO] [stdout] | [INFO] [stdout] 291 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dns_challenge` in this scope [INFO] [stdout] --> src/database.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | .set(dns_challenge.eq(_dns_challenge)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `_dns_challenge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:296:78 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:302:39 [INFO] [stdout] | [INFO] [stdout] 302 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `timestamp` in this scope [INFO] [stdout] --> src/database.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `last_ip` in this scope [INFO] [stdout] --> src/database.rs:303:45 [INFO] [stdout] | [INFO] [stdout] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:307:59 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `token` in this scope [INFO] [stdout] --> src/database.rs:308:39 [INFO] [stdout] | [INFO] [stdout] 308 | diesel::delete(domains.filter(token.eq(_token))).execute(self.conn()) [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:311:71 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn delete_domain_by_reclamation_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `reclamation_token` in this scope [INFO] [stdout] --> src/database.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | diesel::delete(domains.filter(reclamation_token.eq(_token))).execute(self.conn()) [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 47 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `registration_server` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name registration_server src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=f9db11cff5eae2e7 -L dependency=/opt/rustwide/target/debug/deps --extern actix_rt=/opt/rustwide/target/debug/deps/libactix_rt-7b56292e9ab5b4d9.rmeta --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-86fe3f06437608ee.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-056e87d3c3682ead.rmeta --extern email=/opt/rustwide/target/debug/deps/libemail-95b4824d6ae2dfa8.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-2cd09228c950a899.rmeta --extern lettre=/opt/rustwide/target/debug/deps/liblettre-f8be093f2b5a7300.rmeta --extern lettre_email=/opt/rustwide/target/debug/deps/liblettre_email-6f2149dbd622747f.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-c2966570978c8032.rmeta --extern maxminddb=/opt/rustwide/target/debug/deps/libmaxminddb-5e1a18f7c7a1bd96.rmeta --extern num_derive=/opt/rustwide/target/debug/deps/libnum_derive-ceeaa0243e7e66e9.so --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-f68596f2b56d8fce.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-c1fb57880e997bf8.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-e16ed725b7810274.rmeta --extern crypto=/opt/rustwide/target/debug/deps/libcrypto-a1ce0ffd942cfed7.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-264a46616c40e5de.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-5d103329857481de.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-e95d8d72457ea106.rmeta --extern toml=/opt/rustwide/target/debug/deps/libtoml-cf7d338dfa83f21b.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-7d4d274050a5337e.rmeta --cap-lints=warn --crate-version 0.4.0` (exit status: 1) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `registration_server` due to 81 previous errors [INFO] running `Command { std: "docker" "inspect" "422e3b32c62ca741651b78b1b74345badfb2bdcfd9f1d55334fefefd32c44e4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422e3b32c62ca741651b78b1b74345badfb2bdcfd9f1d55334fefefd32c44e4d", kill_on_drop: false }` [INFO] [stdout] 422e3b32c62ca741651b78b1b74345badfb2bdcfd9f1d55334fefefd32c44e4d