[INFO] cloning repository https://github.com/S-Hochberg/RustIM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S-Hochberg/RustIM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15e66769a09e9093e3263658b6b49c7149f9ee68 [INFO] building S-Hochberg/RustIM/15e66769a09e9093e3263658b6b49c7149f9ee68 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS-Hochberg%2FRustIM" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S-Hochberg/RustIM on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S-Hochberg/RustIM [INFO] finished tweaking git repo https://github.com/S-Hochberg/RustIM [INFO] tweaked toml for git repo https://github.com/S-Hochberg/RustIM written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/S-Hochberg/RustIM 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-rs v10.1.0 [INFO] [stderr] Downloaded anyhow v1.0.88 [INFO] [stderr] Downloaded http-serde-ext v1.0.2 [INFO] [stderr] Downloaded ts-rs-macros v10.1.0 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e6521825f6dbc5d32c26a6e226cd86881d5364adb47e17ca70d9702933a455f [INFO] running `Command { std: "docker" "start" "-a" "9e6521825f6dbc5d32c26a6e226cd86881d5364adb47e17ca70d9702933a455f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e6521825f6dbc5d32c26a6e226cd86881d5364adb47e17ca70d9702933a455f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6521825f6dbc5d32c26a6e226cd86881d5364adb47e17ca70d9702933a455f", kill_on_drop: false }` [INFO] [stdout] 9e6521825f6dbc5d32c26a6e226cd86881d5364adb47e17ca70d9702933a455f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e7e0540c0fde254efb8e205dfe012230698b0e27d17712a46fd98c44cdefb7 [INFO] running `Command { std: "docker" "start" "-a" "86e7e0540c0fde254efb8e205dfe012230698b0e27d17712a46fd98c44cdefb7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling ts-rs-macros v10.1.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling http-serde-ext v1.0.2 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling ts-rs v10.1.0 [INFO] [stderr] Compiling tracing-test v0.2.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling rust_im v0.1.0 (/opt/rustwide/workdir/rust_im) [INFO] [stdout] error[E0252]: the name `Serialize` is defined multiple times [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | --------- previous import of the trait `Serialize` here [INFO] [stdout] 4 | use ts_rs::TS; [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Serialize` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Deserialize` is defined multiple times [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ----------- previous import of the trait `Deserialize` here [INFO] [stdout] 4 | use ts_rs::TS; [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ `Deserialize` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Deserialize` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `DisplayViaDebug` is defined multiple times [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macros::DisplayViaDebug; [INFO] [stdout] | ----------------------- previous import of the macro `DisplayViaDebug` here [INFO] [stdout] ... [INFO] [stdout] 7 | use macros::DisplayViaDebug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `DisplayViaDebug` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `DisplayViaDebug` must be defined only once in the macro namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `MessageRequest` is defined multiple times [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum MessageRequest{ [INFO] [stdout] | ----------------------- previous definition of the type `MessageRequest` here [INFO] [stdout] ... [INFO] [stdout] 54 | pub struct MessageRequest{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ `MessageRequest` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `MessageRequest` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::im_message::MessageProtocol` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use super::im_message::MessageProtocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MessageProtocol` in `ws_server::im_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ws_server::im_message::ChatMessage`, `crate::ws_server::im_message::MessageProtocol` [INFO] [stdout] --> rust_im/src/ws_server/operations/send_mesage_operation.rs:6:95 [INFO] [stdout] | [INFO] [stdout] 6 | ...n}, ws_server::{im_message::{ChatMessage, MessageProtocol, MessageStatus}, messaging_service::send_message_to_user}}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `MessageProtocol` in `ws_server::im_message` [INFO] [stdout] | | [INFO] [stdout] | no `ChatMessage` in `ws_server::im_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::im_message::MessageProtocol` [INFO] [stdout] --> rust_im/src/ws_server/messaging_service.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use super::im_message::{MessageProtocol}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `MessageProtocol` in `ws_server::im_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChatMessage` in this scope [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | Chat(ChatMessage), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct MessageRequest{ [INFO] [stdout] | ^^^^^^^^^^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0574]: expected struct, variant or union type, found enum `MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^ not a struct, variant or union type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> rust_im/src/ws_server/conversation.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Utc` in this scope [INFO] [stdout] --> rust_im/src/ws_server/conversation.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | created_at: DateTime, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Utc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `utc_date_time` [INFO] [stdout] --> rust_im/src/ws_server/conversation.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | #[serde(with = "utc_date_time")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `utc_date_time` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `utc_date_time`, use `cargo add utc_date_time` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use crate::utils::utils::utc_date_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `created_at` in this scope [INFO] [stdout] --> rust_im/src/ws_server/conversation.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[ts(as = "created_at")] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[serde(rename_all="lowercase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[serde(rename_all="lowercase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract::ws::CloseFrame` and `http::header::CONNECTION` [INFO] [stdout] --> rust_im/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::ws::CloseFrame, http::header::CONNECTION}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::StatusCode` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::ws::{CloseFrame, Message, WebSocket}, http::StatusCode}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `naive::serde::ts_microseconds::deserialize` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{naive::serde::ts_microseconds::deserialize, DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::JoinHandle` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::{select, task::JoinHandle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::conversation::ConversationType` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use super::conversation::ConversationType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::DisplayViaDebug` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use macros::DisplayViaDebug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::Infallible` [INFO] [stdout] --> rust_im/src/operation/operation.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ convert::Infallible, fmt::{Debug, Display}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Parts` [INFO] [stdout] --> rust_im/src/operation/operation.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{extract::ws::CloseCode, http::{response::Parts, StatusCode}, response::{IntoResponse, IntoResponseParts, Response, ResponsePar... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0124]: field `sent_at` is already declared [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:80:2 [INFO] [stdout] | [INFO] [stdout] 77 | pub sent_at: DateTime, [INFO] [stdout] | -------------------------- `sent_at` first declared here [INFO] [stdout] ... [INFO] [stdout] 80 | pub sent_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field already declared [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Display` for type `MessageType` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug, Copy)] [INFO] [stdout] | --------------- first implementation here [INFO] [stdout] 16 | #[serde(rename_all="lowercase")] [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ conflicting implementation for `MessageType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DisplayViaDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Display` for type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | --------------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ conflicting implementation for `im_message::MessageRequest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `DisplayViaDebug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Clone` for type `MessageType` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:17:58 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug, Copy)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] 16 | #[serde(rename_all="lowercase")] [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ^^^^^ conflicting implementation for `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Clone` for type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:34 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `im_message::MessageRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `MessageType` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug, Copy)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] 16 | #[serde(rename_all="lowercase")] [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ^^^^^ conflicting implementation for `MessageType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `std::fmt::Debug` for type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ----- first implementation here [INFO] [stdout] ... [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^ conflicting implementation for `im_message::MessageRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Serialize` for type `MessageType` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug, Copy)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] 16 | #[serde(rename_all="lowercase")] [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `MessageType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Serialize` for type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | --------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^^^^^ conflicting implementation for `im_message::MessageRequest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `MessageType` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug, Copy)] [INFO] [stdout] | ----------- first implementation here [INFO] [stdout] 16 | #[serde(rename_all="lowercase")] [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ conflicting implementation for `MessageType` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Serialize, Deserialize, Debug, DisplayViaDebug, Clone)] [INFO] [stdout] | ----------- first implementation here [INFO] [stdout] ... [INFO] [stdout] 52 | #[derive(Deserialize, Serialize, Clone, Debug, DisplayViaDebug)] [INFO] [stdout] | ^^^^^^^^^^^ conflicting implementation for `im_message::MessageRequest` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ImMessage` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:64:71 [INFO] [stdout] | [INFO] [stdout] 64 | error!("Error while stringifying message {:?}, error - {}", message, err); [INFO] [stdout] | ^^^^^^^ `ImMessage` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `ImMessage` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ImMessage` or manually `impl std::fmt::Debug for ImMessage` [INFO] [stdout] = note: this error originates in the macro `::core::format_args` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `ImMessage` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_im/src/ws_server/connection_manager.rs:64:71 [INFO] [stdout] | [INFO] [stdout] 64 | error!("Error while stringifying message {:?}, error - {}", message, err); [INFO] [stdout] | ^^^^^^^ `ImMessage` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Debug` is not implemented for `ImMessage` [INFO] [stdout] = note: add `#[derive(Debug)]` to `ImMessage` or manually `impl std::fmt::Debug for ImMessage` [INFO] [stdout] = note: this error originates in the macro `::core::format_args` which comes from the expansion of the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_connection` found for struct `CONNECTION_MANAGER` in the current scope [INFO] [stdout] --> rust_im/src/ws_server/messaging_service.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | match CONNECTION_MANAGER.get_connection(&target) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: rust_im/src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static!{ [INFO] [stdout] 27 | | static ref CONFIG: Config = Config::new(); [INFO] [stdout] 28 | | static ref CONNECTION_MANAGER: ConnectionManager = ConnectionManager::new(); [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- method `get_connection` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `insert_connection` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - match CONNECTION_MANAGER.get_connection(&target) { [INFO] [stdout] 12 + match CONNECTION_MANAGER.insert_connection(&target) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> rust_im/src/ws_server/messaging_service.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | Err(OpError::internal_error())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `&OpType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rust_im/src/operation/operation.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn internal_error(op_type: &OpType) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 18 | Err(OpError::internal_error(/* &OpType */))? [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> rust_im/src/ws_server/messaging_service.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | Err(OpError::internal_error()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `&OpType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> rust_im/src/operation/operation.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn internal_error(op_type: &OpType) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 25 | Err(OpError::internal_error(/* &OpType */)) [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `op_type` in initializer of `OpErrorInput<_>` [INFO] [stdout] --> rust_im/src/ws_server/messaging_service.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | Err(OpError::bad_request(OpErrorInput{ [INFO] [stdout] | ^^^^^^^^^^^^ missing `op_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_type` on type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/operations/messages/send_message_operation.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | message_type: self.state.request.message_type, [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `content` on type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/operations/messages/send_message_operation.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | content: self.state.request.content.clone(), [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `recipient` on type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/operations/messages/send_message_operation.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | recipient: self.state.request.recipient, [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `conversation_type` on type `im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/operations/messages/send_message_operation.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | conversation_type: self.state.request.conversation_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `client_request_id` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:55:6 [INFO] [stdout] | [INFO] [stdout] 55 | pub client_request_id: Uuid, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `operation` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | pub operation: ChatOperation, [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `target` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | pub target: Uuid, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `conversation_type` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:58:6 [INFO] [stdout] | [INFO] [stdout] 58 | pub conversation_type: ConversationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `message_type` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | pub message_type: MessageType, [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `content` on type `&im_message::MessageRequest` [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:60:6 [INFO] [stdout] | [INFO] [stdout] 60 | pub content: String [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ChatOperation: TS` is not satisfied [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | pub operation: ChatOperation, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `TS` is not implemented for `ChatOperation` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `TS`: [INFO] [stdout] &T [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) [INFO] [stdout] (T10,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10) [INFO] [stdout] (T5, T6, T7, T8, T9, T10) [INFO] [stdout] and 82 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0062]: field `sent_at` specified more than once [INFO] [stdout] --> rust_im/src/ws_server/im_message.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ----------- first use of `sent_at` [INFO] [stdout] ... [INFO] [stdout] 80 | pub sent_at: DateTime, [INFO] [stdout] | ^^^^^^^ used more than once [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OpErrorStatus: Serialize` is not satisfied [INFO] [stdout] --> rust_im/src/operation/operation.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Error, Debug, DisplayViaDebug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `OpErrorStatus` [INFO] [stdout] ... [INFO] [stdout] 24 | pub status: OpErrorStatus, [INFO] [stdout] | ------------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `OpErrorStatus` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 187 others [INFO] [stdout] note: required by a bound in `im_message::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/ser/mod.rs:1867:21 [INFO] [stdout] | [INFO] [stdout] 1865 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1866 | where [INFO] [stdout] 1867 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OpErrorStatus: Deserialize<'_>` is not satisfied [INFO] [stdout] --> rust_im/src/operation/operation.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub status: OpErrorStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OpErrorStatus` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OpErrorStatus` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a JsonRawValue [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 188 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OpErrorStatus: Deserialize<'_>` is not satisfied [INFO] [stdout] --> rust_im/src/operation/operation.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub status: OpErrorStatus, [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OpErrorStatus` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OpErrorStatus` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a JsonRawValue [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 188 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OpErrorStatus: Deserialize<'_>` is not satisfied [INFO] [stdout] --> rust_im/src/operation/operation.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Error, Debug, DisplayViaDebug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `OpErrorStatus` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OpErrorStatus` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a JsonRawValue [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] and 188 others [INFO] [stdout] note: required by a bound in `im_message::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.210/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OpErrorStatus: Clone` is not satisfied [INFO] [stdout] --> rust_im/src/operation/operation.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Error, Debug, DisplayViaDebug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 24 | pub status: OpErrorStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `OpErrorStatus` [INFO] [stdout] | [INFO] [stdout] help: consider annotating `OpErrorStatus` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 63 + #[derive(Clone)] [INFO] [stdout] 64 | pub enum OpErrorStatus{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parts` [INFO] [stdout] --> rust_im/src/operation/operation.rs:70:38 [INFO] [stdout] | [INFO] [stdout] 70 | fn into_response_parts(self, mut parts: ResponseParts) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_parts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rust_im/src/operation/operation.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn into_response_parts(self, mut parts: ResponseParts) -> Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0062, E0063, E0119, E0124, E0252, E0277, E0412, E0428... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_im` (bin "rust_im") due to 48 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86e7e0540c0fde254efb8e205dfe012230698b0e27d17712a46fd98c44cdefb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e7e0540c0fde254efb8e205dfe012230698b0e27d17712a46fd98c44cdefb7", kill_on_drop: false }` [INFO] [stdout] 86e7e0540c0fde254efb8e205dfe012230698b0e27d17712a46fd98c44cdefb7