[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] checking jshaughnessy24/project_cs128h/9bb2009a523f0642d971b0149e63e669489a99ed against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjshaughnessy24%2Fproject_cs128h" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jshaughnessy24/project_cs128h on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "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" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.66 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded serde_with_macros v3.11.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.66 [INFO] [stderr] Downloaded python-input v0.8.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.1.0 [INFO] [stderr] Downloaded bcrypt v0.12.1 [INFO] [stderr] Downloaded email_address v0.2.9 [INFO] [stderr] Downloaded hickory-resolver v0.24.1 [INFO] [stderr] Downloaded bson v2.13.0 [INFO] [stderr] Downloaded serde_with v3.11.0 [INFO] [stderr] Downloaded mongodb v3.1.0 [INFO] [stderr] Downloaded hickory-proto v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f48e0c3c61917f56430c99621f503f752ed085a126f35022ff1b22ecbb98bc54 [INFO] running `Command { std: "docker" "start" "-a" "f48e0c3c61917f56430c99621f503f752ed085a126f35022ff1b22ecbb98bc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f48e0c3c61917f56430c99621f503f752ed085a126f35022ff1b22ecbb98bc54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48e0c3c61917f56430c99621f503f752ed085a126f35022ff1b22ecbb98bc54", kill_on_drop: false }` [INFO] [stdout] f48e0c3c61917f56430c99621f503f752ed085a126f35022ff1b22ecbb98bc54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ad6b9cc9828a1b243138f380e9275303b5ad81828e634d0e2143564704a621e [INFO] running `Command { std: "docker" "start" "-a" "6ad6b9cc9828a1b243138f380e9275303b5ad81828e634d0e2143564704a621e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking bytemuck v1.20.0 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking bcrypt v0.12.1 [INFO] [stderr] Checking python-input v0.8.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking 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 tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking wayland-protocols v0.32.5 [INFO] [stderr] Checking wayland-cursor v0.31.7 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde_with v3.11.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking bson v2.13.0 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking mongodb v3.1.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.5 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.5 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking 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] 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)]` on by default [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 function `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 function 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)]` 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)]` 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" "6ad6b9cc9828a1b243138f380e9275303b5ad81828e634d0e2143564704a621e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ad6b9cc9828a1b243138f380e9275303b5ad81828e634d0e2143564704a621e", kill_on_drop: false }` [INFO] [stdout] 6ad6b9cc9828a1b243138f380e9275303b5ad81828e634d0e2143564704a621e