[INFO] cloning repository https://github.com/jshaughnessy24/project_cs128h [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jshaughnessy24/project_cs128h" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshaughnessy24%2Fproject_cs128h", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshaughnessy24%2Fproject_cs128h'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bb2009a523f0642d971b0149e63e669489a99ed [INFO] testing jshaughnessy24/project_cs128h against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshaughnessy24%2Fproject_cs128h" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jshaughnessy24/project_cs128h [INFO] finished tweaking git repo https://github.com/jshaughnessy24/project_cs128h [INFO] tweaked toml for git repo https://github.com/jshaughnessy24/project_cs128h written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jshaughnessy24/project_cs128h on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jshaughnessy24/project_cs128h already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad547b8ff887cae2039ae1caf4fa21084cac80b3d1d7217666b119aa18b867a4 [INFO] running `Command { std: "docker" "start" "-a" "ad547b8ff887cae2039ae1caf4fa21084cac80b3d1d7217666b119aa18b867a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad547b8ff887cae2039ae1caf4fa21084cac80b3d1d7217666b119aa18b867a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad547b8ff887cae2039ae1caf4fa21084cac80b3d1d7217666b119aa18b867a4", kill_on_drop: false }` [INFO] [stdout] ad547b8ff887cae2039ae1caf4fa21084cac80b3d1d7217666b119aa18b867a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697287006cbe4de79cd75f8280d33f230233cf76a05c23a5e6b5e4498183eb3c [INFO] running `Command { std: "docker" "start" "-a" "697287006cbe4de79cd75f8280d33f230233cf76a05c23a5e6b5e4498183eb3c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling dpi v0.1.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling bcrypt v0.12.1 [INFO] [stderr] Compiling python-input v0.8.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.0 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling mongodb v3.1.0 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling project_cs128h v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current_user_email` [INFO] [stdout] --> src/group_chats_cli/group_chat_messages.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | current_user_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_user_email` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `OtherEmailNotFound` is never constructed [INFO] [stdout] --> src/messages_cli/messages_routes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SendMessageOutcome { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | OtherEmailNotFound, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SendMessageOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "697287006cbe4de79cd75f8280d33f230233cf76a05c23a5e6b5e4498183eb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697287006cbe4de79cd75f8280d33f230233cf76a05c23a5e6b5e4498183eb3c", kill_on_drop: false }` [INFO] [stdout] 697287006cbe4de79cd75f8280d33f230233cf76a05c23a5e6b5e4498183eb3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f253582c2ead8a737829ffc42530b1b1454089d07b549eeeea63dfd0987f2e5 [INFO] running `Command { std: "docker" "start" "-a" "4f253582c2ead8a737829ffc42530b1b1454089d07b549eeeea63dfd0987f2e5", kill_on_drop: false }` [INFO] [stderr] Compiling project_cs128h v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `doc` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | let filter = doc! { "author_email": "test12@test.com" }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `doc` is in scope, but it is an attribute: `#[doc]` [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::doc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `doc` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:364:34 [INFO] [stdout] | [INFO] [stdout] 364 | .find_one_and_delete(doc! {"_id": group_chat_id}) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `doc` is in scope, but it is an attribute: `#[doc]` [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::doc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `doc` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:356:37 [INFO] [stdout] | [INFO] [stdout] 356 | let friend_update_doc = doc! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `doc` is in scope, but it is an attribute: `#[doc]` [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::doc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_group_chat_w_db` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | add_group_chat_w_db(database, "testname1".to_string(), "".to_string(), vect).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::add_group_chat_w_db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | AddGroupChatOutcome::CreatorEmailNotFound [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::AddGroupChatOutcome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:280:61 [INFO] [stdout] | [INFO] [stdout] 280 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_group_chat_w_db` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:287:38 [INFO] [stdout] | [INFO] [stdout] 287 | let add_group_chat_outcome = add_group_chat_w_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::add_group_chat_w_db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | AddGroupChatOutcome::SomeEmailNotFound("val".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::AddGroupChatOutcome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:304:28 [INFO] [stdout] | [INFO] [stdout] 304 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:304:61 [INFO] [stdout] | [INFO] [stdout] 304 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_group_chat_w_db` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | let add_group_chat_outcome = add_group_chat_w_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::add_group_chat_w_db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | AddGroupChatOutcome::SomeEmailNotFriends("test1@test.com".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::AddGroupChatOutcome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:329:28 [INFO] [stdout] | [INFO] [stdout] 329 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:329:61 [INFO] [stdout] | [INFO] [stdout] 329 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let user_coll: Collection = database.collection("users"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Collection; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Collection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Document` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:331:35 [INFO] [stdout] | [INFO] [stdout] 331 | let user_coll: Collection = database.collection("users"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:332:30 [INFO] [stdout] | [INFO] [stdout] 332 | let group_chat_coll: Collection = database.collection("group_chats"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Collection; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Collection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Document` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:332:41 [INFO] [stdout] | [INFO] [stdout] 332 | let group_chat_coll: Collection = database.collection("group_chats"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Document` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:335:40 [INFO] [stdout] | [INFO] [stdout] 335 | let mut friends_user_docs: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `friends_routes` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:342:31 [INFO] [stdout] | [INFO] [stdout] 342 | let get_doc_res = friends_routes::get_user_doc(&user_coll, friend_email).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `friends_routes` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `friends_routes`, use `cargo add friends_routes` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::friends_routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ObjectId` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:348:32 [INFO] [stdout] | [INFO] [stdout] 348 | let mut group_chat_id: ObjectId = ObjectId::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectId` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:348:43 [INFO] [stdout] | [INFO] [stdout] 348 | let mut group_chat_id: ObjectId = ObjectId::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ObjectId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_group_chat_vec_from_doc` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:352:45 [INFO] [stdout] | [INFO] [stdout] 352 | let mut friend_group_chat_vec = get_group_chat_vec_from_doc(&friend_doc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::get_group_chat_vec_from_doc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_group_chat_w_db` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:373:38 [INFO] [stdout] | [INFO] [stdout] 373 | let add_group_chat_outcome = add_group_chat_w_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::add_group_chat_w_db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | AddGroupChatOutcome::Success(group_chat_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AddGroupChatOutcome` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::AddGroupChatOutcome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:389:61 [INFO] [stdout] | [INFO] [stdout] 389 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collection` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:392:27 [INFO] [stdout] | [INFO] [stdout] 392 | let message_coll: Collection = database.collection("messages"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Collection; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Collection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Document` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:392:38 [INFO] [stdout] | [INFO] [stdout] 392 | let message_coll: Collection = database.collection("messages"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Document; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `send_message_group_chat_w_db` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:398:36 [INFO] [stdout] | [INFO] [stdout] 398 | let send_message_outcome = send_message_group_chat_w_db( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::send_message_group_chat_w_db; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectId` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | ObjectId::from_str("674b536a52a18844befce6d9").unwrap(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ObjectId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SendMessageOutcome` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:406:51 [INFO] [stdout] | [INFO] [stdout] 406 | assert_eq!(send_message_outcome.unwrap(), SendMessageOutcome::Success) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `SendMessageOutcome` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::SendMessageOutcome; [INFO] [stdout] | [INFO] [stdout] 257 + use crate::messages_cli::messages_routes::SendMessageOutcome; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:412:28 [INFO] [stdout] | [INFO] [stdout] 412 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:412:61 [INFO] [stdout] | [INFO] [stdout] 412 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_messages_group_chat` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:415:28 [INFO] [stdout] | [INFO] [stdout] 387 | async fn test_message_to_group_chat() { [INFO] [stdout] | ------------------------------- similarly named constant `test_message_to_group_chat` defined here [INFO] [stdout] ... [INFO] [stdout] 415 | let messages_vec = get_messages_group_chat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 415 - let messages_vec = get_messages_group_chat( [INFO] [stdout] 415 + let messages_vec = test_message_to_group_chat( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::get_messages_group_chat; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectId` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | ObjectId::from_str("674b536a52a18844befce6d9").unwrap(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ObjectId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Message` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:422:40 [INFO] [stdout] | [INFO] [stdout] 422 | assert!(messages_vec.contains(&Message { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::Message; [INFO] [stdout] | [INFO] [stdout] 257 + use crate::messages_cli::messages_routes::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:431:28 [INFO] [stdout] | [INFO] [stdout] 431 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:431:61 [INFO] [stdout] | [INFO] [stdout] 431 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 257 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 257 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_group_chat_ids_names_map` in this scope [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | let hash_map = get_group_chat_ids_names_map(database, "test13@test.com".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::get_group_chat_ids_names_map; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectId` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:438:40 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(hash_map.contains_key(&ObjectId::from_str("674b536a52a18844befce6d9").unwrap())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ObjectId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectId` [INFO] [stdout] --> src/group_chats_cli/group_chats_routes.rs:441:23 [INFO] [stdout] | [INFO] [stdout] 441 | .get(&ObjectId::from_str("674b536a52a18844befce6d9").unwrap()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `ObjectId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 257 + use crate::group_chats_cli::group_chats_routes::ObjectId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/messages_cli/messages_routes.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/messages_cli/messages_routes.rs:107:61 [INFO] [stdout] | [INFO] [stdout] 107 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/messages_cli/messages_routes.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/messages_cli/messages_routes.rs:124:60 [INFO] [stdout] | [INFO] [stdout] 124 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/messages_cli/messages_routes.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/messages_cli/messages_routes.rs:145:61 [INFO] [stdout] | [INFO] [stdout] 145 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> src/messages_cli/messages_routes.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/messages_cli/messages_routes.rs:161:61 [INFO] [stdout] | [INFO] [stdout] 161 | ... let client: Result = Client::with_uri_str("mongodb+srv://jennys4:3tA6Ui0z2MPrUnyk@cluster0.jwcji.mon... [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 102 + use crate::Client; [INFO] [stdout] | [INFO] [stdout] 102 + use mongodb::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_user_email` [INFO] [stdout] --> src/group_chats_cli/group_chat_messages.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | current_user_email: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_user_email` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project_cs128h` (bin "project_cs128h" test) due to 53 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4f253582c2ead8a737829ffc42530b1b1454089d07b549eeeea63dfd0987f2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f253582c2ead8a737829ffc42530b1b1454089d07b549eeeea63dfd0987f2e5", kill_on_drop: false }` [INFO] [stdout] 4f253582c2ead8a737829ffc42530b1b1454089d07b549eeeea63dfd0987f2e5