[INFO] cloning repository https://github.com/carlolalu/basic-chat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carlolalu/basic-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlolalu%2Fbasic-chat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlolalu%2Fbasic-chat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7dc5b2c0bb7da8acaad1506f3465397c56051c52
[INFO] checking carlolalu/basic-chat/7dc5b2c0bb7da8acaad1506f3465397c56051c52 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlolalu%2Fbasic-chat" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/carlolalu/basic-chat
[INFO] finished tweaking git repo https://github.com/carlolalu/basic-chat
[INFO] tweaked toml for git repo https://github.com/carlolalu/basic-chat written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carlolalu/basic-chat on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 54 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9d56a5d0e520215f2af7ba747f6c61af468c6015fde182ade90ca7d453a3987
[INFO] running `Command { std: "docker" "start" "-a" "e9d56a5d0e520215f2af7ba747f6c61af468c6015fde182ade90ca7d453a3987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9d56a5d0e520215f2af7ba747f6c61af468c6015fde182ade90ca7d453a3987", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d56a5d0e520215f2af7ba747f6c61af468c6015fde182ade90ca7d453a3987", kill_on_drop: false }`
[INFO] [stdout] e9d56a5d0e520215f2af7ba747f6c61af468c6015fde182ade90ca7d453a3987
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c816b34b2365ba3a73f1f8e90be591e730bc1bef4be0348b6a1d06efca722c09
[INFO] running `Command { std: "docker" "start" "-a" "c816b34b2365ba3a73f1f8e90be591e730bc1bef4be0348b6a1d06efca722c09", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking chat_server_tokio v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_vec`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncWriteExt`, `AsyncWrite`, `TcpListener`, `TcpStream`, `self`, and `signal`
[INFO] [stdout]   --> src/lib.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 |     io::{self, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt},
[INFO] [stdout]    |          ^^^^                           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     net::{TcpListener, TcpStream},
[INFO] [stdout]    |           ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 11 |     signal, sync,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `sync::CancellationToken` and `task::TaskTracker`
[INFO] [stdout]   --> src/lib.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio_util::{sync::CancellationToken, task::TaskTracker};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `INIT_DELMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:211:41
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `INIT_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELMITER;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `INIT_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELIMITER;
[INFO] [stdout]     |                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `END_DELMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `END_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELMITER;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `END_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELIMITER;
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:239:36
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 let first_msg = if first_frag.len() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ expected `bool`, found `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::format`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fmt::format;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::to_vec`
[INFO] [stdout]  --> src/lib.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::to_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncWriteExt`, `AsyncWrite`, `TcpListener`, `TcpStream`, `self`, and `signal`
[INFO] [stdout]   --> src/lib.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 |     io::{self, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt},
[INFO] [stdout]    |          ^^^^                           ^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     net::{TcpListener, TcpStream},
[INFO] [stdout]    |           ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 11 |     signal, sync,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `sync::CancellationToken` and `task::TaskTracker`
[INFO] [stdout]   --> src/lib.rs:13:18
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio_util::{sync::CancellationToken, task::TaskTracker};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:243:133
[INFO] [stdout]     |
[INFO] [stdout] 243 | ...   let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.into_vec())?);
[INFO] [stdout]     |                                                                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 243 -                     let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.into_vec())?);
[INFO] [stdout] 243 +                     let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.to_vec())?);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:248:69
[INFO] [stdout]     |
[INFO] [stdout] 248 |                     let first_pakked = String::from_utf8(first_frag.into_vec())?;
[INFO] [stdout]     |                                                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 248 -                     let first_pakked = String::from_utf8(first_frag.into_vec())?;
[INFO] [stdout] 248 +                     let first_pakked = String::from_utf8(first_frag.to_vec())?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:267:62
[INFO] [stdout]     |
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 267 -                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout] 267 +                     let pakked = String::from_utf8(msg_bytes.to_vec()?)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:267:74
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout]     |                                                                          ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:268:64
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout] 268 |                     let pakket = TcpPakket::new_pakked(&pakked)?;
[INFO] [stdout]     |                                                                ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:269:60
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 269 |                     messages.push(Message::try_from(pakket)?);
[INFO] [stdout]     |                                                            ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]    --> src/lib.rs:274:44
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     Some(&byte) if byte == super::end_delimiter => {
[INFO] [stdout]     |                                            ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> src/lib.rs:275:56
[INFO] [stdout]     |
[INFO] [stdout] 275 |                         let pakked = String::from_utf8(last_frag.to_vec()?)?;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Chars<'a>` in the current scope
[INFO] [stdout]    --> src/lib.rs:186:31
[INFO] [stdout]     |
[INFO] [stdout] 186 | ...   if pakket_str.chars().first() != Some(TcpPakket::INIT_DELIMITER as char) || pakket_str.chars().last() != Some(TcpPakket::END_...
[INFO] [stdout]     |                             ^^^^^ method not found in `Chars<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:193:19
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn unpack(mut self) -> String {
[INFO] [stdout]     |                   ----^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `INIT_DELMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:211:41
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `INIT_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELMITER;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `INIT_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELIMITER;
[INFO] [stdout]     |                                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat_server_tokio` (lib) due to 12 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no associated item named `END_DELMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `END_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELMITER;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `END_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELIMITER;
[INFO] [stdout]     |                                               +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:239:36
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 let first_msg = if first_frag.len() {
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^ expected `bool`, found `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:243:133
[INFO] [stdout]     |
[INFO] [stdout] 243 | ...   let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.into_vec())?);
[INFO] [stdout]     |                                                                                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 243 -                     let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.into_vec())?);
[INFO] [stdout] 243 +                     let first_pakked = format!("{}{}", String::from_utf8(previous_fragment.to_vec())?, String::from_utf8(first_frag.to_vec())?);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:248:69
[INFO] [stdout]     |
[INFO] [stdout] 248 |                     let first_pakked = String::from_utf8(first_frag.into_vec())?;
[INFO] [stdout]     |                                                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 248 -                     let first_pakked = String::from_utf8(first_frag.into_vec())?;
[INFO] [stdout] 248 +                     let first_pakked = String::from_utf8(first_frag.to_vec())?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&[u8]` in the current scope
[INFO] [stdout]    --> src/lib.rs:267:62
[INFO] [stdout]     |
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout]     |                                                              ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 267 -                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout] 267 +                     let pakked = String::from_utf8(msg_bytes.to_vec()?)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:267:74
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout]     |                                                                          ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:268:64
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 267 |                     let pakked = String::from_utf8(msg_bytes.into_vec()?)?;
[INFO] [stdout] 268 |                     let pakket = TcpPakket::new_pakked(&pakked)?;
[INFO] [stdout]     |                                                                ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:269:60
[INFO] [stdout]     |
[INFO] [stdout] 266 |                 let _ = central_frags.iter().map(|&msg_bytes| {
[INFO] [stdout]     |                                                  ------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 269 |                     messages.push(Message::try_from(pakket)?);
[INFO] [stdout]     |                                                            ^ cannot use the `?` operator in a closure that returns `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: there are too many leading `super` keywords
[INFO] [stdout]    --> src/lib.rs:274:44
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     Some(&byte) if byte == super::end_delimiter => {
[INFO] [stdout]     |                                            ^^^^^ there are too many leading `super` keywords
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> src/lib.rs:275:56
[INFO] [stdout]     |
[INFO] [stdout] 275 |                         let pakked = String::from_utf8(last_frag.to_vec()?)?;
[INFO] [stdout]     |                                                        ^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `Vec<u8>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the nightly-only, unstable trait `Try` is not implemented for `Vec<u8>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for struct `Chars<'a>` in the current scope
[INFO] [stdout]    --> src/lib.rs:186:31
[INFO] [stdout]     |
[INFO] [stdout] 186 | ...   if pakket_str.chars().first() != Some(TcpPakket::INIT_DELIMITER as char) || pakket_str.chars().last() != Some(TcpPakket::END_...
[INFO] [stdout]     |                             ^^^^^ method not found in `Chars<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- function or associated item `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 357 |             TcpPakket::new(r#"|{"username":"carlo","content":"farabutto!"}|"#).unwrap(),
[INFO] [stdout]     |                        ^^^ function or associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `TcpPakket` consider using one of the following associated functions:
[INFO] [stdout]       TcpPakket::new_to_pak
[INFO] [stdout]       TcpPakket::new_pakked
[INFO] [stdout]    --> src/lib.rs:168:5
[INFO] [stdout]     |
[INFO] [stdout] 168 |     pub fn new_to_pak(string: &str) -> TcpPakket {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn new_pakked(pakket_str: &str) -> Result<TcpPakket> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `new`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `parking_lot_core::thread_parker::ThreadParkerT`
[INFO] [stdout] help: there is a method `ne` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 357 -             TcpPakket::new(r#"|{"username":"carlo","content":"farabutto!"}|"#).unwrap(),
[INFO] [stdout] 357 +             TcpPakket::ne(r#"|{"username":"carlo","content":"farabutto!"}|"#).unwrap(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:358:29
[INFO] [stdout]     |
[INFO] [stdout] 358 |             TcpPakket::from(msg1)
[INFO] [stdout]     |             --------------- ^^^^ expected `TcpPakket`, found `Message`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/c9af9c1dc85a55e309345030ff9cb7ea247953fa/library/core/src/convert/mod.rs:592:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `DELIMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:364:28
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `DELIMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 364 |         assert!(TcpPakket::DELIMITER.is_ascii());
[INFO] [stdout]     |                            ^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `END_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 364 |         assert!(TcpPakket::END_DELIMITER.is_ascii());
[INFO] [stdout]     |                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_vec` found for reference `&'static [u8; 47]` in the current scope
[INFO] [stdout]    --> src/lib.rs:369:82
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let sample: Vec<u8> = b"|arw||1|13nqwr|f089asdfn||qw94|w0oe||09w84ehg||".into_vec();
[INFO] [stdout]     |                                                                                  ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `to_vec` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 369 -         let sample: Vec<u8> = b"|arw||1|13nqwr|f089asdfn||qw94|w0oe||09w84ehg||".into_vec();
[INFO] [stdout] 369 +         let sample: Vec<u8> = b"|arw||1|13nqwr|f089asdfn||qw94|w0oe||09w84ehg||".to_vec();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated item named `DELIMITER` found for struct `TcpPakket` in the current scope
[INFO] [stdout]    --> src/lib.rs:372:47
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct TcpPakket(String);
[INFO] [stdout]     | -------------------- associated item `DELIMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 372 |             .split(|&elem| elem == TcpPakket::DELIMITER as u8)
[INFO] [stdout]     |                                               ^^^^^^^^^ associated item not found in `TcpPakket`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated constant `END_DELIMITER` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 372 |             .split(|&elem| elem == TcpPakket::END_DELIMITER as u8)
[INFO] [stdout]     |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:374:19
[INFO] [stdout]     |
[INFO] [stdout] 374 |             .map(|slice| String::from_utf8(slice.into_vec()))
[INFO] [stdout]     |                   ^^^^^                    ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 374 |             .map(|slice: /* Type */| String::from_utf8(slice.into_vec()))
[INFO] [stdout]     |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:193:19
[INFO] [stdout]     |
[INFO] [stdout] 193 |     pub fn unpack(mut self) -> String {
[INFO] [stdout]     |                   ----^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chat_server_tokio` (lib test) due to 18 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c816b34b2365ba3a73f1f8e90be591e730bc1bef4be0348b6a1d06efca722c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c816b34b2365ba3a73f1f8e90be591e730bc1bef4be0348b6a1d06efca722c09", kill_on_drop: false }`
[INFO] [stdout] c816b34b2365ba3a73f1f8e90be591e730bc1bef4be0348b6a1d06efca722c09
