[INFO] cloning repository https://github.com/gabrieeeell/rust_physics_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabrieeeell/rust_physics_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4be85c7f68643509db0aa5a7d99f9f1bea2aaffb [INFO] checking gabrieeeell/rust_physics_engine against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabrieeeell%2Frust_physics_engine" "/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/gabrieeeell/rust_physics_engine [INFO] finished tweaking git repo https://github.com/gabrieeeell/rust_physics_engine [INFO] tweaked toml for git repo https://github.com/gabrieeeell/rust_physics_engine written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gabrieeeell/rust_physics_engine on toolchain e117153a45c546e883c1f91d82611775fcaeffe0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gabrieeeell/rust_physics_engine 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3493e6cc6b2f2b4df4c5f6b53bb211a0c3eab84fae5ca7fccfe8116a07779d3a [INFO] running `Command { std: "docker" "start" "-a" "3493e6cc6b2f2b4df4c5f6b53bb211a0c3eab84fae5ca7fccfe8116a07779d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3493e6cc6b2f2b4df4c5f6b53bb211a0c3eab84fae5ca7fccfe8116a07779d3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3493e6cc6b2f2b4df4c5f6b53bb211a0c3eab84fae5ca7fccfe8116a07779d3a", kill_on_drop: false }` [INFO] [stdout] 3493e6cc6b2f2b4df4c5f6b53bb211a0c3eab84fae5ca7fccfe8116a07779d3a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a02936c931061e0a7180d28f9f358d824c4ad621035d67524c5d585c6e028c17 [INFO] running `Command { std: "docker" "start" "-a" "a02936c931061e0a7180d28f9f358d824c4ad621035d67524c5d585c6e028c17", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling wayland-client v0.31.10 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling wayland-backend v0.3.10 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.30 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling glium v0.36.0 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking wayland-protocols v0.32.8 [INFO] [stderr] Checking wayland-cursor v0.31.10 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.8 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.8 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking crash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayStorage` and `Const` [INFO] [stdout] --> src/forms.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Const, Matrix4, Vector3, Vector4}; [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: `nalgebra::Matrix4` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector4` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayStorage` and `Const` [INFO] [stdout] --> src/forms.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::{ArrayStorage, Const, Matrix4, Vector3, Vector4}; [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: `nalgebra::Matrix4` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector4` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut square_1 = Shapes::new_square([-0.50, 0.25], [-0.25, -0.25], (1.0, 0.0, 0.0), &display); [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:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut square_2 = Shapes::new_square([0.25, 0.25], [0.50, -0.25], (0.0, 0.0, 0.0), &display); [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:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let uniforms = uniform! { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects_interactions.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_collision(object_1: &Shapes, object_2: &Shapes) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | 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: 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:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut square_1 = Shapes::new_square([-0.50, 0.25], [-0.25, -0.25], (1.0, 0.0, 0.0), &display); [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:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut square_2 = Shapes::new_square([0.25, 0.25], [0.50, -0.25], (0.0, 0.0, 0.0), &display); [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:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uniforms` [INFO] [stdout] --> src/main.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | let uniforms = uniform! { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uniforms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut t: f32 = 0.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/objects_interactions.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_collision(object_1: &Shapes, object_2: &Shapes) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | implement_vertex!(Vertex, position); [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] ... [INFO] [stdout] 22 | 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: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "a02936c931061e0a7180d28f9f358d824c4ad621035d67524c5d585c6e028c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a02936c931061e0a7180d28f9f358d824c4ad621035d67524c5d585c6e028c17", kill_on_drop: false }` [INFO] [stdout] a02936c931061e0a7180d28f9f358d824c4ad621035d67524c5d585c6e028c17