[INFO] cloning repository https://github.com/Asera/rustris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asera/rustris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07307ac764516bb24a11bb89ecf2f81a85ff34b [INFO] checking Asera/rustris against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Asera/rustris on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Asera/rustris [INFO] finished tweaking git repo https://github.com/Asera/rustris [INFO] tweaked toml for git repo https://github.com/Asera/rustris written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Asera/rustris 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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.18 [INFO] [stderr] Downloaded const_fn v0.4.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded image v0.23.11 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96f370cc8d89271f2dfbe1da410482e243fb5407db9a1a43d743d1afd9c64d3b [INFO] running `Command { std: "docker" "start" "-a" "96f370cc8d89271f2dfbe1da410482e243fb5407db9a1a43d743d1afd9c64d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96f370cc8d89271f2dfbe1da410482e243fb5407db9a1a43d743d1afd9c64d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f370cc8d89271f2dfbe1da410482e243fb5407db9a1a43d743d1afd9c64d3b", kill_on_drop: false }` [INFO] [stdout] 96f370cc8d89271f2dfbe1da410482e243fb5407db9a1a43d743d1afd9c64d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00894def41752a0e2eb8c11c54fb078566d44dcd57ad708774eaead983c260aa [INFO] running `Command { std: "docker" "start" "-a" "00894def41752a0e2eb8c11c54fb078566d44dcd57ad708774eaead983c260aa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking nalgebra-glm v0.7.0 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Checking glium_text_nxt v0.15.0 [INFO] [stderr] Checking rustris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::max` [INFO] [stdout] --> src/game_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/state_renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/state_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision_checker::position_is_clear` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::collision_checker::position_is_clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::max` [INFO] [stdout] --> src/game_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/state_renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/state_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision_checker::position_is_clear` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::collision_checker::position_is_clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_counter` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | frame_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/tetronimoe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | None // Added to mark void or impossible direction state [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `get_tiles` are never used [INFO] [stdout] --> src/tetronimoe.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Figure { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 70 | pub fn init(block_type: BlockType, direction: Direction, center: Point) -> Figure { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | display.swap_buffers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = display.swap_buffers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_counter` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | frame_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/tetronimoe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | None // Added to mark void or impossible direction state [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `get_tiles` are never used [INFO] [stdout] --> src/tetronimoe.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Figure { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 70 | pub fn init(block_type: BlockType, direction: Direction, center: Point) -> Figure { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `main` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | display.swap_buffers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = display.swap_buffers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "00894def41752a0e2eb8c11c54fb078566d44dcd57ad708774eaead983c260aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00894def41752a0e2eb8c11c54fb078566d44dcd57ad708774eaead983c260aa", kill_on_drop: false }` [INFO] [stdout] 00894def41752a0e2eb8c11c54fb078566d44dcd57ad708774eaead983c260aa [INFO] checking Asera/rustris against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Asera/rustris on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Asera/rustris [INFO] finished tweaking git repo https://github.com/Asera/rustris [INFO] tweaked toml for git repo https://github.com/Asera/rustris written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Asera/rustris 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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d152cb3a4ad30334fcf08cd7084c9134abfd4e52435a7d6998dca385b6f568fc [INFO] running `Command { std: "docker" "start" "-a" "d152cb3a4ad30334fcf08cd7084c9134abfd4e52435a7d6998dca385b6f568fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d152cb3a4ad30334fcf08cd7084c9134abfd4e52435a7d6998dca385b6f568fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d152cb3a4ad30334fcf08cd7084c9134abfd4e52435a7d6998dca385b6f568fc", kill_on_drop: false }` [INFO] [stdout] d152cb3a4ad30334fcf08cd7084c9134abfd4e52435a7d6998dca385b6f568fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67c3a8c62c47f490a2041e3d6841c74389fb58a9a955e938103c699241ee5de9 [INFO] running `Command { std: "docker" "start" "-a" "67c3a8c62c47f490a2041e3d6841c74389fb58a9a955e938103c699241ee5de9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking object v0.21.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking backtrace v0.3.53 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stdout] error[E0310]: the associated type `::UserEvent` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/platform/desktop.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | F: FnMut( [INFO] [stdout] | ____________^ [INFO] [stdout] 34 | | Event<'_, Self::UserEvent>, [INFO] [stdout] 35 | | &EventLoopWindowTarget, [INFO] [stdout] 36 | | &mut ControlFlow, [INFO] [stdout] 37 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the associated type `::UserEvent` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::UserEvent` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.22.2/src/event.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Event<'a, T: 'static> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 37 | ), ::UserEvent: 'static; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nalgebra-glm v0.7.0 [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "67c3a8c62c47f490a2041e3d6841c74389fb58a9a955e938103c699241ee5de9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67c3a8c62c47f490a2041e3d6841c74389fb58a9a955e938103c699241ee5de9", kill_on_drop: false }` [INFO] [stdout] 67c3a8c62c47f490a2041e3d6841c74389fb58a9a955e938103c699241ee5de9