[INFO] cloning repository https://github.com/BDR-Pro/web_sockets_rust_tor
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BDR-Pro/web_sockets_rust_tor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBDR-Pro%2Fweb_sockets_rust_tor", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBDR-Pro%2Fweb_sockets_rust_tor'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 32063fabc41d27cd7ea877ffcfa8f8c93efa227c
[INFO] checking BDR-Pro/web_sockets_rust_tor against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBDR-Pro%2Fweb_sockets_rust_tor" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BDR-Pro/web_sockets_rust_tor
[INFO] finished tweaking git repo https://github.com/BDR-Pro/web_sockets_rust_tor
[INFO] tweaked toml for git repo https://github.com/BDR-Pro/web_sockets_rust_tor written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BDR-Pro/web_sockets_rust_tor on toolchain 863511eff87e66198b396935f3b5c8a543022f53
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BDR-Pro/web_sockets_rust_tor 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" "+863511eff87e66198b396935f3b5c8a543022f53" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63a0c753c2a02c5c82c5075d4b6a493562e19de28dae8e88085ed8f88fe1d816
[INFO] running `Command { std: "docker" "start" "-a" "63a0c753c2a02c5c82c5075d4b6a493562e19de28dae8e88085ed8f88fe1d816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63a0c753c2a02c5c82c5075d4b6a493562e19de28dae8e88085ed8f88fe1d816", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63a0c753c2a02c5c82c5075d4b6a493562e19de28dae8e88085ed8f88fe1d816", kill_on_drop: false }`
[INFO] [stdout] 63a0c753c2a02c5c82c5075d4b6a493562e19de28dae8e88085ed8f88fe1d816
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50aba0db2b7307952c0cf1d979807691d739aaea6ee03282e5f606313bffeae1
[INFO] running `Command { std: "docker" "start" "-a" "50aba0db2b7307952c0cf1d979807691d739aaea6ee03282e5f606313bffeae1", kill_on_drop: false }`
[INFO] [stderr]     Checking web_sockets v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_tungstenite::tungstenite::protocol::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_tungstenite::accept_async;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::fs::File as TokioFile;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::io::AsyncWriteExt; 
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt; 
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_util`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures_util`, use `cargo add futures_util` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::task;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_util::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_util`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures_util`, use `cargo add futures_util` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_socks`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio_socks::tcp::Socks5Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_socks`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio_socks`, use `cargo add tokio_socks` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_tungstenite::WebSocketStream;  
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::net::TcpStream;  
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `url`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use url::Url;  
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `url`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tar`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tar::Builder;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use flate2::write::GzEncoder;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `flate2`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use flate2::Compression;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Tor_Traffic_Router`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use Tor_Traffic_Router::tor_proxy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared type `Tor_Traffic_Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `blockchain_maker`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use blockchain_maker::{Blockchain,count_files_in_folder};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `blockchain_maker`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `blockchain_maker`, use `cargo add blockchain_maker` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tokio::net::TcpListener;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tokio_tungstenite::tungstenite::protocol::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use tokio_tungstenite::accept_async;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::fs::File as TokioFile;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tokio::io::AsyncWriteExt; 
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::StreamExt; 
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_util`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures_util`, use `cargo add futures_util` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::task;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `futures_util`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use futures_util::SinkExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `futures_util`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `futures_util`, use `cargo add futures_util` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_socks`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use tokio_socks::tcp::Socks5Stream;
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_socks`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio_socks`, use `cargo add tokio_socks` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio_tungstenite`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tokio_tungstenite::WebSocketStream;  
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio::net::TcpStream;  
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `url`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use url::Url;  
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `url`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tar`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tar::Builder;
[INFO] [stdout]    |     ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use flate2::write::GzEncoder;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `flate2`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use flate2::Compression;
[INFO] [stdout]    |     ^^^^^^ use of unresolved module or unlinked crate `flate2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `flate2`, use `cargo add flate2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Tor_Traffic_Router`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use Tor_Traffic_Router::tor_proxy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^ use of undeclared type `Tor_Traffic_Router`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `blockchain_maker`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use blockchain_maker::{Blockchain,count_files_in_folder};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `blockchain_maker`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `blockchain_maker`, use `cargo add blockchain_maker` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:22:3
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    --> src/main.rs:152:27
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut archive = tar::Archive::new(tar_gz);
[INFO] [stdout]     |                           ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    --> src/main.rs:278:18
[INFO] [stdout]     |
[INFO] [stdout] 278 |             &mut tar::Header::new_gnu(),
[INFO] [stdout]     |                  ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn main() -> tokio::io::Result<()> {
[INFO] [stdout]    |                        ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub async fn main() -> tokio::io::Result<()> {
[INFO] [stdout] 23 + pub async fn main() -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |                         ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::fs;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `fs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 49 -     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout] 49 +     let file_contents = fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    --> src/main.rs:152:27
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let mut archive = tar::Archive::new(tar_gz);
[INFO] [stdout]     |                           ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/main.rs:293:40
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub async fn handle_connection(stream: tokio::net::TcpStream) {
[INFO] [stdout]     |                                        ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::net;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `net`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 293 - pub async fn handle_connection(stream: tokio::net::TcpStream) {
[INFO] [stdout] 293 + pub async fn handle_connection(stream: net::TcpStream) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tar`
[INFO] [stdout]    --> src/main.rs:278:18
[INFO] [stdout]     |
[INFO] [stdout] 278 |             &mut tar::Header::new_gnu(),
[INFO] [stdout]     |                  ^^^ use of unresolved module or unlinked crate `tar`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tar`, use `cargo add tar` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let listener = TcpListener::bind(&addr).await.expect("Can't bind to address");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn main() -> tokio::io::Result<()> {
[INFO] [stdout]    |                        ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `io`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 23 - pub async fn main() -> tokio::io::Result<()> {
[INFO] [stdout] 23 + pub async fn main() -> io::Result<()> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         tokio::spawn(handle_connection(stream));
[INFO] [stdout]    |         ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |                         ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::fs;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `fs`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 49 -     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout] 49 +     let file_contents = fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> src/main.rs:293:40
[INFO] [stdout]     |
[INFO] [stdout] 293 | pub async fn handle_connection(stream: tokio::net::TcpStream) {
[INFO] [stdout]     |                                        ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::net;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `net`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 293 - pub async fn handle_connection(stream: tokio::net::TcpStream) {
[INFO] [stdout] 293 + pub async fn handle_connection(stream: net::TcpStream) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 50 |     let lines: Vec<&str> = file_contents.lines().collect();
[INFO] [stdout]    |                            ------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `file_contents` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents: /* Type */ = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/main.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:44:70
[INFO] [stdout]    |
[INFO] [stdout] 44 |   pub async fn download_blockchain() -> Result<(), Box<dyn StdError>>  {
[INFO] [stdout]    |  ______________________________________________________________________^
[INFO] [stdout] 45 | |     // Read the contents of the file
[INFO] [stdout] 46 | |     println!("Downloading the blockchain...");
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     }
[INFO] [stdout]    | |_____^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   --> src/main.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let (ws_stream, _) = tokio_tungstenite::client_async(Url::parse(&target_url)?, stream).await?;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     match result {
[INFO] [stdout]    |           ------ this expression has type `impl Future<Output = ()>`
[INFO] [stdout] 89 |         Ok(_) => {
[INFO] [stdout]    |         ^^^^^ expected future, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Future<Output = ()>`
[INFO] [stdout]                      found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     match result {
[INFO] [stdout]    |           ------ this expression has type `impl Future<Output = ()>`
[INFO] [stdout] ...
[INFO] [stdout] 93 |         Err(e) => {
[INFO] [stdout]    |         ^^^^^^ expected future, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Future<Output = ()>`
[INFO] [stdout]                      found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file = TokioFile::create("/temp_blocks.tar.gz").await?;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 104 |     file.write_all(&bin).await?;
[INFO] [stdout]     |     ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `file` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file: /* Type */ = TokioFile::create("/temp_blocks.tar.gz").await?;
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let listener = TcpListener::bind(&addr).await.expect("Can't bind to address");
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         tokio::spawn(handle_connection(stream));
[INFO] [stdout]    |         ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 50 |     let lines: Vec<&str> = file_contents.lines().collect();
[INFO] [stdout]    |                            ------------- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `file_contents` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let file_contents: /* Type */ = tokio::fs::read_to_string("/nodes/onion.txt").await?;
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/main.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:44:70
[INFO] [stdout]    |
[INFO] [stdout] 44 |   pub async fn download_blockchain() -> Result<(), Box<dyn StdError>>  {
[INFO] [stdout]    |  ______________________________________________________________________^
[INFO] [stdout] 45 | |     // Read the contents of the file
[INFO] [stdout] 46 | |     println!("Downloading the blockchain...");
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     }
[INFO] [stdout]    | |_____^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]   --> src/main.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let (ws_stream, _) = tokio_tungstenite::client_async(Url::parse(&target_url)?, stream).await?;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_tungstenite`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio_tungstenite`, use `cargo add tokio_tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     match result {
[INFO] [stdout]    |           ------ this expression has type `impl Future<Output = ()>`
[INFO] [stdout] 89 |         Ok(_) => {
[INFO] [stdout]    |         ^^^^^ expected future, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Future<Output = ()>`
[INFO] [stdout]                      found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |     match result {
[INFO] [stdout]    |           ------ this expression has type `impl Future<Output = ()>`
[INFO] [stdout] ...
[INFO] [stdout] 93 |         Err(e) => {
[INFO] [stdout]    |         ^^^^^^ expected future, found `Result<_, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Future<Output = ()>`
[INFO] [stdout]                      found enum `Result<_, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file = TokioFile::create("/temp_blocks.tar.gz").await?;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 104 |     file.write_all(&bin).await?;
[INFO] [stdout]     |     ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `file` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file: /* Type */ = TokioFile::create("/temp_blocks.tar.gz").await?;
[INFO] [stdout]     |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:171:38
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let text = String::from_utf8(message).unwrap();
[INFO] [stdout]     |                    ----------------- ^^^^^^^ expected `Vec<u8>`, found `&[u8]`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]             found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/863511eff87e66198b396935f3b5c8a543022f53/library/alloc/src/string.rs:563:12
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let text = String::from_utf8(message.to_vec()).unwrap();
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         ws_stream.send(Message::Text(text.into())).await?;
[INFO] [stdout]     |         ^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:172:57
[INFO] [stdout]     |
[INFO] [stdout] 161 |   pub async fn send_a_message(message:&[u8],receiver:String,type_message:i16) {
[INFO] [stdout]     |  _____________________________________________________________________________-
[INFO] [stdout] 162 | |     // Assuming Tor is now installed and configured to listen on the default SOCKS5 port
[INFO] [stdout] 163 | |     let proxy=tor_proxy();
[INFO] [stdout] 164 | |     let node=format!("ws://{receiver}:8080");
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         ws_stream.send(Message::Text(text.into())).await?;
[INFO] [stdout]     | |                                                         ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...   |
[INFO] [stdout] 291 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let ws_stream = accept_async(stream).await.expect("Error during the websocket handshake");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         write.send(Message::Text("Hello, World!".into())).await.expect("Error sending message");
[INFO] [stdout]     |         ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         write.send(Message::Text("Hello, World!".into())).await.expect("Error sending message");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 305 |     while let Some(message_result) = read.next().await {
[INFO] [stdout]     |                                      ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `check_blockchain_for_the_node` in this scope
[INFO] [stdout]    --> src/main.rs:315:42
[INFO] [stdout]     |
[INFO] [stdout] 315 |             Message::Text(text) => match check_blockchain_for_the_node(text,receiver,write).await.expect("Error checking blockchain") {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:315:42
[INFO] [stdout]     |
[INFO] [stdout] 315 |             Message::Text(text) => match check_blockchain_for_the_node(text,receiver,write).await.expect("Error checking blockchain") {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:171:38
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let text = String::from_utf8(message).unwrap();
[INFO] [stdout]     |                    ----------------- ^^^^^^^ expected `Vec<u8>`, found `&[u8]`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Vec<u8>`
[INFO] [stdout]             found reference `&[u8]`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/863511eff87e66198b396935f3b5c8a543022f53/library/alloc/src/string.rs:563:12
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let text = String::from_utf8(message.to_vec()).unwrap();
[INFO] [stdout]     |                                             +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         ws_stream.send(Message::Text(text.into())).await?;
[INFO] [stdout]     |         ^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:172:57
[INFO] [stdout]     |
[INFO] [stdout] 161 |   pub async fn send_a_message(message:&[u8],receiver:String,type_message:i16) {
[INFO] [stdout]     |  _____________________________________________________________________________-
[INFO] [stdout] 162 | |     // Assuming Tor is now installed and configured to listen on the default SOCKS5 port
[INFO] [stdout] 163 | |     let proxy=tor_proxy();
[INFO] [stdout] 164 | |     let node=format!("ws://{receiver}:8080");
[INFO] [stdout] ...   |
[INFO] [stdout] 172 | |         ws_stream.send(Message::Text(text.into())).await?;
[INFO] [stdout]     | |                                                         ^ cannot use the `?` operator in an async function that returns `()`
[INFO] [stdout] ...   |
[INFO] [stdout] 291 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:294:21
[INFO] [stdout]     |
[INFO] [stdout] 294 |     let ws_stream = accept_async(stream).await.expect("Error during the websocket handshake");
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         write.send(Message::Text("Hello, World!".into())).await.expect("Error sending message");
[INFO] [stdout]     |         ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:298:9
[INFO] [stdout]     |
[INFO] [stdout] 298 |         write.send(Message::Text("Hello, World!".into())).await.expect("Error sending message");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:305:38
[INFO] [stdout]     |
[INFO] [stdout] 305 |     while let Some(message_result) = read.next().await {
[INFO] [stdout]     |                                      ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `check_blockchain_for_the_node` in this scope
[INFO] [stdout]    --> src/main.rs:315:42
[INFO] [stdout]     |
[INFO] [stdout] 315 |             Message::Text(text) => match check_blockchain_for_the_node(text,receiver,write).await.expect("Error checking blockchain") {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/main.rs:315:42
[INFO] [stdout]     |
[INFO] [stdout] 315 |             Message::Text(text) => match check_blockchain_for_the_node(text,receiver,write).await.expect("Error checking blockchain") {
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/main.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn main() -> tokio::io::Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web_sockets` (bin "web_sockets" test) due to 41 previous errors
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0425, E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web_sockets` (bin "web_sockets") due to 42 previous errors
[INFO] running `Command { std: "docker" "inspect" "50aba0db2b7307952c0cf1d979807691d739aaea6ee03282e5f606313bffeae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50aba0db2b7307952c0cf1d979807691d739aaea6ee03282e5f606313bffeae1", kill_on_drop: false }`
[INFO] [stdout] 50aba0db2b7307952c0cf1d979807691d739aaea6ee03282e5f606313bffeae1
