[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] checking napat1412/docker-wot-registration-server/da07489a93677d96fcc39ae405a142dde8e074ee against master#4ecd70ddd1039a3954056c1071e40278048476fa for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnapat1412%2Fdocker-wot-registration-server" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/napat1412/docker-wot-registration-server on toolchain 4ecd70ddd1039a3954056c1071e40278048476fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 334 packages to latest compatible versions [INFO] [stderr] Adding actix-rt v1.1.1 (available: v2.10.0) [INFO] [stderr] Adding actix-web v3.3.3 (available: v4.9.0) [INFO] [stderr] Adding assert-json-diff v1.1.0 (available: v2.0.2) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.31) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.7) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.6) [INFO] [stderr] Adding lettre v0.9.6 (available: v0.11.14) [INFO] [stderr] Adding maxminddb v0.15.0 (available: v0.25.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.20) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.15.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2-diesel v1.0.0 [INFO] [stderr] Downloaded mysqlclient-sys v0.2.5 [INFO] [stderr] Downloaded extend v0.1.2 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded email v0.0.21 [INFO] [stderr] Downloaded const_fn v0.4.11 [INFO] [stderr] Downloaded assert-json-diff v1.1.0 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded maxminddb v0.15.0 [INFO] [stderr] Downloaded actix-http v2.2.2 [INFO] [stderr] Downloaded actix-web v3.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b67804401c18d94931e18e84ccd3d810d2526c183c948ac4ae5f783fde812e3 [INFO] running `Command { std: "docker" "start" "-a" "9b67804401c18d94931e18e84ccd3d810d2526c183c948ac4ae5f783fde812e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b67804401c18d94931e18e84ccd3d810d2526c183c948ac4ae5f783fde812e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b67804401c18d94931e18e84ccd3d810d2526c183c948ac4ae5f783fde812e3", kill_on_drop: false }` [INFO] [stdout] 9b67804401c18d94931e18e84ccd3d810d2526c183c948ac4ae5f783fde812e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+4ecd70ddd1039a3954056c1071e40278048476fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 895ccb467aefcf5487c44361496f6810e347d2ad90cb33087e71ee73e034e8f4 [INFO] running `Command { std: "docker" "start" "-a" "895ccb467aefcf5487c44361496f6810e347d2ad90cb33087e71ee73e034e8f4", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking either v1.14.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte 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-japanese v1.20141219.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling email v0.0.21 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.9 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking pin-project v1.1.9 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking h2 v0.2.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 serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking maxminddb v0.15.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking assert-json-diff v1.1.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [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] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `mysql` feature [INFO] [stdout] --> src/database.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> src/database.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sqlite` feature [INFO] [stdout] --> src/database.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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 unresolved module or unlinked crate `r2d2_diesel` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `r2d2_diesel`, use `cargo add r2d2_diesel` to add it to your `Cargo.toml` [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[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] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `mysql` feature [INFO] [stdout] --> src/database.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> src/database.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sqlite` feature [INFO] [stdout] --> src/database.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sqlite")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::database::DatabasePool` [INFO] [stdout] --> src/pdns.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | use crate::database::DatabasePool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DatabasePool` in `database` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `mysql` feature [INFO] [stdout] --> src/database.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> src/database.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sqlite` feature [INFO] [stdout] --> src/database.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sqlite")] [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/routes.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | use crate::database::DatabasePool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DatabasePool` in `database` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `mysql` feature [INFO] [stdout] --> src/database.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "mysql")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `postgres` feature [INFO] [stdout] --> src/database.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "postgres")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/database.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct DatabasePool(r2d2::Pool>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `sqlite` feature [INFO] [stdout] --> src/database.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "sqlite")] [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[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: 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[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 unresolved module or unlinked crate `r2d2_diesel` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `r2d2_diesel`, use `cargo add r2d2_diesel` to add it to your `Cargo.toml` [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: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 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: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 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:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [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: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 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 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: 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 `Database` in this scope [INFO] [stdout] --> src/database.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | ++++++++++ [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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [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] 112 + diesel::update(accounts.filter(email::eq(_email))) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 111 - pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] 111 + pub fn update_account_optout(&self, email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | [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] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ------- `_optout` defined here [INFO] [stdout] 112 | diesel::update(accounts.filter(email.eq(_email))) [INFO] [stdout] 113 | .set(optout.eq(_optout)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_optout` marks it as unused, consider renaming it to `optout` [INFO] [stdout] | [INFO] [stdout] 111 - pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] 111 + pub fn update_account_optout(&self, _email: &str, optout: bool) -> QueryResult { [INFO] [stdout] | [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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [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] 121 + .filter(email::eq(_email)) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 117 - pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] 117 + pub fn delete_account(&self, email: &str) -> QueryResult { [INFO] [stdout] | [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: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: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 [INFO] [stdout] | [INFO] [stdout] 146 - .filter(email.eq("")) [INFO] [stdout] 146 + .filter(email::eq("")) [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[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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [INFO] [stdout] 161 | accounts [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] 162 + .filter(email::eq(_email)) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 160 - pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] 160 + pub fn get_account_by_email(&self, email: &str) -> QueryResult { [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[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: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[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/database.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] | ----- `_name` defined here [INFO] [stdout] 175 | domains [INFO] [stdout] 176 | .filter(name.eq(_name)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_name` marks it as unused, consider renaming it to `name` [INFO] [stdout] | [INFO] [stdout] 174 - pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] 174 + pub fn get_domain_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | [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] 181 | pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] 182 | domains [INFO] [stdout] 183 | .filter(token.eq(_token)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 181 - pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] 181 + pub fn get_domain_by_token(&self, token: &str) -> QueryResult { [INFO] [stdout] | [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] 188 | pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] | ----------- `_account_id` defined here [INFO] [stdout] 189 | domains [INFO] [stdout] 190 | .filter(account_id.eq(_account_id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_account_id` marks it as unused, consider renaming it to `account_id` [INFO] [stdout] | [INFO] [stdout] 188 - pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] 188 + pub fn get_domains_by_account_id(&self, account_id: i32) -> QueryResult> { [INFO] [stdout] | [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] 236 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 236 - _token: &str, [INFO] [stdout] 236 + token: &str, [INFO] [stdout] | [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] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ----------- `_account_id` defined here [INFO] [stdout] 243 | .set(( [INFO] [stdout] 244 | account_id.eq(_account_id), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_account_id` marks it as unused, consider renaming it to `account_id` [INFO] [stdout] | [INFO] [stdout] 242 - Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] 242 + Some(account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | [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] 238 | _verification_token: &str, [INFO] [stdout] | ------------------- `_verification_token` defined here [INFO] [stdout] ... [INFO] [stdout] 245 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verification_token` marks it as unused, consider renaming it to `verification_token` [INFO] [stdout] | [INFO] [stdout] 238 - _verification_token: &str, [INFO] [stdout] 238 + verification_token: &str, [INFO] [stdout] | [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] 239 | _verified: bool, [INFO] [stdout] | --------- `_verified` defined here [INFO] [stdout] ... [INFO] [stdout] 246 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verified` marks it as unused, consider renaming it to `verified` [INFO] [stdout] | [INFO] [stdout] 239 - _verified: bool, [INFO] [stdout] 239 + verified: bool, [INFO] [stdout] | [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] 236 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 249 | None => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 236 - _token: &str, [INFO] [stdout] 236 + token: &str, [INFO] [stdout] | [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] 238 | _verification_token: &str, [INFO] [stdout] | ------------------- `_verification_token` defined here [INFO] [stdout] ... [INFO] [stdout] 251 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verification_token` marks it as unused, consider renaming it to `verification_token` [INFO] [stdout] | [INFO] [stdout] 238 - _verification_token: &str, [INFO] [stdout] 238 + verification_token: &str, [INFO] [stdout] | [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] 239 | _verified: bool, [INFO] [stdout] | --------- `_verified` defined here [INFO] [stdout] ... [INFO] [stdout] 252 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verified` marks it as unused, consider renaming it to `verified` [INFO] [stdout] | [INFO] [stdout] 239 - _verified: bool, [INFO] [stdout] 239 + verified: bool, [INFO] [stdout] | [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] 260 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 263 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 260 - _token: &str, [INFO] [stdout] 260 + token: &str, [INFO] [stdout] | [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] 261 | _reclamation_token: &str, [INFO] [stdout] | ------------------ `_reclamation_token` defined here [INFO] [stdout] ... [INFO] [stdout] 264 | .set(reclamation_token.eq(_reclamation_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_reclamation_token` marks it as unused, consider renaming it to `reclamation_token` [INFO] [stdout] | [INFO] [stdout] 261 - _reclamation_token: &str, [INFO] [stdout] 261 + reclamation_token: &str, [INFO] [stdout] | [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] 270 | _name: &str, [INFO] [stdout] | ----- `_name` defined here [INFO] [stdout] ... [INFO] [stdout] 276 | diesel::update(domains.filter(name.eq(_name))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_name` marks it as unused, consider renaming it to `name` [INFO] [stdout] | [INFO] [stdout] 270 - _name: &str, [INFO] [stdout] 270 + name: &str, [INFO] [stdout] | [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] 271 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 278 | token.eq(_token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 271 - _token: &str, [INFO] [stdout] 271 + token: &str, [INFO] [stdout] | [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] 273 | _mode: i32, [INFO] [stdout] | ----- `_mode` defined here [INFO] [stdout] ... [INFO] [stdout] 280 | mode.eq(_mode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_mode` marks it as unused, consider renaming it to `mode` [INFO] [stdout] | [INFO] [stdout] 273 - _mode: i32, [INFO] [stdout] 273 + mode: i32, [INFO] [stdout] | [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] 288 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 291 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 288 - _token: &str, [INFO] [stdout] 288 + token: &str, [INFO] [stdout] | [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] 289 | _dns_challenge: &str, [INFO] [stdout] | -------------- `_dns_challenge` defined here [INFO] [stdout] ... [INFO] [stdout] 292 | .set(dns_challenge.eq(_dns_challenge)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_dns_challenge` marks it as unused, consider renaming it to `dns_challenge` [INFO] [stdout] | [INFO] [stdout] 289 - _dns_challenge: &str, [INFO] [stdout] 289 + dns_challenge: &str, [INFO] [stdout] | [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] 296 | pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 302 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 296 - pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] 296 + pub fn update_domain_timestamp_and_ip(&self, token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | [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] 297 | let _timestamp = SystemTime::now() [INFO] [stdout] | ---------- `_timestamp` defined here [INFO] [stdout] ... [INFO] [stdout] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_timestamp` marks it as unused, consider renaming it to `timestamp` [INFO] [stdout] | [INFO] [stdout] 297 - let _timestamp = SystemTime::now() [INFO] [stdout] 297 + let timestamp = SystemTime::now() [INFO] [stdout] | [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] 307 | pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] 308 | diesel::delete(domains.filter(token.eq(_token))).execute(self.conn()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 307 - pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] 307 + pub fn delete_domain_by_token(&self, token: &str) -> QueryResult { [INFO] [stdout] | [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/database.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `diesel`, `mysql`, `postgres`, `r2d2-diesel`, and `sqlite` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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 `Database` in this scope [INFO] [stdout] --> src/database.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | ++++++++++ [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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [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] 112 + diesel::update(accounts.filter(email::eq(_email))) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 111 - pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] 111 + pub fn update_account_optout(&self, email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | [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] 111 | pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] | ------- `_optout` defined here [INFO] [stdout] 112 | diesel::update(accounts.filter(email.eq(_email))) [INFO] [stdout] 113 | .set(optout.eq(_optout)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_optout` marks it as unused, consider renaming it to `optout` [INFO] [stdout] | [INFO] [stdout] 111 - pub fn update_account_optout(&self, _email: &str, _optout: bool) -> QueryResult { [INFO] [stdout] 111 + pub fn update_account_optout(&self, _email: &str, optout: bool) -> QueryResult { [INFO] [stdout] | [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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [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] 121 + .filter(email::eq(_email)) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 117 - pub fn delete_account(&self, _email: &str) -> QueryResult { [INFO] [stdout] 117 + pub fn delete_account(&self, email: &str) -> QueryResult { [INFO] [stdout] | [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: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: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 [INFO] [stdout] | [INFO] [stdout] 146 - .filter(email.eq("")) [INFO] [stdout] 146 + .filter(email::eq("")) [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[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[E0423]: expected value, found crate `email` [INFO] [stdout] --> src/database.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] | ------ `_email` defined here [INFO] [stdout] 161 | accounts [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] 162 + .filter(email::eq(_email)) [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_email` marks it as unused, consider renaming it to `email` [INFO] [stdout] | [INFO] [stdout] 160 - pub fn get_account_by_email(&self, _email: &str) -> QueryResult { [INFO] [stdout] 160 + pub fn get_account_by_email(&self, email: &str) -> QueryResult { [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[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: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[E0425]: cannot find value `name` in this scope [INFO] [stdout] --> src/database.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] | ----- `_name` defined here [INFO] [stdout] 175 | domains [INFO] [stdout] 176 | .filter(name.eq(_name)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_name` marks it as unused, consider renaming it to `name` [INFO] [stdout] | [INFO] [stdout] 174 - pub fn get_domain_by_name(&self, _name: &str) -> QueryResult { [INFO] [stdout] 174 + pub fn get_domain_by_name(&self, name: &str) -> QueryResult { [INFO] [stdout] | [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] 181 | pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] 182 | domains [INFO] [stdout] 183 | .filter(token.eq(_token)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 181 - pub fn get_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] 181 + pub fn get_domain_by_token(&self, token: &str) -> QueryResult { [INFO] [stdout] | [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] 188 | pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] | ----------- `_account_id` defined here [INFO] [stdout] 189 | domains [INFO] [stdout] 190 | .filter(account_id.eq(_account_id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_account_id` marks it as unused, consider renaming it to `account_id` [INFO] [stdout] | [INFO] [stdout] 188 - pub fn get_domains_by_account_id(&self, _account_id: i32) -> QueryResult> { [INFO] [stdout] 188 + pub fn get_domains_by_account_id(&self, account_id: i32) -> QueryResult> { [INFO] [stdout] | [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] 236 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 236 - _token: &str, [INFO] [stdout] 236 + token: &str, [INFO] [stdout] | [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] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ----------- `_account_id` defined here [INFO] [stdout] 243 | .set(( [INFO] [stdout] 244 | account_id.eq(_account_id), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_account_id` marks it as unused, consider renaming it to `account_id` [INFO] [stdout] | [INFO] [stdout] 242 - Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] 242 + Some(account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | [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] 238 | _verification_token: &str, [INFO] [stdout] | ------------------- `_verification_token` defined here [INFO] [stdout] ... [INFO] [stdout] 245 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verification_token` marks it as unused, consider renaming it to `verification_token` [INFO] [stdout] | [INFO] [stdout] 238 - _verification_token: &str, [INFO] [stdout] 238 + verification_token: &str, [INFO] [stdout] | [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] 239 | _verified: bool, [INFO] [stdout] | --------- `_verified` defined here [INFO] [stdout] ... [INFO] [stdout] 246 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verified` marks it as unused, consider renaming it to `verified` [INFO] [stdout] | [INFO] [stdout] 239 - _verified: bool, [INFO] [stdout] 239 + verified: bool, [INFO] [stdout] | [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] 236 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 249 | None => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 236 - _token: &str, [INFO] [stdout] 236 + token: &str, [INFO] [stdout] | [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] 238 | _verification_token: &str, [INFO] [stdout] | ------------------- `_verification_token` defined here [INFO] [stdout] ... [INFO] [stdout] 251 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verification_token` marks it as unused, consider renaming it to `verification_token` [INFO] [stdout] | [INFO] [stdout] 238 - _verification_token: &str, [INFO] [stdout] 238 + verification_token: &str, [INFO] [stdout] | [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] 239 | _verified: bool, [INFO] [stdout] | --------- `_verified` defined here [INFO] [stdout] ... [INFO] [stdout] 252 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_verified` marks it as unused, consider renaming it to `verified` [INFO] [stdout] | [INFO] [stdout] 239 - _verified: bool, [INFO] [stdout] 239 + verified: bool, [INFO] [stdout] | [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] 260 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 263 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 260 - _token: &str, [INFO] [stdout] 260 + token: &str, [INFO] [stdout] | [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] 261 | _reclamation_token: &str, [INFO] [stdout] | ------------------ `_reclamation_token` defined here [INFO] [stdout] ... [INFO] [stdout] 264 | .set(reclamation_token.eq(_reclamation_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_reclamation_token` marks it as unused, consider renaming it to `reclamation_token` [INFO] [stdout] | [INFO] [stdout] 261 - _reclamation_token: &str, [INFO] [stdout] 261 + reclamation_token: &str, [INFO] [stdout] | [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] 270 | _name: &str, [INFO] [stdout] | ----- `_name` defined here [INFO] [stdout] ... [INFO] [stdout] 276 | diesel::update(domains.filter(name.eq(_name))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_name` marks it as unused, consider renaming it to `name` [INFO] [stdout] | [INFO] [stdout] 270 - _name: &str, [INFO] [stdout] 270 + name: &str, [INFO] [stdout] | [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] 271 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 278 | token.eq(_token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 271 - _token: &str, [INFO] [stdout] 271 + token: &str, [INFO] [stdout] | [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] 273 | _mode: i32, [INFO] [stdout] | ----- `_mode` defined here [INFO] [stdout] ... [INFO] [stdout] 280 | mode.eq(_mode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_mode` marks it as unused, consider renaming it to `mode` [INFO] [stdout] | [INFO] [stdout] 273 - _mode: i32, [INFO] [stdout] 273 + mode: i32, [INFO] [stdout] | [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] 288 | _token: &str, [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 291 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 288 - _token: &str, [INFO] [stdout] 288 + token: &str, [INFO] [stdout] | [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] 289 | _dns_challenge: &str, [INFO] [stdout] | -------------- `_dns_challenge` defined here [INFO] [stdout] ... [INFO] [stdout] 292 | .set(dns_challenge.eq(_dns_challenge)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_dns_challenge` marks it as unused, consider renaming it to `dns_challenge` [INFO] [stdout] | [INFO] [stdout] 289 - _dns_challenge: &str, [INFO] [stdout] 289 + dns_challenge: &str, [INFO] [stdout] | [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] 296 | pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] ... [INFO] [stdout] 302 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 296 - pub fn update_domain_timestamp_and_ip(&self, _token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] 296 + pub fn update_domain_timestamp_and_ip(&self, token: &str, _ip: &str) -> QueryResult { [INFO] [stdout] | [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] 297 | let _timestamp = SystemTime::now() [INFO] [stdout] | ---------- `_timestamp` defined here [INFO] [stdout] ... [INFO] [stdout] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_timestamp` marks it as unused, consider renaming it to `timestamp` [INFO] [stdout] | [INFO] [stdout] 297 - let _timestamp = SystemTime::now() [INFO] [stdout] 297 + let timestamp = SystemTime::now() [INFO] [stdout] | [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] 307 | pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] | ------ `_token` defined here [INFO] [stdout] 308 | diesel::delete(domains.filter(token.eq(_token))).execute(self.conn()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the leading underscore in `_token` marks it as unused, consider renaming it to `token` [INFO] [stdout] | [INFO] [stdout] 307 - pub fn delete_domain_by_token(&self, _token: &str) -> QueryResult { [INFO] [stdout] 307 + pub fn delete_domain_by_token(&self, token: &str) -> QueryResult { [INFO] [stdout] | [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[E0412]: cannot find type `QueryResult` in this scope [INFO] [stdout] --> src/database.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn flush(&self) -> QueryResult { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:335:16 [INFO] [stdout] | [INFO] [stdout] 335 | let conn = db.get_connection().expect("Getting connection."); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/database.rs:544:16 [INFO] [stdout] | [INFO] [stdout] 544 | let conn = db.get_connection().expect("Getting connection."); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/pdns.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | let conn = db.get_connection().expect("Getting connection."); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/pdns.rs:899:54 [INFO] [stdout] | [INFO] [stdout] 899 | let config = Config::from_args_with_db(args, db.clone()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/routes.rs:759:20 [INFO] [stdout] | [INFO] [stdout] 759 | let conn = db.get_connection().expect("Getting connection."); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/routes.rs:766:62 [INFO] [stdout] | [INFO] [stdout] 766 | let config = Config::from_args_with_db(args.clone(), db.clone()); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/database.rs:194:16 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `diesel`, `mysql`, `postgres`, `r2d2-diesel`, and `sqlite` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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[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[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[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] 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` (lib) due to 80 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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` (lib test) due to 89 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "895ccb467aefcf5487c44361496f6810e347d2ad90cb33087e71ee73e034e8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895ccb467aefcf5487c44361496f6810e347d2ad90cb33087e71ee73e034e8f4", kill_on_drop: false }` [INFO] [stdout] 895ccb467aefcf5487c44361496f6810e347d2ad90cb33087e71ee73e034e8f4