[INFO] cloning repository https://github.com/ch-sy/teledraw
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ch-sy/teledraw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch-sy%2Fteledraw", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch-sy%2Fteledraw'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e9b36537917afaf73475e6734913b368e8c36ae7
[INFO] checking ch-sy/teledraw against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch-sy%2Fteledraw" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ch-sy/teledraw
[INFO] finished tweaking git repo https://github.com/ch-sy/teledraw
[INFO] tweaked toml for git repo https://github.com/ch-sy/teledraw written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ch-sy/teledraw on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ch-sy/teledraw 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.50
[INFO] [stderr]   Downloaded glutin v0.24.0
[INFO] [stderr]   Downloaded smallvec v1.3.0
[INFO] [stderr]   Downloaded instant v0.1.2
[INFO] [stderr]   Downloaded core-video-sys v0.1.3
[INFO] [stderr]   Downloaded xml-rs v0.8.2
[INFO] [stderr]   Downloaded cocoa v0.19.1
[INFO] [stderr]   Downloaded parking_lot_core v0.7.1
[INFO] [stderr]   Downloaded backtrace v0.3.46
[INFO] [stderr]   Downloaded winit v0.22.1
[INFO] [stderr]   Downloaded libc v0.2.69
[INFO] [stderr]   Downloaded backtrace-sys v0.1.36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f
[INFO] running `Command { std: "docker" "start" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling xml-rs v0.8.2
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking lazycell v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking smallvec v1.3.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking wayland-sys v0.23.6
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.6
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.4
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking parking_lot_core v0.7.1
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]    Compiling backtrace-sys v0.1.36
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking parking_lot v0.10.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking instant v0.1.2
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking takeable-option v0.5.0
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]    Compiling glium v0.27.0
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]     Checking backtrace v0.3.46
[INFO] [stderr]     Checking calloop v0.4.4
[INFO] [stderr]     Checking wayland-commons v0.23.6
[INFO] [stderr]     Checking smithay-client-toolkit v0.6.6
[INFO] [stderr]     Checking winit v0.22.1
[INFO] [stderr]     Checking glutin v0.24.0
[INFO] [stderr]     Checking teledraw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::BufRead;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `allow_clippy`
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     implement_vertex!(Vertex, position);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/main.rs:109:82
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     modifiers} =>  {
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let mut shape = shape.lock().unwrap();
[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/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut stream = TcpStream::connect("78.47.128.141:2020").unwrap();
[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/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut shape = Arc::new(Mutex::new(vec![]));
[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/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut shape = shape.lock().unwrap();
[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/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let mut c_shape = shape.clone();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/main.rs:109:56
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                        ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:109:67
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                   ^^^^^ help: try ignoring the field: `state: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/main.rs:109:74
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                          ^^^^^^ help: try ignoring the field: `button: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/main.rs:109:82
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^ help: try ignoring the field: `modifiers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/main.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 glutin::event::WindowEvent::CursorMoved{device_id, position,
[INFO] [stdout]     |                                                         ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     modifiers} =>  {
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `modifiers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `old_position` is never read
[INFO] [stdout]    --> src/main.rs:140:29
[INFO] [stdout]     |
[INFO] [stdout] 140 |                             old_position = new_position;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 153 |                     old_position = new_position;
[INFO] [stdout]     |                     --------------------------- `old_position` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() {
[INFO] [stdout]    | --------- move the `impl` block outside of this function `main`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     implement_vertex!(Vertex, position);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     `Vertex` is not local
[INFO] [stdout]    |     `Vertex` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TcpListener`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream};
[INFO] [stdout]   |                ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::BufRead;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         stream_out.flush();
[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] 172 |         let _ = stream_out.flush();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `allow_clippy`
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     implement_vertex!(Vertex, position);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 34 more
[INFO] [stdout]    = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `_memoffset__field_check` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `_memoffset__field_check` which comes from the expansion of the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::MouseInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/main.rs:109:82
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated field `glium::glutin::event::WindowEvent::CursorMoved::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     modifiers} =>  {
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let mut shape = shape.lock().unwrap();
[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/main.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut stream = TcpStream::connect("78.47.128.141:2020").unwrap();
[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/main.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut shape = Arc::new(Mutex::new(vec![]));
[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/main.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let mut shape = shape.lock().unwrap();
[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/main.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     let mut c_shape = shape.clone();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/main.rs:109:56
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                        ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/main.rs:109:67
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                   ^^^^^ help: try ignoring the field: `state: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/main.rs:109:74
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                          ^^^^^^ help: try ignoring the field: `button: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/main.rs:109:82
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 glutin::event::WindowEvent::MouseInput{device_id, state, button, modifiers} => {
[INFO] [stdout]     |                                                                                  ^^^^^^^^^ help: try ignoring the field: `modifiers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/main.rs:112:57
[INFO] [stdout]     |
[INFO] [stdout] 112 |                 glutin::event::WindowEvent::CursorMoved{device_id, position,
[INFO] [stdout]     |                                                         ^^^^^^^^^ help: try ignoring the field: `device_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/main.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     modifiers} =>  {
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `modifiers: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `old_position` is never read
[INFO] [stdout]    --> src/main.rs:140:29
[INFO] [stdout]     |
[INFO] [stdout] 140 |                             old_position = new_position;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 153 |                     old_position = new_position;
[INFO] [stdout]     |                     --------------------------- `old_position` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() {
[INFO] [stdout]    | --------- move the `impl` block outside of this function `main`
[INFO] [stdout] ...
[INFO] [stdout] 43 |     implement_vertex!(Vertex, position);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     `Vertex` is not local
[INFO] [stdout]    |     `Vertex` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         stream_out.flush();
[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] 172 |         let _ = stream_out.flush();
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.79s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.24.0, winit v0.22.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f", kill_on_drop: false }`
[INFO] [stdout] 3a6ec47c9f0896fd0238170a4cf61ed8be6122a87a92fd49da1f88747ef4242f
