[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 f10db292a3733b5c67c8da8c7661195ff4b05774 for pr-158914
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarlolalu%2Fbasic-chat" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carlolalu/basic-chat on toolchain f10db292a3733b5c67c8da8c7661195ff4b05774
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "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" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 44 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v2.7.1
[INFO] [stderr]   Downloaded tokio-util v0.7.19
[INFO] [stderr]   Downloaded futures-macro v0.3.33
[INFO] [stderr]   Downloaded tokio-test v0.4.5
[INFO] [stderr]   Downloaded zmij v1.0.23
[INFO] [stderr]   Downloaded futures-sink v0.3.33
[INFO] [stderr]   Downloaded futures-task v0.3.33
[INFO] [stderr]   Downloaded futures-core v0.3.33
[INFO] [stderr]   Downloaded quote v1.0.47
[INFO] [stderr]   Downloaded futures-io v0.3.33
[INFO] [stderr]   Downloaded serde_core v1.0.229
[INFO] [stderr]   Downloaded tokio-stream v0.1.19
[INFO] [stderr]   Downloaded socket2 v0.6.5
[INFO] [stderr]   Downloaded bytes v1.12.1
[INFO] [stderr]   Downloaded bitflags v2.13.1
[INFO] [stderr]   Downloaded serde_derive v1.0.229
[INFO] [stderr]   Downloaded log v0.4.33
[INFO] [stderr]   Downloaded proc-macro2 v1.0.107
[INFO] [stderr]   Downloaded serde v1.0.229
[INFO] [stderr]   Downloaded memchr v2.8.3
[INFO] [stderr]   Downloaded mio v1.2.2
[INFO] [stderr]   Downloaded futures-util v0.3.33
[INFO] [stderr]   Downloaded serde_json v1.0.151
[INFO] [stderr]   Downloaded syn v2.0.119
[INFO] [stderr]   Downloaded syn v3.0.3
[INFO] [stderr]   Downloaded libc v0.2.189
[INFO] [stderr]   Downloaded tokio v1.53.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78
[INFO] running `Command { std: "docker" "start" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78" "/opt/rustwide/cargo-home/bin/cargo" "+f10db292a3733b5c67c8da8c7661195ff4b05774" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking bytes v1.12.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking futures-core v0.3.33
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking futures-io v0.3.33
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling tokio-macros v2.7.1
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking tokio-stream v0.1.19
[INFO] [stderr]     Checking tokio-util v0.7.19
[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] 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 function or constant 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 function or constant `INIT_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELMITER;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ associated function or constant 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 function or constant 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 function or constant `INIT_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 211 |     let init_delimiter: u8 = TcpPakket::INIT_DELMITER;
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^ associated function or constant 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 function or constant 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 function or constant `END_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELMITER;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ associated function or constant 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[E0599]: no associated function or constant 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 function or constant `END_DELMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 212 |     let end_delimiter: u8 = TcpPakket::END_DELMITER;
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ associated function or constant 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[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: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: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]: too many leading `super` keywords within `crate`
[INFO] [stdout]    --> src/lib.rs:274:44
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     Some(&byte) if byte == super::end_delimiter => {
[INFO] [stdout]     |                                            ^^^^^ this `super` would go above the crate root
[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 `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]: too many leading `super` keywords within `crate`
[INFO] [stdout]    --> src/lib.rs:274:44
[INFO] [stdout]     |
[INFO] [stdout] 274 |                     Some(&byte) if byte == super::end_delimiter => {
[INFO] [stdout]     |                                            ^^^^^ this `super` would go above the crate root
[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] 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] 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 function or constant 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]     | -------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 357 |             TcpPakket::new(r#"|{"username":"carlo","content":"farabutto!"}|"#).unwrap(),
[INFO] [stdout]     |                        ^^^ associated function or constant 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] [stderr] error: could not compile `chat_server_tokio` (lib) due to 12 previous errors; 5 warnings emitted
[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/f10db292a3733b5c67c8da8c7661195ff4b05774/library/core/src/convert/mod.rs:594:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no associated function or constant 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 function or constant `DELIMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 364 |         assert!(TcpPakket::DELIMITER.is_ascii());
[INFO] [stdout]     |                            ^^^^^^^^^ associated function or constant 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 function or constant 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 function or constant `DELIMITER` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 372 |             .split(|&elem| elem == TcpPakket::DELIMITER as u8)
[INFO] [stdout]     |                                               ^^^^^^^^^ associated function or constant 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] 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] [stderr] error: could not compile `chat_server_tokio` (lib test) due to 17 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78", kill_on_drop: false }`
[INFO] [stdout] cdca4246a0b60e59b3aff1ae4196ae66c9ba7d9f3825240092e4b1ead02b7e78
