[INFO] cloning repository https://github.com/J-2-S/nvim_liveshare
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/J-2-S/nvim_liveshare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-2-S%2Fnvim_liveshare", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-2-S%2Fnvim_liveshare'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2ab0902e165d18c1e7fd76f499022372fc1f9761
[INFO] checking J-2-S/nvim_liveshare against try#6713fa75964eb229409a9c6f6f5c418423e313ff for pr-133502-22
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJ-2-S%2Fnvim_liveshare" "/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/J-2-S/nvim_liveshare
[INFO] finished tweaking git repo https://github.com/J-2-S/nvim_liveshare
[INFO] tweaked toml for git repo https://github.com/J-2-S/nvim_liveshare written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/J-2-S/nvim_liveshare on toolchain 6713fa75964eb229409a9c6f6f5c418423e313ff
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/J-2-S/nvim_liveshare 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" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mlua-sys v0.6.8
[INFO] [stderr]   Downloaded mlua_derive v0.10.1
[INFO] [stderr]   Downloaded mlua v0.10.5
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9e3bbafe8b2249f260ee8b967fe16bbd20fa585187644ef678eb2dce469152f
[INFO] running `Command { std: "docker" "start" "-a" "b9e3bbafe8b2249f260ee8b967fe16bbd20fa585187644ef678eb2dce469152f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9e3bbafe8b2249f260ee8b967fe16bbd20fa585187644ef678eb2dce469152f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9e3bbafe8b2249f260ee8b967fe16bbd20fa585187644ef678eb2dce469152f", kill_on_drop: false }`
[INFO] [stdout] b9e3bbafe8b2249f260ee8b967fe16bbd20fa585187644ef678eb2dce469152f
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6713fa75964eb229409a9c6f6f5c418423e313ff" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 417cc4cbd3337aef7b839546c6be8f076ff4c88947b4539744d3540cf7be8774
[INFO] running `Command { std: "docker" "start" "-a" "417cc4cbd3337aef7b839546c6be8f076ff4c88947b4539744d3540cf7be8774", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking rustc-hash v2.1.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling mlua-sys v0.6.8
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling mlua_derive v0.10.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking bstr v1.12.0
[INFO] [stderr]     Checking erased-serde v0.4.6
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking mlua v0.10.5
[INFO] [stderr]     Checking nvim_liveshare v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `task`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     task, time,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `broadcast` and `self`
[INFO] [stdout]   --> src/server.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     sync::{Mutex, OnceCell, broadcast, mpsc},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]  9 |     task,
[INFO] [stdout] 10 |     time::{self, Duration},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task`
[INFO] [stdout]  --> src/client.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     task, time,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `broadcast` and `self`
[INFO] [stdout]   --> src/server.rs:8:29
[INFO] [stdout]    |
[INFO] [stdout]  8 |     sync::{Mutex, OnceCell, broadcast, mpsc},
[INFO] [stdout]    |                             ^^^^^^^^^
[INFO] [stdout]  9 |     task,
[INFO] [stdout] 10 |     time::{self, Duration},
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut server_stream = TcpStream::connect(host_addrs).await?;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut server_stream = TcpStream::connect(host_addrs).await?;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/client.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/client.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 tx.send(todo!("buff")).await?;
[INFO] [stdout]    |                    ^^^^ ------------- any code following this expression is unreachable
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    unreachable call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/client.rs:31:20
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 tx.send(todo!("buff")).await?;
[INFO] [stdout]    |                    ^^^^ ------------- any code following this expression is unreachable
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    unreachable call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/server.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     loop {
[INFO] [stdout] 26 | |         let (mut stream, client_addrs) = server.accept().await?;
[INFO] [stdout] 27 | |         println!("Received connection from {}", client_addrs);
[INFO] [stdout] 28 | |         let sender = tx.clone();
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         });
[INFO] [stdout] 32 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 33 |       todo!()
[INFO] [stdout]    |       ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/server.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 sender.send(todo!("buff")).await;
[INFO] [stdout]    |                        ^^^^ ------------- any code following this expression is unreachable
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        unreachable call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/server.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     loop {
[INFO] [stdout] 26 | |         let (mut stream, client_addrs) = server.accept().await?;
[INFO] [stdout] 27 | |         println!("Received connection from {}", client_addrs);
[INFO] [stdout] 28 | |         let sender = tx.clone();
[INFO] [stdout] ...  |
[INFO] [stdout] 31 | |         });
[INFO] [stdout] 32 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 33 |       todo!()
[INFO] [stdout]    |       ^^^^^^^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable call
[INFO] [stdout]   --> src/server.rs:44:24
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 sender.send(todo!("buff")).await;
[INFO] [stdout]    |                        ^^^^ ------------- any code following this expression is unreachable
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        unreachable call
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/server.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ----^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server_stream`
[INFO] [stdout]   --> src/client.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut server_stream = TcpStream::connect(host_addrs).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/client.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]   --> src/client.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `socket`
[INFO] [stdout]   --> src/client.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn first_download<S>(socket: &mut S) -> Result<()>
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/client.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             size = socket.read(&mut buff)=>{
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server_stream`
[INFO] [stdout]   --> src/client.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut server_stream = TcpStream::connect(host_addrs).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/client.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |          ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rx`
[INFO] [stdout]   --> src/client.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let (tx, mut rx) = mpsc::channel::<PlaceHolder>(10);
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `socket`
[INFO] [stdout]   --> src/client.rs:16:32
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn first_download<S>(socket: &mut S) -> Result<()>
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/client.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             size = socket.read(&mut buff)=>{
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_col` is never read
[INFO] [stdout]   --> src/local.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let mut end_col = original_lines.last().map_or(0, |line| line.len());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 72 | /     end_col = if end_line == 0 {
[INFO] [stdout] 73 | |         0
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout] 75 | |         original_lines[end_line - 1].len()
[INFO] [stdout] 76 | |     };
[INFO] [stdout]    | |_____- `end_col` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/server.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Ok(data) = socket.read(&mut buff) => {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PlaceHolder` is never used
[INFO] [stdout]  --> src/client.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type PlaceHolder = String;
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HOST_UPDATES` is never used
[INFO] [stdout]   --> src/client.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static HOST_UPDATES: OnceCell<Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> = OnceCell::const_new();
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect` is never used
[INFO] [stdout]   --> src/client.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn connect(host_addrs: impl ToSocketAddrs) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_download` is never used
[INFO] [stdout]   --> src/client.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn first_download<S>(socket: &mut S) -> Result<()>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `server_handle` is never used
[INFO] [stdout]   --> src/client.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn server_handle<S>(socket: &mut S, tx: mpsc::Sender<PlaceHolder>) -> Result<()>
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_incoming_stream` is never used
[INFO] [stdout]   --> src/client.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn get_incoming_stream() -> Option<&'static Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BROADCASTER` is never used
[INFO] [stdout]  --> src/local.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | static BROADCASTER: OnceCell<Arc<Mutex<tokio::sync::broadcast::Sender<String>>>> =
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/local.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Position {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Change` is never constructed
[INFO] [stdout]   --> src/local.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Change {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChangeMessage` is never constructed
[INFO] [stdout]   --> src/local.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct ChangeMessage {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_subscriber` is never used
[INFO] [stdout]   --> src/local.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn get_subscriber() -> tokio::sync::broadcast::Receiver<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_diff` is never used
[INFO] [stdout]   --> src/local.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn file_diff(original: String, new: String) -> Change {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attach_to_instance` is never used
[INFO] [stdout]   --> src/local.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub async fn attach_to_instance(lua: &mlua::Lua, _: ()) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PlaceHolder` is never used
[INFO] [stdout]   --> src/server.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type PlaceHolder = String;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CLIENT_CHANGES` is never used
[INFO] [stdout]   --> src/server.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static CLIENT_CHANGES: OnceCell<Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> = OnceCell::const_new(); // String is a
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/server.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn start_server(config: &Config) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `client_handles` is never used
[INFO] [stdout]   --> src/server.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn client_handles<S>(socket: &mut S, sender: mpsc::Sender<PlaceHolder>)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_incoming_stream` is never used
[INFO] [stdout]   --> src/server.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn get_incoming_stream() -> Option<&'static Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 sender.send(todo!("buff")).await;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let _ = sender.send(todo!("buff")).await;
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_col` is never read
[INFO] [stdout]   --> src/local.rs:44:23
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let mut end_col = original_lines.last().map_or(0, |line| line.len());
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 72 | /     end_col = if end_line == 0 {
[INFO] [stdout] 73 | |         0
[INFO] [stdout] 74 | |     } else {
[INFO] [stdout] 75 | |         original_lines[end_line - 1].len()
[INFO] [stdout] 76 | |     };
[INFO] [stdout]    | |_____- `end_col` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/server.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Ok(data) = socket.read(&mut buff) => {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PlaceHolder` is never used
[INFO] [stdout]  --> src/client.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | type PlaceHolder = String;
[INFO] [stdout]   |      ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HOST_UPDATES` is never used
[INFO] [stdout]   --> src/client.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | static HOST_UPDATES: OnceCell<Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> = OnceCell::const_new();
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connect` is never used
[INFO] [stdout]   --> src/client.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn connect(host_addrs: impl ToSocketAddrs) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_download` is never used
[INFO] [stdout]   --> src/client.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn first_download<S>(socket: &mut S) -> Result<()>
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `server_handle` is never used
[INFO] [stdout]   --> src/client.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub async fn server_handle<S>(socket: &mut S, tx: mpsc::Sender<PlaceHolder>) -> Result<()>
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_incoming_stream` is never used
[INFO] [stdout]   --> src/client.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn get_incoming_stream() -> Option<&'static Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BROADCASTER` is never used
[INFO] [stdout]  --> src/local.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | static BROADCASTER: OnceCell<Arc<Mutex<tokio::sync::broadcast::Sender<String>>>> =
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]   --> src/local.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Position {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Change` is never constructed
[INFO] [stdout]   --> src/local.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct Change {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChangeMessage` is never constructed
[INFO] [stdout]   --> src/local.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | struct ChangeMessage {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_subscriber` is never used
[INFO] [stdout]   --> src/local.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn get_subscriber() -> tokio::sync::broadcast::Receiver<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_diff` is never used
[INFO] [stdout]   --> src/local.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn file_diff(original: String, new: String) -> Change {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attach_to_instance` is never used
[INFO] [stdout]   --> src/local.rs:94:14
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub async fn attach_to_instance(lua: &mlua::Lua, _: ()) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PlaceHolder` is never used
[INFO] [stdout]   --> src/server.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type PlaceHolder = String;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CLIENT_CHANGES` is never used
[INFO] [stdout]   --> src/server.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | static CLIENT_CHANGES: OnceCell<Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> = OnceCell::const_new(); // String is a
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/server.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn start_server(config: &Config) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `client_handles` is never used
[INFO] [stdout]   --> src/server.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn client_handles<S>(socket: &mut S, sender: mpsc::Sender<PlaceHolder>)
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_incoming_stream` is never used
[INFO] [stdout]   --> src/server.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn get_incoming_stream() -> Option<&'static Arc<Mutex<mpsc::Receiver<PlaceHolder>>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 sender.send(todo!("buff")).await;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 let _ = sender.send(todo!("buff")).await;
[INFO] [stdout]    |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.32s
[INFO] running `Command { std: "docker" "inspect" "417cc4cbd3337aef7b839546c6be8f076ff4c88947b4539744d3540cf7be8774", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "417cc4cbd3337aef7b839546c6be8f076ff4c88947b4539744d3540cf7be8774", kill_on_drop: false }`
[INFO] [stdout] 417cc4cbd3337aef7b839546c6be8f076ff4c88947b4539744d3540cf7be8774
