[INFO] cloning repository https://github.com/DanielJordanov01/Chat_App [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielJordanov01/Chat_App" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielJordanov01%2FChat_App", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielJordanov01%2FChat_App'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2755403beb5165c06621c04df0fdb307c45aa92a [INFO] checking DanielJordanov01/Chat_App against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielJordanov01%2FChat_App" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielJordanov01/Chat_App on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielJordanov01/Chat_App [INFO] finished tweaking git repo https://github.com/DanielJordanov01/Chat_App [INFO] tweaked toml for git repo https://github.com/DanielJordanov01/Chat_App written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e017d2a6efd8fd5a21c4db78f830b8445f1810b5d9896a10250db377187a09b [INFO] running `Command { std: "docker" "start" "-a" "8e017d2a6efd8fd5a21c4db78f830b8445f1810b5d9896a10250db377187a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e017d2a6efd8fd5a21c4db78f830b8445f1810b5d9896a10250db377187a09b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e017d2a6efd8fd5a21c4db78f830b8445f1810b5d9896a10250db377187a09b", kill_on_drop: false }` [INFO] [stdout] 8e017d2a6efd8fd5a21c4db78f830b8445f1810b5d9896a10250db377187a09b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f16c1544602c83d6c7d456927d45ac6f72e7b5532a76d02f31dbc070aedb0ab5 [INFO] running `Command { std: "docker" "start" "-a" "f16c1544602c83d6c7d456927d45ac6f72e7b5532a76d02f31dbc070aedb0ab5", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Checking unic-common v0.7.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking unic-char-range v0.7.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-ucd-version v0.7.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Checking unic-char-property v0.7.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unic-ucd-segment v0.7.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking openssl v0.10.32 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking unic-segment v0.7.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking generic-array v0.14.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking aes v0.3.2 [INFO] [stderr] Checking aes-gcm v0.5.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking native-tls v0.2.7 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.6 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking tera v0.11.20 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Checking chat_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::request::Form` [INFO] [stdout] --> src/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::request::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::ChatMessage` [INFO] [stdout] --> src/chat_session.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::message::ChatMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tungstenite::WebSocket` [INFO] [stdout] --> src/chat_session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::WebSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/chat_session.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/socket.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user` [INFO] [stdout] --> src/socket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::user; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocket` [INFO] [stdout] --> src/socket.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tungstenite::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::request::Form` [INFO] [stdout] --> src/user.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::request::Form; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::message::ChatMessage` [INFO] [stdout] --> src/chat_session.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::message::ChatMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tungstenite::WebSocket` [INFO] [stdout] --> src/chat_session.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tungstenite::WebSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> src/chat_session.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TcpStream` [INFO] [stdout] --> src/socket.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user` [INFO] [stdout] --> src/socket.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::user; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WebSocket` [INFO] [stdout] --> src/socket.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use tungstenite::{WebSocket, Message}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/message.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(sender: User, text: String) -> ChatMessage { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Session` has no field named `messages` [INFO] [stdout] --> src/chat_session.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(new_session, Session { users: Vec::new(), messages: Vec::new() }); [INFO] [stdout] | ^^^^^^^^ `Session` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/chat_session.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let user = User::new_user(String::from("John")); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/chat_session.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | users: vec![User::new_user(String::from("John"))], [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Session` has no field named `messages` [INFO] [stdout] --> src/chat_session.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | messages: Vec::new() [INFO] [stdout] | ^^^^^^^^ `Session` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/chat_session.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let user = User::new_user(String::from("John")); [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add_new_message` found for struct `Session` in the current scope [INFO] [stdout] --> src/chat_session.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Session { [INFO] [stdout] | ------------------ method `add_new_message` not found for this [INFO] [stdout] ... [INFO] [stdout] 64 | session.add_new_message(user, String::from("Test")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `Session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Session` has no field named `messages` [INFO] [stdout] --> src/chat_session.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | messages: vec![ ChatMessage::new( [INFO] [stdout] | ^^^^^^^^ `Session` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `users` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/chat_session.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | User::new_user(String::from("John")), [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/message.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | let user = User:: new_user(String::from("John")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/message.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | sender: User::new_user(String::from("John")), [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/user.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_user(name: String, token: u32) -> User { [INFO] [stdout] | ^^^^^^^^ ------------ ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat_app` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f16c1544602c83d6c7d456927d45ac6f72e7b5532a76d02f31dbc070aedb0ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16c1544602c83d6c7d456927d45ac6f72e7b5532a76d02f31dbc070aedb0ab5", kill_on_drop: false }` [INFO] [stdout] f16c1544602c83d6c7d456927d45ac6f72e7b5532a76d02f31dbc070aedb0ab5