[INFO] cloning repository https://github.com/y-kitamu/viewer3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y-kitamu/viewer3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ab6b3f4da6232972efc35ff8a45de76a002eca4 [INFO] checking y-kitamu/viewer3d against master#c871d09d1cc32a649f4c5177bb819646260ed120 for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] finished tweaking git repo https://github.com/y-kitamu/viewer3d [INFO] tweaked toml for git repo https://github.com/y-kitamu/viewer3d written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/y-kitamu/viewer3d on toolchain c871d09d1cc32a649f4c5177bb819646260ed120 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/y-kitamu/viewer3d 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" "+c871d09d1cc32a649f4c5177bb819646260ed120" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded sctk-adwaita v0.8.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.41 [INFO] [stderr] Downloaded byteordered v0.6.0 [INFO] [stderr] Downloaded bytemuck v1.14.3 [INFO] [stderr] Downloaded nifti v0.16.0 [INFO] [stderr] Downloaded polling v3.4.0 [INFO] [stderr] Downloaded png v0.17.11 [INFO] [stderr] Downloaded rayon v1.8.1 [INFO] [stderr] Downloaded winnow v0.5.39 [INFO] [stderr] Downloaded winit v0.29.10 [INFO] [stderr] Downloaded web-sys v0.3.68 [INFO] [stderr] Downloaded glium v0.34.0 [INFO] [stderr] Downloaded image v0.24.8 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2a42ef324079d9e058427bef8d76f33e2ac2d64cc3ab5b437ec30b838d1ea15 [INFO] running `Command { std: "docker" "start" "-a" "e2a42ef324079d9e058427bef8d76f33e2ac2d64cc3ab5b437ec30b838d1ea15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2a42ef324079d9e058427bef8d76f33e2ac2d64cc3ab5b437ec30b838d1ea15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a42ef324079d9e058427bef8d76f33e2ac2d64cc3ab5b437ec30b838d1ea15", kill_on_drop: false }` [INFO] [stdout] e2a42ef324079d9e058427bef8d76f33e2ac2d64cc3ab5b437ec30b838d1ea15 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c871d09d1cc32a649f4c5177bb819646260ed120" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf939954de74a3b54f9ae83e34564fbbd7be3f8c948a9b4aeb5ff5761acf23f1 [INFO] running `Command { std: "docker" "start" "-a" "cf939954de74a3b54f9ae83e34564fbbd7be3f8c948a9b4aeb5ff5761acf23f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking libloading v0.8.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking nifti v0.16.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking viewer3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `deserialize` is never used [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Image3D { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn deserialize(path: &Path) -> Image3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stem` is never read [INFO] [stdout] --> src/shader.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ShaderSrc { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub stem: &'static str, [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/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SimpleVertex` 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/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SimpleVertex` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Simple3DVertex` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Simple3DVertex` 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: associated function `deserialize` is never used [INFO] [stdout] --> src/io.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Image3D { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn deserialize(path: &Path) -> Image3D { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stem` is never read [INFO] [stdout] --> src/shader.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ShaderSrc { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | pub stem: &'static str, [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/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `SimpleVertex` 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/view/simple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 33 | implement_vertex!(SimpleVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `SimpleVertex` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Simple3DVertex` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/view/simple3d.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn new(display: &glium::Display) -> Self { [INFO] [stdout] | ----------------------------------------------------------- move the `impl` block outside of this associated function `new` [INFO] [stdout] 122 | implement_vertex!(Simple3DVertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Simple3DVertex` 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 59.39s [INFO] running `Command { std: "docker" "inspect" "cf939954de74a3b54f9ae83e34564fbbd7be3f8c948a9b4aeb5ff5761acf23f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf939954de74a3b54f9ae83e34564fbbd7be3f8c948a9b4aeb5ff5761acf23f1", kill_on_drop: false }` [INFO] [stdout] cf939954de74a3b54f9ae83e34564fbbd7be3f8c948a9b4aeb5ff5761acf23f1