[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#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fch-sy%2Fteledraw" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ch-sy/teledraw on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace-sys v0.1.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 808f59362fb7e11fc69827d8f27e57b2e7331cb1175924788678a12b80a12e6a [INFO] running `Command { std: "docker" "start" "-a" "808f59362fb7e11fc69827d8f27e57b2e7331cb1175924788678a12b80a12e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "808f59362fb7e11fc69827d8f27e57b2e7331cb1175924788678a12b80a12e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808f59362fb7e11fc69827d8f27e57b2e7331cb1175924788678a12b80a12e6a", kill_on_drop: false }` [INFO] [stdout] 808f59362fb7e11fc69827d8f27e57b2e7331cb1175924788678a12b80a12e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b8ff03d91f7382e9897017c133c34f14c42a495b63df2a07b446da50fe0c99 [INFO] running `Command { std: "docker" "start" "-a" "09b8ff03d91f7382e9897017c133c34f14c42a495b63df2a07b446da50fe0c99", 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] Checking cfg-if v0.1.10 [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 bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking line_drawing v0.7.0 [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 lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking mio-extras v2.0.6 [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 raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [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 fnv v1.0.6 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Checking takeable-option v0.5.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)]` 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 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)]` 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::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: 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: 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)]` on by default [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)]` 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)]` on by default [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)]` 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)]` on by default [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)]` 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: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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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: 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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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)]` 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: 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)]` 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.04s [INFO] running `Command { std: "docker" "inspect" "09b8ff03d91f7382e9897017c133c34f14c42a495b63df2a07b446da50fe0c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b8ff03d91f7382e9897017c133c34f14c42a495b63df2a07b446da50fe0c99", kill_on_drop: false }` [INFO] [stdout] 09b8ff03d91f7382e9897017c133c34f14c42a495b63df2a07b446da50fe0c99