[INFO] cloning repository https://github.com/raytrapi/conecta2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raytrapi/conecta2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e92a03345eb9ffb10c520fe4554efaf5f53f6239
[INFO] checking raytrapi/conecta2 against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/raytrapi/conecta2
[INFO] finished tweaking git repo https://github.com/raytrapi/conecta2
[INFO] tweaked toml for git repo https://github.com/raytrapi/conecta2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/raytrapi/conecta2 on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/raytrapi/conecta2 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sha-1 v0.8.1
[INFO] [stderr]   Downloaded base64 v0.3.1
[INFO] [stderr]   Downloaded block-padding v0.1.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 96b35ce5da0d71ddf84c07561d23afe4475cd04425f448c4f635d4bad742453b
[INFO] running `Command { std: "docker" "start" "-a" "96b35ce5da0d71ddf84c07561d23afe4475cd04425f448c4f635d4bad742453b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96b35ce5da0d71ddf84c07561d23afe4475cd04425f448c4f635d4bad742453b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96b35ce5da0d71ddf84c07561d23afe4475cd04425f448c4f635d4bad742453b", kill_on_drop: false }`
[INFO] [stdout] 96b35ce5da0d71ddf84c07561d23afe4475cd04425f448c4f635d4bad742453b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36fe6d4229b57f0f2674335f34b51bd8af6ee8b19f012045ad04842395ed809f
[INFO] running `Command { std: "docker" "start" "-a" "36fe6d4229b57f0f2674335f34b51bd8af6ee8b19f012045ad04842395ed809f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]     Checking block-padding v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]     Checking base64 v0.3.1
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha-1 v0.8.1
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking conecta2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `as`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                             ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `else`, or an operator, found `!`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:35
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                                   ^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[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: `std::io`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`, and `TcpStream`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cliente.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, and `TcpListener`
[INFO] [stdout]  --> src/cliente.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^            ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/servidor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, and `TcpStream`
[INFO] [stdout]  --> src/servidor.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                             ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/servidor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/protocolo/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/protocolo/websocket.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if(v.len()<2){
[INFO] [stdout]    |           ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if(v.len()<2){
[INFO] [stdout] 28 +         if v.len()<2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         match(self.estado){
[INFO] [stdout] 47 +         match self.estado {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 if(cabecera.1==""){
[INFO] [stdout]    |                   ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -                 if(cabecera.1==""){
[INFO] [stdout] 51 +                 if cabecera.1=="" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         match(self.estado){
[INFO] [stdout] 71 +         match self.estado {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(self.estado==3){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(self.estado==3){
[INFO] [stdout] 100 +         if self.estado==3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if(b!=13){
[INFO] [stdout]     |                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if(b!=13){
[INFO] [stdout] 114 +                 if b!=13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TIPO_PROTOCOLO` should have an upper camel case name
[INFO] [stdout]   --> src/protocolo/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum TIPO_PROTOCOLO{
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TipoProtocolo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/mod.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout]    |                   ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout] 26 +                 if valor=="GET / HTTP/1.1" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   if(respuesta.len()>0){
[INFO] [stdout]    |                         ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                                         if(respuesta.len()>0){
[INFO] [stdout] 42 +                                         if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:54:52
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   if (respuesta.len()>0){
[INFO] [stdout]    |                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -                                                 if (respuesta.len()>0){
[INFO] [stdout] 54 +                                                 if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   if(buf[0]!=13){
[INFO] [stdout]    |                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -                                             if(buf[0]!=13){
[INFO] [stdout] 62 +                                             if buf[0]!=13 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/protocolo/mod.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<Prot>,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<dyn Prot>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/cliente.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Ok(n) => {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/cliente.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Err(error) =>{
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valor`
[INFO] [stdout]   --> src/protocolo/prot.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn validar(&mut self,valor:String)->bool{
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_valor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `as`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                             ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `else`, or an operator, found `!`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:35
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                                   ^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/protocolo/prot.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |         fn procesarEntrada<'a>(&mut self,b:u8)->&'a [u8]{
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/protocolo/websocket.rs:38:36
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn procesarFrame<'a>(&mut self,b:u8)->&'a [u8]{
[INFO] [stdout]    |                                    ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `conecta2` (bin "conecta2" test) due to 2 previous errors; 33 warnings emitted
[INFO] [stdout] warning: unused variable: `cadena`
[INFO] [stdout]   --> src/servidor.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     let cadena="";
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cadena`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `resultado`
[INFO] [stdout]   --> src/servidor.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...                   Ok(resultado) => {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resultado`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/servidor.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[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: `std::io`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`, and `TcpStream`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cliente.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, and `TcpListener`
[INFO] [stdout]  --> src/cliente.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^            ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/servidor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, and `TcpStream`
[INFO] [stdout]  --> src/servidor.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                             ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/servidor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/protocolo/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/protocolo/websocket.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if(v.len()<2){
[INFO] [stdout]    |           ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if(v.len()<2){
[INFO] [stdout] 28 +         if v.len()<2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         match(self.estado){
[INFO] [stdout] 47 +         match self.estado {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 if(cabecera.1==""){
[INFO] [stdout]    |                   ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -                 if(cabecera.1==""){
[INFO] [stdout] 51 +                 if cabecera.1=="" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         match(self.estado){
[INFO] [stdout] 71 +         match self.estado {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(self.estado==3){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(self.estado==3){
[INFO] [stdout] 100 +         if self.estado==3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if(b!=13){
[INFO] [stdout]     |                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if(b!=13){
[INFO] [stdout] 114 +                 if b!=13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TIPO_PROTOCOLO` should have an upper camel case name
[INFO] [stdout]   --> src/protocolo/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum TIPO_PROTOCOLO{
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TipoProtocolo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/mod.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout]    |                   ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout] 26 +                 if valor=="GET / HTTP/1.1" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   if(respuesta.len()>0){
[INFO] [stdout]    |                         ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                                         if(respuesta.len()>0){
[INFO] [stdout] 42 +                                         if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:54:52
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   if (respuesta.len()>0){
[INFO] [stdout]    |                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -                                                 if (respuesta.len()>0){
[INFO] [stdout] 54 +                                                 if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   if(buf[0]!=13){
[INFO] [stdout]    |                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -                                             if(buf[0]!=13){
[INFO] [stdout] 62 +                                             if buf[0]!=13 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/protocolo/mod.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<Prot>,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<dyn Prot>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/cliente.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |             Ok(n) => {
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]   --> src/cliente.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |             Err(error) =>{
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `valor`
[INFO] [stdout]   --> src/protocolo/prot.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 |         fn validar(&mut self,valor:String)->bool{
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_valor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/protocolo/prot.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |         fn procesarEntrada<'a>(&mut self,b:u8)->&'a [u8]{
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/protocolo/websocket.rs:38:36
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn procesarFrame<'a>(&mut self,b:u8)->&'a [u8]{
[INFO] [stdout]    |                                    ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cadena`
[INFO] [stdout]   --> src/servidor.rs:32:25
[INFO] [stdout]    |
[INFO] [stdout] 32 |                     let cadena="";
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cadena`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resultado`
[INFO] [stdout]   --> src/servidor.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 | ...                   Ok(resultado) => {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resultado`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/servidor.rs:72:33
[INFO] [stdout]    |
[INFO] [stdout] 72 | ...                   Err(e) => {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `conecta2` (bin "conecta2") due to 2 previous errors; 33 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "36fe6d4229b57f0f2674335f34b51bd8af6ee8b19f012045ad04842395ed809f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36fe6d4229b57f0f2674335f34b51bd8af6ee8b19f012045ad04842395ed809f", kill_on_drop: false }`
[INFO] [stdout] 36fe6d4229b57f0f2674335f34b51bd8af6ee8b19f012045ad04842395ed809f
