[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 against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121545 [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 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking napat1412/docker-wot-registration-server against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnapat1412%2Fdocker-wot-registration-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/napat1412/docker-wot-registration-server on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking napat1412/docker-wot-registration-server against try#7ee76453dd3eae6de6c1351f26482bed63b01beb for pr-121545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnapat1412%2Fdocker-wot-registration-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/napat1412/docker-wot-registration-server on toolchain 7ee76453dd3eae6de6c1351f26482bed63b01beb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded maxminddb v0.15.0 [INFO] [stderr] Downloaded email v0.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1814956e1aef527f1f056335cd7ad1c75d57e4d3734ce01f6b1cdc2282e22031 [INFO] running `Command { std: "docker" "start" "-a" "1814956e1aef527f1f056335cd7ad1c75d57e4d3734ce01f6b1cdc2282e22031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1814956e1aef527f1f056335cd7ad1c75d57e4d3734ce01f6b1cdc2282e22031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1814956e1aef527f1f056335cd7ad1c75d57e4d3734ce01f6b1cdc2282e22031", kill_on_drop: false }` [INFO] [stdout] 1814956e1aef527f1f056335cd7ad1c75d57e4d3734ce01f6b1cdc2282e22031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7ee76453dd3eae6de6c1351f26482bed63b01beb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5603433d5eb3b085b5e4f72559e9b1b28b22e4040dfe325a97ee32dd1b11919 [INFO] running `Command { std: "docker" "start" "-a" "f5603433d5eb3b085b5e4f72559e9b1b28b22e4040dfe325a97ee32dd1b11919", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pin-project-internal v0.4.30 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling derive_more v0.99.17 [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] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking pin-project v0.4.30 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [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] Compiling email v0.0.20 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.1.5 [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.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking actix-http v2.2.2 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking maxminddb v0.15.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling extend v0.1.2 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking assert-json-diff v1.1.0 [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] 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] 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] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/database.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/models.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `r2d2_diesel` [INFO] [stdout] --> src/database.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use r2d2_diesel::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `r2d2_diesel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:3:72 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AsChangeset, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Associations` in this scope [INFO] [stdout] --> src/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Associations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Identifiable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Queryable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] 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] 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] [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[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] 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] 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] [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[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] 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] 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] [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: 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[E0432]: unresolved imports `crate::schema::accounts`, `crate::schema::domains` [INFO] [stdout] --> src/models.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::schema::{accounts, domains}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ no `domains` in `schema` [INFO] [stdout] | | [INFO] [stdout] | no `accounts` in `schema` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `r2d2_diesel` [INFO] [stdout] --> src/database.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use r2d2_diesel::ConnectionManager; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `r2d2_diesel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 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 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 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 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 `Queryable` in this scope [INFO] [stdout] --> src/models.rs:3:86 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Clone, Debug, PartialEq, Serialize, Deserialize, AsChangeset, Identifiable, Queryable)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[table_name = "accounts"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `AsChangeset` in this scope [INFO] [stdout] --> src/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | AsChangeset, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Associations` in this scope [INFO] [stdout] --> src/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Associations, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Identifiable` in this scope [INFO] [stdout] --> src/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Identifiable, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Queryable` in this scope [INFO] [stdout] --> src/models.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Queryable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `belongs_to` in this scope [INFO] [stdout] --> src/models.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[belongs_to(Account)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Insertable` in this scope [INFO] [stdout] --> src/models.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Insertable)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `table_name` in this scope [INFO] [stdout] --> src/models.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[table_name = "domains"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/schema.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `joinable` in this scope [INFO] [stdout] --> src/schema.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | joinable!(domains -> accounts (account_id)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `allow_tables_to_appear_in_same_query` in this scope [INFO] [stdout] --> src/schema.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | allow_tables_to_appear_in_same_query!(accounts, domains,); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabasePool` in this scope [INFO] [stdout] --> src/database.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | impl DatabasePool { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/database.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | r2d2::Pool::new(manager).expect(&format!("Unable to open database at {}", db_path)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `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] 112 | diesel::update(accounts.filter(email.eq(_email))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 112 | diesel::update(accounts.filter(email::eq(_email))) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 113 | .set(optout.eq(_optout)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 121 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 121 | .filter(email::eq(_email)) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] | ^^^^^- help: use the path separator to refer to an item: `::` [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] 162 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 162 | .filter(email::eq(_email)) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 176 | .filter(name.eq(_name)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 183 | .filter(token.eq(_token)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 190 | .filter(account_id.eq(_account_id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 244 | account_id.eq(_account_id), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 245 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 246 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 249 | None => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 251 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 252 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 263 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 264 | .set(reclamation_token.eq(_reclamation_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 276 | diesel::update(domains.filter(name.eq(_name))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 278 | token.eq(_token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 280 | mode.eq(_mode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 291 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 292 | .set(dns_challenge.eq(_dns_challenge)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 302 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 308 | diesel::delete(domains.filter(token.eq(_token))).execute(self.conn()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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: the item `toml` is imported redundantly [INFO] [stdout] --> src/args.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use toml; [INFO] [stdout] | ^^^^ the item `toml` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `maxminddb` is imported redundantly [INFO] [stdout] --> src/pdns.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use maxminddb; [INFO] [stdout] | ^^^^^^^^^ the item `maxminddb` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pdns.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined here [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] 112 | diesel::update(accounts.filter(email.eq(_email))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 112 | diesel::update(accounts.filter(email::eq(_email))) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 113 | .set(optout.eq(_optout)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 121 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 121 | .filter(email::eq(_email)) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] | ^^^^^- help: use the path separator to refer to an item: `::` [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] 162 | .filter(email.eq(_email)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 162 | .filter(email::eq(_email)) [INFO] [stdout] | ~~ [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 176 | .filter(name.eq(_name)) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 183 | .filter(token.eq(_token)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 190 | .filter(account_id.eq(_account_id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 242 | Some(_account_id) => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 244 | account_id.eq(_account_id), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 245 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 246 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 249 | None => diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 251 | verification_token.eq(_verification_token), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 252 | verified.eq(_verified), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 263 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 264 | .set(reclamation_token.eq(_reclamation_token)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 276 | diesel::update(domains.filter(name.eq(_name))) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 278 | token.eq(_token), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 280 | mode.eq(_mode), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 291 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 292 | .set(dns_challenge.eq(_dns_challenge)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 302 | diesel::update(domains.filter(token.eq(_token))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 303 | .set((timestamp.eq(_timestamp), last_ip.eq(_ip))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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] 308 | diesel::delete(domains.filter(token.eq(_token))).execute(self.conn()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists, consider changing it [INFO] [stdout] | [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: the item `toml` is imported redundantly [INFO] [stdout] --> src/args.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use toml; [INFO] [stdout] | ^^^^ the item `toml` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `maxminddb` is imported redundantly [INFO] [stdout] --> src/pdns.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use maxminddb; [INFO] [stdout] | ^^^^^^^^^ the item `maxminddb` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Config` is imported redundantly [INFO] [stdout] --> src/pdns.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 836 | use super::*; [INFO] [stdout] | -------- the item `Config` is already imported here [INFO] [stdout] 837 | use crate::args::ArgsParser; [INFO] [stdout] 838 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/pdns.rs:841:9 [INFO] [stdout] | [INFO] [stdout] 836 | use super::*; [INFO] [stdout] | -------- the item `serde_json` is already imported here [INFO] [stdout] ... [INFO] [stdout] 841 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Config` is imported redundantly [INFO] [stdout] --> src/routes.rs:739:9 [INFO] [stdout] | [INFO] [stdout] 737 | use super::*; [INFO] [stdout] | -------- the item `Config` is already imported here [INFO] [stdout] 738 | use crate::args::ArgsParser; [INFO] [stdout] 739 | use crate::config::Config; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `actix_rt` is imported redundantly [INFO] [stdout] --> src/routes.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | use actix_rt; [INFO] [stdout] | ^^^^^^^^ the item `actix_rt` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/routes.rs:745:9 [INFO] [stdout] | [INFO] [stdout] 745 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [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] error: aborting due to 80 previous errors; 3 warnings emitted [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 81 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 89 previous errors; 7 warnings emitted [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 test) due to 90 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f5603433d5eb3b085b5e4f72559e9b1b28b22e4040dfe325a97ee32dd1b11919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5603433d5eb3b085b5e4f72559e9b1b28b22e4040dfe325a97ee32dd1b11919", kill_on_drop: false }` [INFO] [stdout] f5603433d5eb3b085b5e4f72559e9b1b28b22e4040dfe325a97ee32dd1b11919