[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#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy-kitamu%2Fviewer3d" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/y-kitamu/viewer3d on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nifti v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17aae1ad6864f9ce48cf25e59e46b80e2656452f2e927c39cdbb96720412884b [INFO] running `Command { std: "docker" "start" "-a" "17aae1ad6864f9ce48cf25e59e46b80e2656452f2e927c39cdbb96720412884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17aae1ad6864f9ce48cf25e59e46b80e2656452f2e927c39cdbb96720412884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17aae1ad6864f9ce48cf25e59e46b80e2656452f2e927c39cdbb96720412884b", kill_on_drop: false }` [INFO] [stdout] 17aae1ad6864f9ce48cf25e59e46b80e2656452f2e927c39cdbb96720412884b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba5b3cca69c8646ac157537724b3e42327d72720cf51ebefa4369a36601d610f [INFO] running `Command { std: "docker" "start" "-a" "ba5b3cca69c8646ac157537724b3e42327d72720cf51ebefa4369a36601d610f", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking log v0.4.20 [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 dlib v0.5.2 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ab_glyph v0.2.23 [INFO] [stderr] Compiling glutin v0.31.2 [INFO] [stderr] Compiling winit v0.29.10 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking polling v3.4.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking png v0.17.11 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking byteordered v0.6.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking image v0.24.8 [INFO] [stderr] Checking nifti v0.16.0 [INFO] [stderr] Checking x11rb v0.13.0 [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)]` on by default [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)]` 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `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/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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `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: 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 32.86s [INFO] running `Command { std: "docker" "inspect" "ba5b3cca69c8646ac157537724b3e42327d72720cf51ebefa4369a36601d610f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba5b3cca69c8646ac157537724b3e42327d72720cf51ebefa4369a36601d610f", kill_on_drop: false }` [INFO] [stdout] ba5b3cca69c8646ac157537724b3e42327d72720cf51ebefa4369a36601d610f