[INFO] cloning repository https://github.com/innexgo/cnc-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/innexgo/cnc-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Fcnc-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Fcnc-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46017cd8d58a5401f98a4d9b86ef8995abb0456d [INFO] checking innexgo/cnc-service against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finnexgo%2Fcnc-service" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/innexgo/cnc-service on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/innexgo/cnc-service [INFO] finished tweaking git repo https://github.com/innexgo/cnc-service [INFO] tweaked toml for git repo https://github.com/innexgo/cnc-service written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/innexgo/cnc-service already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7f4eb6574d2273fedc20b298b3e07e282c5290ea99082cb745554c2aa01103d [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" "e7f4eb6574d2273fedc20b298b3e07e282c5290ea99082cb745554c2aa01103d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7f4eb6574d2273fedc20b298b3e07e282c5290ea99082cb745554c2aa01103d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7f4eb6574d2273fedc20b298b3e07e282c5290ea99082cb745554c2aa01103d", kill_on_drop: false }` [INFO] [stdout] e7f4eb6574d2273fedc20b298b3e07e282c5290ea99082cb745554c2aa01103d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ea541ab0159b1a2fe118a088bc92b77c36926244b6306ac83bd3924e96ca91 [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" "78ea541ab0159b1a2fe118a088bc92b77c36926244b6306ac83bd3924e96ca91", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking base64-url v1.4.10 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking phf v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rust-argon2 v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking postgres-protocol v0.6.2 [INFO] [stderr] Checking postgres-types v0.2.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking tokio-postgres v0.7.3 [INFO] [stderr] Checking serde_json v1.0.68 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking mail-service-api v0.0.1 (https://github.com/innexgo/mail-service-api#a29df7e2) [INFO] [stderr] Checking cnc-service-api v0.7.7 (https://github.com/innexgo/cnc-service-api#e3a686ee) [INFO] [stderr] Checking cnc-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use auth_service_api::response::AuthError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use mail_service_api::response::AuthError; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/db_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use auth_service_api::request::ApiKeyKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use mail_service_api::request::ApiKeyKind; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auth_service_api` [INFO] [stdout] --> src/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use auth_service_api::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use mail_service_api::request; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auth_service_api` [INFO] [stdout] --> src/handlers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use auth_service_api::response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use mail_service_api::response; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use auth_service_api::response::AuthError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use mail_service_api::response::AuthError; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/db_types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use auth_service_api::request::ApiKeyKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1 | use mail_service_api::request::ApiKeyKind; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auth_service_api` [INFO] [stdout] --> src/handlers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use auth_service_api::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use mail_service_api::request; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `auth_service_api` [INFO] [stdout] --> src/handlers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use auth_service_api::response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use mail_service_api::response; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | message = AuthError::NotFound; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | message = AuthError::DecodeError; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | message = AuthError::MethodNotAllowed; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | message = AuthError::Unknown; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api_key_service.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | api_key_kind: auth_service_api::request::ApiKeyKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | api_key_kind: mail_service_api::request::ApiKeyKind, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api_key_service.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | props: auth_service_api::request::ApiKeyViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 82 | props: mail_service_api::request::ApiKeyViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/email_service.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | props: auth_service_api::request::EmailViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | props: mail_service_api::request::EmailViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/parent_permission_service.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | props: auth_service_api::request::ParentPermissionViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 96 | props: mail_service_api::request::ParentPermissionViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/password_service.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | props: auth_service_api::request::PasswordViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | props: mail_service_api::request::PasswordViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/user_data_service.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | props: auth_service_api::request::UserDataViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 85 | props: mail_service_api::request::UserDataViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/user_service.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | props: auth_service_api::request::UserViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | props: mail_service_api::request::UserViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/verification_challenge_service.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | props: auth_service_api::request::VerificationChallengeViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 100 | props: mail_service_api::request::VerificationChallengeViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | F: Future> + Send, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | warp::reply::json(&Err::<(), AuthError>(message)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct AuthErrorRejection(pub AuthError); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | fn auth_error(auth_error: AuthError) -> warp::reject::Rejection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiKeyKind` in this scope [INFO] [stdout] --> src/db_types.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub api_key_kind: ApiKeyKind, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::request::ApiKeyKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 219 | message = AuthError::NotFound; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 224 | message = AuthError::DecodeError; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:228:15 [INFO] [stdout] | [INFO] [stdout] 228 | message = AuthError::MethodNotAllowed; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthError` [INFO] [stdout] --> src/api.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | message = AuthError::Unknown; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api_key_service.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | api_key_kind: auth_service_api::request::ApiKeyKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | api_key_kind: mail_service_api::request::ApiKeyKind, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/api_key_service.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | props: auth_service_api::request::ApiKeyViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 82 | props: mail_service_api::request::ApiKeyViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/email_service.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | props: auth_service_api::request::EmailViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 116 | props: mail_service_api::request::EmailViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/parent_permission_service.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | props: auth_service_api::request::ParentPermissionViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 96 | props: mail_service_api::request::ParentPermissionViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/password_service.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | props: auth_service_api::request::PasswordViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 103 | props: mail_service_api::request::PasswordViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/user_data_service.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | props: auth_service_api::request::UserDataViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 85 | props: mail_service_api::request::UserDataViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/user_service.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | props: auth_service_api::request::UserViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 66 | props: mail_service_api::request::UserViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `auth_service_api` [INFO] [stdout] --> src/verification_challenge_service.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | props: auth_service_api::request::VerificationChallengeViewProps, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared crate or module `auth_service_api` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 100 | props: mail_service_api::request::VerificationChallengeViewProps, [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | F: Future> + Send, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | warp::reply::json(&Err::<(), AuthError>(message)), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | pub struct AuthErrorRejection(pub AuthError); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AuthError` in this scope [INFO] [stdout] --> src/api.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | fn auth_error(auth_error: AuthError) -> warp::reject::Rejection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::response::AuthError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiKeyKind` in this scope [INFO] [stdout] --> src/db_types.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub api_key_kind: ApiKeyKind, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use cnc_service_api::request::ApiKeyKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/handlers.rs:519:15 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(parent_email) = props.parent_email { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/handlers.rs:519:15 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(parent_email) = props.parent_email { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/handlers.rs:519:10 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(parent_email) = props.parent_email { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `utils::_::_serde::__private::Some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/handlers.rs:519:10 [INFO] [stdout] | [INFO] [stdout] 519 | if let Some(parent_email) = props.parent_email { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by a bound in `utils::_::_serde::__private::Some` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers.rs:537:7 [INFO] [stdout] | [INFO] [stdout] 537 | parent_email, [INFO] [stdout] | ^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `str` [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `std::string::String` here [INFO] [stdout] --> src/handlers.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | return Err(response::AuthError::UserNameEmpty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handlers.rs:537:7 [INFO] [stdout] | [INFO] [stdout] 537 | parent_email, [INFO] [stdout] | ^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found `str` [INFO] [stdout] | [INFO] [stdout] note: return type inferred to be `std::string::String` here [INFO] [stdout] --> src/handlers.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | return Err(response::AuthError::UserNameEmpty); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 204 | / handler(config, db, mail_service, props) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/api.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 204 | / handler(config, db, mail_service, props) [INFO] [stdout] 205 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/api_key_service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | api_key_kind: (row.get::<&str, i64>("api_key_kind") as u8) [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .try_into() [INFO] [stdout] | |__________^^^^^^^^_- this method call resolves to `Result>::Error>` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `U` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: TryFrom` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto<_>` for `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/api_key_service.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 15 | api_key_kind: (row.get::<&str, i64>("api_key_kind") as u8) [INFO] [stdout] | _____________________- [INFO] [stdout] 16 | | .try_into() [INFO] [stdout] | |__________^^^^^^^^_- this method call resolves to `Result>::Error>` [INFO] [stdout] | | [INFO] [stdout] | cannot infer type for type parameter `U` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: TryFrom` [INFO] [stdout] = note: required because of the requirements on the impl of `TryInto<_>` for `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0283, E0308, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cnc-service` due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0283, E0308, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "78ea541ab0159b1a2fe118a088bc92b77c36926244b6306ac83bd3924e96ca91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ea541ab0159b1a2fe118a088bc92b77c36926244b6306ac83bd3924e96ca91", kill_on_drop: false }` [INFO] [stdout] 78ea541ab0159b1a2fe118a088bc92b77c36926244b6306ac83bd3924e96ca91