[INFO] cloning repository https://github.com/Olivfhan/Another-Game-of-Life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Olivfhan/Another-Game-of-Life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivfhan%2FAnother-Game-of-Life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivfhan%2FAnother-Game-of-Life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff2c782e24a54b95365d07f2b182313909ae211d [INFO] building Olivfhan/Another-Game-of-Life against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivfhan%2FAnother-Game-of-Life" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Olivfhan/Another-Game-of-Life [INFO] finished tweaking git repo https://github.com/Olivfhan/Another-Game-of-Life [INFO] tweaked toml for git repo https://github.com/Olivfhan/Another-Game-of-Life written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Olivfhan/Another-Game-of-Life on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Olivfhan/Another-Game-of-Life 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded xkbcommon-dl v0.4.2 [INFO] [stderr] Downloaded glutin_glx_sys v0.5.0 [INFO] [stderr] Downloaded gethostname v0.4.3 [INFO] [stderr] Downloaded libloading v0.8.3 [INFO] [stderr] Downloaded sctk-adwaita v0.8.1 [INFO] [stderr] Downloaded xkeysym v0.2.0 [INFO] [stderr] Downloaded x11rb v0.13.0 [INFO] [stderr] Downloaded core-graphics-types v0.1.3 [INFO] [stderr] Downloaded nix v0.28.0 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded terminfo v0.8.0 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.2.0 [INFO] [stderr] Downloaded x11rb-protocol v0.13.0 [INFO] [stderr] Downloaded winit v0.29.15 [INFO] [stderr] Downloaded glium v0.34.0 [INFO] [stderr] Downloaded icrate v0.0.4 [INFO] [stderr] Downloaded ndk v0.8.0 [INFO] [stderr] Downloaded tiny-skia v0.11.4 [INFO] [stderr] Downloaded clearscreen v3.0.0 [INFO] [stderr] Downloaded objc2 v0.4.1 [INFO] [stderr] Downloaded android-activity v0.5.2 [INFO] [stderr] Downloaded ttf-parser v0.20.0 [INFO] [stderr] Downloaded calloop v0.12.4 [INFO] [stderr] Downloaded wayland-protocols v0.31.2 [INFO] [stderr] Downloaded ndk-sys v0.5.0+25.2.9519653 [INFO] [stderr] Downloaded glutin v0.31.3 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded orbclient v0.3.47 [INFO] [stderr] Downloaded smithay-client-toolkit v0.18.1 [INFO] [stderr] Downloaded owned_ttf_parser v0.20.0 [INFO] [stderr] Downloaded x11-dl v2.21.0 [INFO] [stderr] Downloaded wayland-backend v0.3.3 [INFO] [stderr] Downloaded serde v1.0.198 [INFO] [stderr] Downloaded xml-rs v0.8.20 [INFO] [stderr] Downloaded polling v3.6.0 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded cursor-icon v1.1.0 [INFO] [stderr] Downloaded quick-xml v0.31.0 [INFO] [stderr] Downloaded serde_derive v1.0.198 [INFO] [stderr] Downloaded jobserver v0.1.30 [INFO] [stderr] Downloaded wayland-scanner v0.31.1 [INFO] [stderr] Downloaded web-time v0.2.4 [INFO] [stderr] Downloaded rustix v0.38.32 [INFO] [stderr] Downloaded phf v0.11.2 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded phf_shared v0.11.2 [INFO] [stderr] Downloaded phf_codegen v0.11.2 [INFO] [stderr] Downloaded which v6.0.1 [INFO] [stderr] Downloaded winsafe v0.0.19 [INFO] [stderr] Downloaded glutin_egl_sys v0.6.0 [INFO] [stderr] Downloaded glutin-winit v0.4.2 [INFO] [stderr] Downloaded core-graphics v0.23.2 [INFO] [stderr] Downloaded objc-sys v0.3.3 [INFO] [stderr] Downloaded objc2-encode v3.0.0 [INFO] [stderr] Downloaded bytemuck v1.15.0 [INFO] [stderr] Downloaded tiny-skia-path v0.11.4 [INFO] [stderr] Downloaded concurrent-queue v2.4.0 [INFO] [stderr] Downloaded calloop-wayland-source v0.2.0 [INFO] [stderr] Downloaded memmap2 v0.9.4 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.2.0 [INFO] [stderr] Downloaded smol_str v0.2.1 [INFO] [stderr] Downloaded as-raw-xcb-connection v1.0.1 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded glutin_wgl_sys v0.5.0 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded android-properties v0.2.2 [INFO] [stderr] Downloaded winapi-util v0.1.6 [INFO] [stderr] Downloaded libredox v0.0.2 [INFO] [stderr] Downloaded raw-window-handle v0.6.0 [INFO] [stderr] Downloaded ab_glyph v0.2.25 [INFO] [stderr] Downloaded strict-num v0.1.1 [INFO] [stderr] Downloaded wayland-csd-frame v0.3.0 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded wayland-cursor v0.31.1 [INFO] [stderr] Downloaded wayland-sys v0.31.1 [INFO] [stderr] Downloaded wayland-client v0.31.2 [INFO] [stderr] Downloaded block-sys v0.2.1 [INFO] [stderr] Downloaded block2 v0.3.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ffb6a08259bcc977d2e7c57f173c0d1ea8966e3c5e9155a371932bc968b48a5 [INFO] running `Command { std: "docker" "start" "-a" "6ffb6a08259bcc977d2e7c57f173c0d1ea8966e3c5e9155a371932bc968b48a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ffb6a08259bcc977d2e7c57f173c0d1ea8966e3c5e9155a371932bc968b48a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ffb6a08259bcc977d2e7c57f173c0d1ea8966e3c5e9155a371932bc968b48a5", kill_on_drop: false }` [INFO] [stdout] 6ffb6a08259bcc977d2e7c57f173c0d1ea8966e3c5e9155a371932bc968b48a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a0ba0c091b277f2d4f2307dc7b905477550b618b81e2e0308ab0f43ede54aa8 [INFO] running `Command { std: "docker" "start" "-a" "8a0ba0c091b277f2d4f2307dc7b905477550b618b81e2e0308ab0f43ede54aa8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling glium v0.34.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling polling v3.6.0 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling clearscreen v3.0.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clearscreen::clear` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clearscreen::clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shape` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Shape{ [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:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 50 | [INFO] [stdout] 51 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 50 | [INFO] [stdout] 51 | 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 28s [INFO] running `Command { std: "docker" "inspect" "8a0ba0c091b277f2d4f2307dc7b905477550b618b81e2e0308ab0f43ede54aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0ba0c091b277f2d4f2307dc7b905477550b618b81e2e0308ab0f43ede54aa8", kill_on_drop: false }` [INFO] [stdout] 8a0ba0c091b277f2d4f2307dc7b905477550b618b81e2e0308ab0f43ede54aa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffbd52d55f34f36b6324353bffd0676890be4dde69952ff5fd9890bdd5b514b7 [INFO] running `Command { std: "docker" "start" "-a" "ffbd52d55f34f36b6324353bffd0676890be4dde69952ff5fd9890bdd5b514b7", kill_on_drop: false }` [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clearscreen::clear` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use clearscreen::clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shape` is never constructed [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Shape{ [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:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 50 | [INFO] [stdout] 51 | 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:51:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 50 | [INFO] [stdout] 51 | 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 `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "ffbd52d55f34f36b6324353bffd0676890be4dde69952ff5fd9890bdd5b514b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbd52d55f34f36b6324353bffd0676890be4dde69952ff5fd9890bdd5b514b7", kill_on_drop: false }` [INFO] [stdout] ffbd52d55f34f36b6324353bffd0676890be4dde69952ff5fd9890bdd5b514b7