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