[INFO] cloning repository https://github.com/denismitr/test-auth-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denismitr/test-auth-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenismitr%2Ftest-auth-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenismitr%2Ftest-auth-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3705256353b46cd6f0b271f3923673e9bb64ffb6 [INFO] checking denismitr/test-auth-service against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenismitr%2Ftest-auth-service" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/denismitr/test-auth-service on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/denismitr/test-auth-service [INFO] finished tweaking git repo https://github.com/denismitr/test-auth-service [INFO] tweaked toml for git repo https://github.com/denismitr/test-auth-service written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/denismitr/test-auth-service already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c36bbd88a0d2d6f586abb90d316c11b979be1293a91cef1f600a61846480d888 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c36bbd88a0d2d6f586abb90d316c11b979be1293a91cef1f600a61846480d888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c36bbd88a0d2d6f586abb90d316c11b979be1293a91cef1f600a61846480d888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c36bbd88a0d2d6f586abb90d316c11b979be1293a91cef1f600a61846480d888", kill_on_drop: false }` [INFO] [stdout] c36bbd88a0d2d6f586abb90d316c11b979be1293a91cef1f600a61846480d888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be560a7a6cd8bb4b6e4489f24477f7bc53cd7ddd06af6c758779f1770868d972 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be560a7a6cd8bb4b6e4489f24477f7bc53cd7ddd06af6c758779f1770868d972", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking adler v0.2.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling v_htmlescape v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling hyperx v1.0.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking quoted_printable v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling annotate-snippets v0.6.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Checking flate2 v1.0.16 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling v_eval v0.2.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling v_escape_derive v0.5.6 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling yarte_html v0.7.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling v_escape v0.7.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-threadpool v0.3.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking textnonce v0.7.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking yarte_helpers v0.7.0 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking lettre v0.10.0-alpha.0 (https://github.com/lettre/lettre#e87f9950) [INFO] [stderr] Compiling syntect v3.2.0 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling yarte_parser v0.7.0 [INFO] [stderr] Compiling yarte_hir v0.7.0 [INFO] [stderr] Compiling prettyprint v0.7.0 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Compiling yarte_dom v0.7.0 [INFO] [stderr] Compiling yarte_codegen v0.7.0 [INFO] [stderr] Checking actix-session v0.3.0 [INFO] [stderr] Checking actix-files v0.2.2 [INFO] [stderr] Compiling yarte_derive v0.7.0 [INFO] [stderr] Checking yarte v0.7.0 [INFO] [stderr] Checking auth_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `lettre::Email`, `lettre::StmtClient`, `lettre::ClientSecurity`, `lettre::ClientTlsParameters`, `lettre::smtp`, `lettre::authentication` [INFO] [stdout] --> src/email_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Email, [INFO] [stdout] | ^^^^^ no `Email` in the root [INFO] [stdout] 3 | StmtClient, [INFO] [stdout] | ^^^^^^^^^^ no `StmtClient` in the root [INFO] [stdout] 4 | ClientSecurity, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ClientSecurity` in the root [INFO] [stdout] 5 | ClientTlsParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ClientTlsParameters` in the root [INFO] [stdout] | help: a similar name exists in the module: `TlsParameters` [INFO] [stdout] 6 | Transport, [INFO] [stdout] 7 | smtp::{ [INFO] [stdout] | ^^^^ could not find `smtp` in `lettre` [INFO] [stdout] 8 | ConnectionReuseParameters [INFO] [stdout] 9 | }, authentication::{Credentials, Mechanism} [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `authentication` in `lettre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `lettre::Email`, `lettre::StmtClient`, `lettre::ClientSecurity`, `lettre::ClientTlsParameters`, `lettre::smtp`, `lettre::authentication` [INFO] [stdout] --> src/email_service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Email, [INFO] [stdout] | ^^^^^ no `Email` in the root [INFO] [stdout] 3 | StmtClient, [INFO] [stdout] | ^^^^^^^^^^ no `StmtClient` in the root [INFO] [stdout] 4 | ClientSecurity, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ClientSecurity` in the root [INFO] [stdout] 5 | ClientTlsParameters, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ClientTlsParameters` in the root [INFO] [stdout] | help: a similar name exists in the module: `TlsParameters` [INFO] [stdout] 6 | Transport, [INFO] [stdout] 7 | smtp::{ [INFO] [stdout] | ^^^^ could not find `smtp` in `lettre` [INFO] [stdout] 8 | ConnectionReuseParameters [INFO] [stdout] 9 | }, authentication::{Credentials, Mechanism} [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `authentication` in `lettre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::errors` [INFO] [stdout] --> src/email_service.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{model::Confirmation, errors::AuthError, vars}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `errors`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::errors` [INFO] [stdout] --> src/email_service.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{model::Confirmation, errors::AuthError, vars}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `errors`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::schema` [INFO] [stdout] --> src/model.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use super::schema::*; [INFO] [stdout] | ^^^^^^ maybe a missing crate `schema`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::schema` [INFO] [stdout] --> src/model.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use super::schema::*; [INFO] [stdout] | ^^^^^^ maybe a missing crate `schema`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_cors` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use astix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `astix_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_cors` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use astix_cors::Cors; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `astix_cors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_files` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use astix_files::Files; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `astix_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_files` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | use astix_files::Files; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `astix_files` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_sessions` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use astix_sessions::CookieSession; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `astix_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_sessions` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | use astix_sessions::CookieSession; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `astix_sessions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `astix_web` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use astix_web::{middleware, web, App, HttpServer, http::header}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `astix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_web` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use astix_web::{middleware, web, App, HttpServer, http::header}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `astix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `astix_rt` [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[astix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `astix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `astix_web` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use astix_web::{middleware, web, App, HttpServer, http::header}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `astix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `astix_web` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use astix_web::{middleware, web, App, HttpServer, http::header}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `astix_web` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `astix_rt` [INFO] [stdout] --> src/main.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[astix_rt::main] [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `astix_rt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `confirmations` [INFO] [stdout] --> src/model.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[table_name = "confirmations"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `confirmations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `confirmations` [INFO] [stdout] --> src/model.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[table_name = "confirmations"] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `confirmations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users` [INFO] [stdout] --> src/model.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[table_name = "users"] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `users` [INFO] [stdout] --> src/model.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | #[table_name = "users"] [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smtp_sender_name` in module `vars` [INFO] [stdout] --> src/email_service.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | .from(("noreply@auth-service.com", vars::smtp_sender_name())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `smtp_username` [INFO] [stdout] | [INFO] [stdout] ::: src/vars.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn smtp_username() -> String { [INFO] [stdout] | -------------------------------- similarly named function `smtp_username` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smtp_host` in module `vars` [INFO] [stdout] --> src/email_service.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let smtp_host = vars::smtp_host(); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `smtp_port` [INFO] [stdout] | [INFO] [stdout] ::: src/vars.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn smtp_port() -> u16 { [INFO] [stdout] | ------------------------- similarly named function `smtp_port` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `env_logger` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | env_logger(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smtp_sender_name` in module `vars` [INFO] [stdout] --> src/email_service.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | .from(("noreply@auth-service.com", vars::smtp_sender_name())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `smtp_username` [INFO] [stdout] | [INFO] [stdout] ::: src/vars.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn smtp_username() -> String { [INFO] [stdout] | -------------------------------- similarly named function `smtp_username` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `smtp_host` in module `vars` [INFO] [stdout] --> src/email_service.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let smtp_host = vars::smtp_host(); [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `smtp_port` [INFO] [stdout] | [INFO] [stdout] ::: src/vars.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn smtp_port() -> u16 { [INFO] [stdout] | ------------------------- similarly named function `smtp_port` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `env_logger` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | env_logger(); [INFO] [stdout] | ^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl futures_core::Future` [INFO] [stdout] --> src/main.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SmtpClient` in the current scope [INFO] [stdout] --> src/email_service.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | let mut mailer = SmtpClient::new( [INFO] [stdout] | ^^^ function or associated item not found in `SmtpClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `SmtpClient` in the current scope [INFO] [stdout] --> src/email_service.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | let mut mailer = SmtpClient::new( [INFO] [stdout] | ^^^ function or associated item not found in `SmtpClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/email_service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Transport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | async fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0423, E0425, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `auth_service` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Transport` [INFO] [stdout] --> src/email_service.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Transport, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be560a7a6cd8bb4b6e4489f24477f7bc53cd7ddd06af6c758779f1770868d972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be560a7a6cd8bb4b6e4489f24477f7bc53cd7ddd06af6c758779f1770868d972", kill_on_drop: false }` [INFO] [stdout] be560a7a6cd8bb4b6e4489f24477f7bc53cd7ddd06af6c758779f1770868d972