[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 master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch-sy%2Fteledraw" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ch-sy/teledraw on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.24.0 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded parking_lot_core v0.7.1 [INFO] [stderr] Downloaded xml-rs v0.8.2 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded winit v0.22.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.36 [INFO] [stderr] Downloaded glium v0.27.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09918ba179c4f5781a0047b84ec1fa2065e64e392e68f51e0389f3d3043c59de [INFO] running `Command { std: "docker" "start" "-a" "09918ba179c4f5781a0047b84ec1fa2065e64e392e68f51e0389f3d3043c59de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09918ba179c4f5781a0047b84ec1fa2065e64e392e68f51e0389f3d3043c59de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09918ba179c4f5781a0047b84ec1fa2065e64e392e68f51e0389f3d3043c59de", kill_on_drop: false }` [INFO] [stdout] 09918ba179c4f5781a0047b84ec1fa2065e64e392e68f51e0389f3d3043c59de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc62d5483368731bb186c6fbf10dc070e3f8ed10fa9c18512ef2b1dffb5a4f2d [INFO] running `Command { std: "docker" "start" "-a" "dc62d5483368731bb186c6fbf10dc070e3f8ed10fa9c18512ef2b1dffb5a4f2d", 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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [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: 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 31 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] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see 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: 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 31 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] = help: the macro `_memoffset__field_check` may come from an old version of the `memoffset` crate, try updating your dependency with `cargo update -p memoffset` [INFO] [stdout] = note: see 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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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: 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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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 33.97s [INFO] running `Command { std: "docker" "inspect" "dc62d5483368731bb186c6fbf10dc070e3f8ed10fa9c18512ef2b1dffb5a4f2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc62d5483368731bb186c6fbf10dc070e3f8ed10fa9c18512ef2b1dffb5a4f2d", kill_on_drop: false }` [INFO] [stdout] dc62d5483368731bb186c6fbf10dc070e3f8ed10fa9c18512ef2b1dffb5a4f2d