[INFO] cloning repository https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgustinLeguizamon%2Frust-modulo-manejo-de-stocks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgustinLeguizamon%2Frust-modulo-manejo-de-stocks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d823c3e299817e7a15ea0e4d956bf2f3bfddfc94
[INFO] checking AgustinLeguizamon/rust-modulo-manejo-de-stocks against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgustinLeguizamon%2Frust-modulo-manejo-de-stocks" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  97% (421/431)
Updating files:  98% (423/431)
Updating files:  99% (427/431)
Updating files: 100% (431/431)
Updating files: 100% (431/431), done.
[INFO] started tweaking git repo https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks
[INFO] finished tweaking git repo https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks
[INFO] tweaked toml for git repo https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AgustinLeguizamon/rust-modulo-manejo-de-stocks 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec45bb7b8ee21755d5a64e5d85a77a839d9ea57915f35d50e3dc1ffa8c546020
[INFO] running `Command { std: "docker" "start" "-a" "ec45bb7b8ee21755d5a64e5d85a77a839d9ea57915f35d50e3dc1ffa8c546020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec45bb7b8ee21755d5a64e5d85a77a839d9ea57915f35d50e3dc1ffa8c546020", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec45bb7b8ee21755d5a64e5d85a77a839d9ea57915f35d50e3dc1ffa8c546020", kill_on_drop: false }`
[INFO] [stdout] ec45bb7b8ee21755d5a64e5d85a77a839d9ea57915f35d50e3dc1ffa8c546020
[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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5894ccececbe8e098afde5e9103c23c6718b381b31c8a537c149910f8278683
[INFO] running `Command { std: "docker" "start" "-a" "f5894ccececbe8e098afde5e9103c23c6718b381b31c8a537c149910f8278683", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling futures-core v0.3.29
[INFO] [stderr]     Checking futures-sink v0.3.29
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling futures-task v0.3.29
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]    Compiling futures-channel v0.3.29
[INFO] [stderr]    Compiling futures-util v0.3.29
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]     Checking futures-io v0.3.29
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking unicode-ident v1.0.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking std-semaphore v0.1.0
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking quote v1.0.33
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.9
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling futures-macro v0.3.29
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.192
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix_derive v0.6.1
[INFO] [stderr]     Checking tokio v1.33.0
[INFO] [stderr]     Checking futures-executor v0.3.29
[INFO] [stderr]     Checking futures v0.3.29
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking actix v0.13.1
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking donotunwrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Direccion`
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::orden::{Direccion, Orden};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conexion` and `TipoDeMensaje`
[INFO] [stdout]  --> src/common/socket.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::common::mensaje_protocolo::{Conexion, MandarOrdenes, MensajeProtocolo, TipoDeMensaje};
[INFO] [stdout]   |                                        ^^^^^^^^                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/common/socket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direccion`
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::orden::{Direccion, Orden};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conexion` and `TipoDeMensaje`
[INFO] [stdout]  --> src/common/socket.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::common::mensaje_protocolo::{Conexion, MandarOrdenes, MensajeProtocolo, TipoDeMensaje};
[INFO] [stdout]   |                                        ^^^^^^^^                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/common/socket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direccion`
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::orden::{Direccion, Orden};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conexion` and `TipoDeMensaje`
[INFO] [stdout]  --> src/common/socket.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::common::mensaje_protocolo::{Conexion, MandarOrdenes, MensajeProtocolo, TipoDeMensaje};
[INFO] [stdout]   |                                        ^^^^^^^^                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/common/socket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direccion`
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::common::orden::{Direccion, Orden};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Conexion` and `TipoDeMensaje`
[INFO] [stdout]  --> src/common/socket.rs:2:40
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::common::mensaje_protocolo::{Conexion, MandarOrdenes, MensajeProtocolo, TipoDeMensaje};
[INFO] [stdout]   |                                        ^^^^^^^^                                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/common/socket.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/common/cordinador.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/common/cordinador.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/common/cordinador.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/local_main.rs:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 | struct ResultadoVenderEnLocal(Option<ErrorLocal>);
[INFO] [stdout]     |        ---------------------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/local_main.rs:357:31
[INFO] [stdout]     |
[INFO] [stdout] 357 | struct ResultadoEntregarOrden(Option<ErrorLocal>);
[INFO] [stdout]     |        ---------------------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConexionTcp` is never constructed
[INFO] [stdout]  --> src/common/conexion_tcp.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ConexionTcp {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_detalles_conexion`, `get_detalles_conexion`, `enviar_mensaje`, `read_all`, and `esperar_mensaje` are never used
[INFO] [stdout]    --> src/common/conexion_tcp.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl ConexionTcp {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 17  |     pub fn new(stream: TcpStream, addr: SocketAddr) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27  |     pub fn set_detalles_conexion(&mut self, conexion: Conexion) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31  |     pub fn get_detalles_conexion(&self) -> &Option<Conexion> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn enviar_mensaje(&self, mensaje: &MensajeProtocolo) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn read_all(stream: &mut TcpStream) -> Result<MensajeProtocolo, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn esperar_mensaje(&self) -> Result<MensajeProtocolo, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cordinador` is never constructed
[INFO] [stdout]  --> src/common/cordinador.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Cordinador {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_permso`, and `release_permiso` are never used
[INFO] [stdout]   --> src/common/cordinador.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Cordinador {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_permso(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn release_permiso(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_conexion` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn setup_conexion(stream: TcpStream) -> ConexionTcp {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_to_leader` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub(crate) fn connect_to_leader(direccion: String, id: u32) -> ConexionTcp {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinar` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn coordinar(stream: TcpStream, cordinador: Arc<Mutex<Cordinador>>) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinar_conexion` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn coordinar_conexion(stream: TcpStream, cordinador: Arc<Mutex<Cordinador>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leer_linea_csv_desde` is never used
[INFO] [stdout]   --> src/common/lector_csv.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn leer_linea_csv_desde<F>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MensajeProtocolo` is never constructed
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct MensajeProtocolo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Conexion`, `Orden`, `QuieroMandarOrdenes`, `PuedoMandarOrdenes`, `TermineDeMandarOrdenes`, and `Desconexion` are never constructed
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum TipoDeMensaje {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 16 |     Conexion,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     Orden,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     QuieroMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     PuedoMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     TermineDeMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     Desconexion,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TipoDeMensaje` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_tipo_de_mensaje` is never used
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl TipoDeMensaje {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn new_tipo_de_mensaje(tipo_de_mensaje: u8) -> Result<TipoDeMensaje, TipodeError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `deserializar` is never used
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Conexion {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 69 |     pub fn deserializar(data: &[u8]) -> Result<Self, serde_json::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/mensaje_protocolo.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout] 80  | impl MensajeProtocolo {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 81  |     pub fn new(tipo_de_mensaje: TipoDeMensaje, contenido: Vec<u8>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn new_conexion(data: Conexion) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn new_orden(data: Orden) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn new_desconexion() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn new_termino_de_mandar_ordenes() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn new_orden_aceptada() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn new_stock_insuficiente() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new_quiero_mandar_ordenes() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn new_puedo_mandar_ordenes(cursor: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_tipo_de_mensaje(&self) -> TipoDeMensaje {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn get_tamanio(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn get_contenido(&self) -> &Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `distancia` is never used
[INFO] [stdout]   --> src/common/orden.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Direccion {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn distancia(&self, other: &Direccion) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/orden.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Orden {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 44 |     /// Solo para testing
[INFO] [stdout] 45 |     pub fn new(id_producto: usize, cantidad: usize, latitud: i32, longitud: i32) -> Orden {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_PUERTO_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ECOMMERCE_PUERTO_BASE: u32 = 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_ADDR_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ECOMMERCE_ADDR_BASE: &str = "127.0.0.1";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorSocket` is never constructed
[INFO] [stdout]   --> src/common/socket.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ErrorSocket {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TipodeError` is never used
[INFO] [stdout]   --> src/common/socket.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum TipodeError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Socket` is never constructed
[INFO] [stdout]   --> src/common/socket.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Socket {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/socket.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout] 47  | impl Socket {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 48  |     pub fn new(direccion: String, puerto: u32, id: u32) -> Socket {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn get_permiso(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76  |     pub fn release_permiso(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn get_cordinator_leader_value(id: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn esperar_conexiones(&mut self, id: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn quiero_enviar_ordenes(&mut self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn ordenes_enviadas(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn desconexion(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `new_con_bloqueados` are never used
[INFO] [stdout]   --> src/common/stock_producto.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl StockProducto {
[INFO] [stdout]    | ------------------ associated functions in this implementation
[INFO] [stdout] 13 |     pub fn new(id_producto: usize, stock: usize) -> StockProducto {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new_con_bloqueados(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_error_local` is never used
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl TipoDeMensaje {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn from_error_local(error_local: &ErrorLocal) -> TipoDeMensaje {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_orden`, `new_orden_aceptada`, and `new_stock_insuficiente` are never used
[INFO] [stdout]    --> src/common/mensaje_protocolo.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout] 80  | impl MensajeProtocolo {
[INFO] [stdout]     | --------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn new_orden(data: Orden) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn new_orden_aceptada() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn new_stock_insuficiente() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_PUERTO_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ECOMMERCE_PUERTO_BASE: u32 = 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `direccion`, `puerto`, and `id` are never read
[INFO] [stdout]   --> src/common/socket.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Socket {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 39 |     direccion: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     puerto: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     listener: Option<TcpListener>,
[INFO] [stdout] 42 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_cordinator_leader_value` is never used
[INFO] [stdout]   --> src/common/socket.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Socket {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn get_cordinator_leader_value(id: u32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ErrorLocal` is never used
[INFO] [stdout]  --> src/common/error_local.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ErrorLocal {
[INFO] [stdout]   |          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `leer_linea_csv` is never used
[INFO] [stdout]   --> src/common/lector_csv.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn leer_linea_csv<F>(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Productos` is never used
[INFO] [stdout]  --> src/common/local.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type Productos = HashMap<usize, StockProducto>;
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Local` is never constructed
[INFO] [stdout]  --> src/common/local.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Local {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `agregar_orden`, `vender`, `new`, `entregar_orden`, and `cancelar_orden` are never used
[INFO] [stdout]   --> src/common/local.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Local {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 14 |     /// Agrega la orden al local y bloquea la cantidad del producto especificado
[INFO] [stdout] 15 |     pub fn agregar_orden(&mut self, orden: Orden) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn vender(&mut self, orden: Orden) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn new(productos: Productos) -> Local {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn entregar_orden(&mut self, rng: impl Fn() -> usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn cancelar_orden(&mut self, rng: impl Fn() -> usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_error_local` is never used
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl TipoDeMensaje {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn from_error_local(error_local: &ErrorLocal) -> TipoDeMensaje {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_orden`, `new_orden_aceptada`, and `new_stock_insuficiente` are never used
[INFO] [stdout]    --> src/common/mensaje_protocolo.rs:94:12
[INFO] [stdout]     |
[INFO] [stdout] 80  | impl MensajeProtocolo {
[INFO] [stdout]     | --------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn new_orden(data: Orden) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn new_orden_aceptada() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn new_stock_insuficiente() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `deserializar` are never used
[INFO] [stdout]   --> src/common/orden.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Orden {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 44 |     /// Solo para testing
[INFO] [stdout] 45 |     pub fn new(id_producto: usize, cantidad: usize, latitud: i32, longitud: i32) -> Orden {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn deserializar(data: &[u8]) -> Result<Self, serde_json::Error> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/common/cordinador.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_PUERTO_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ECOMMERCE_PUERTO_BASE: u32 = 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `direccion`, `puerto`, and `id` are never read
[INFO] [stdout]   --> src/common/socket.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Socket {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 39 |     direccion: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 40 |     puerto: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 41 |     listener: Option<TcpListener>,
[INFO] [stdout] 42 |     id: u32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_cordinator_leader_value` is never used
[INFO] [stdout]   --> src/common/socket.rs:84:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Socket {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn get_cordinator_leader_value(id: u32) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StockProducto` is never constructed
[INFO] [stdout]  --> src/common/stock_producto.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct StockProducto {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/common/stock_producto.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl StockProducto {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(id_producto: usize, stock: usize) -> StockProducto {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn new_con_bloqueados(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn from_record(record: StringRecord) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn bloquear(&mut self, cantidad_a_bloquear: usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn vender(&mut self, cantidad: usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn entregar(&mut self, cantidad: usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn cancelar(&mut self, cantidad: usize) -> Result<(), ErrorLocal> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/local_main.rs:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 | struct ResultadoVenderEnLocal(Option<ErrorLocal>);
[INFO] [stdout]     |        ---------------------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/local_main.rs:357:31
[INFO] [stdout]     |
[INFO] [stdout] 357 | struct ResultadoEntregarOrden(Option<ErrorLocal>);
[INFO] [stdout]     |        ---------------------- ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |        |
[INFO] [stdout]     |        field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConexionTcp` is never constructed
[INFO] [stdout]  --> src/common/conexion_tcp.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct ConexionTcp {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `set_detalles_conexion`, `get_detalles_conexion`, `enviar_mensaje`, `read_all`, and `esperar_mensaje` are never used
[INFO] [stdout]    --> src/common/conexion_tcp.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout] 16  | impl ConexionTcp {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 17  |     pub fn new(stream: TcpStream, addr: SocketAddr) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27  |     pub fn set_detalles_conexion(&mut self, conexion: Conexion) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31  |     pub fn get_detalles_conexion(&self) -> &Option<Conexion> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35  |     pub fn enviar_mensaje(&self, mensaje: &MensajeProtocolo) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     pub fn read_all(stream: &mut TcpStream) -> Result<MensajeProtocolo, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn esperar_mensaje(&self) -> Result<MensajeProtocolo, Box<dyn Error>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cordinador` is never constructed
[INFO] [stdout]  --> src/common/cordinador.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Cordinador {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_permso`, and `release_permiso` are never used
[INFO] [stdout]   --> src/common/cordinador.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Cordinador {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(id: u32) -> Cordinador {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn get_permso(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn release_permiso(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_conexion` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn setup_conexion(stream: TcpStream) -> ConexionTcp {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect_to_leader` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub(crate) fn connect_to_leader(direccion: String, id: u32) -> ConexionTcp {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinar` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn coordinar(stream: TcpStream, cordinador: Arc<Mutex<Cordinador>>) {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coordinar_conexion` is never used
[INFO] [stdout]   --> src/common/cordinador.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn coordinar_conexion(stream: TcpStream, cordinador: Arc<Mutex<Cordinador>>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MensajeProtocolo` is never constructed
[INFO] [stdout]  --> src/common/mensaje_protocolo.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct MensajeProtocolo {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Conexion`, `Orden`, `QuieroMandarOrdenes`, `PuedoMandarOrdenes`, `TermineDeMandarOrdenes`, and `Desconexion` are never constructed
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum TipoDeMensaje {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 16 |     Conexion,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 17 |     Orden,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     QuieroMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     PuedoMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     TermineDeMandarOrdenes,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     Desconexion,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TipoDeMensaje` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_tipo_de_mensaje` is never used
[INFO] [stdout]   --> src/common/mensaje_protocolo.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl TipoDeMensaje {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn new_tipo_de_mensaje(tipo_de_mensaje: u8) -> Result<TipoDeMensaje, TipodeError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/mensaje_protocolo.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout] 80  | impl MensajeProtocolo {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 81  |     pub fn new(tipo_de_mensaje: TipoDeMensaje, contenido: Vec<u8>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn new_conexion(data: Conexion) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     pub fn new_orden(data: Orden) -> Result<Self, serde_json::Error> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn new_desconexion() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn new_termino_de_mandar_ordenes() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn new_orden_aceptada() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn new_stock_insuficiente() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn new_quiero_mandar_ordenes() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn new_puedo_mandar_ordenes(cursor: i32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_tipo_de_mensaje(&self) -> TipoDeMensaje {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn get_tamanio(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn get_contenido(&self) -> &Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_PUERTO_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const ECOMMERCE_PUERTO_BASE: u32 = 1024;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ECOMMERCE_ADDR_BASE` is never used
[INFO] [stdout]   --> src/common/socket.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const ECOMMERCE_ADDR_BASE: &str = "127.0.0.1";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ErrorSocket` is never constructed
[INFO] [stdout]   --> src/common/socket.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ErrorSocket {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `TipodeError` is never used
[INFO] [stdout]   --> src/common/socket.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum TipodeError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Socket` is never constructed
[INFO] [stdout]   --> src/common/socket.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct Socket {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/common/socket.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout] 47  | impl Socket {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 48  |     pub fn new(direccion: String, puerto: u32, id: u32) -> Socket {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn get_permiso(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76  |     pub fn release_permiso(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     pub fn get_cordinator_leader_value(id: u32) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     pub fn esperar_conexiones(&mut self, id: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn quiero_enviar_ordenes(&mut self) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn ordenes_enviadas(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn desconexion(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.17s
[INFO] running `Command { std: "docker" "inspect" "f5894ccececbe8e098afde5e9103c23c6718b381b31c8a537c149910f8278683", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5894ccececbe8e098afde5e9103c23c6718b381b31c8a537c149910f8278683", kill_on_drop: false }`
[INFO] [stdout] f5894ccececbe8e098afde5e9103c23c6718b381b31c8a537c149910f8278683
