[INFO] cloning repository https://github.com/LeDaffy/FlappyClone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeDaffy/FlappyClone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeDaffy%2FFlappyClone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeDaffy%2FFlappyClone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56bc30b70ff9e40aa40674cca8b7caeb7129a7a2 [INFO] checking LeDaffy/FlappyClone/56bc30b70ff9e40aa40674cca8b7caeb7129a7a2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeDaffy%2FFlappyClone" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeDaffy/FlappyClone on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LeDaffy/FlappyClone [INFO] finished tweaking git repo https://github.com/LeDaffy/FlappyClone [INFO] tweaked toml for git repo https://github.com/LeDaffy/FlappyClone written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LeDaffy/FlappyClone 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 022e3c0c86c4ce3dfd80b6d6f745da6ce4ce3c2d57c4c377c7e298597cac54f3 [INFO] running `Command { std: "docker" "start" "-a" "022e3c0c86c4ce3dfd80b6d6f745da6ce4ce3c2d57c4c377c7e298597cac54f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "022e3c0c86c4ce3dfd80b6d6f745da6ce4ce3c2d57c4c377c7e298597cac54f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "022e3c0c86c4ce3dfd80b6d6f745da6ce4ce3c2d57c4c377c7e298597cac54f3", kill_on_drop: false }` [INFO] [stdout] 022e3c0c86c4ce3dfd80b6d6f745da6ce4ce3c2d57c4c377c7e298597cac54f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b26771ac190af38e6a707b4734af31e0b9bbe7e40c49d2491d4615a069eb9f5 [INFO] running `Command { std: "docker" "start" "-a" "8b26771ac190af38e6a707b4734af31e0b9bbe7e40c49d2491d4615a069eb9f5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling glutin v0.30.9 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.0 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking flappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RotAcceleration` and `RotVelocity` [INFO] [stdout] --> src/scene.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::{Mesh, Velocity, Acceleration, RotVelocity, RotAcceleration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/scene.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4` and `Vector3` [INFO] [stdout] --> src/renderer.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use nalgebra::{self, Matrix4, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::surface::GlSurface` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glutin::surface::GlSurface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cube` [INFO] [stdout] --> src/game.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::renderer::primatives::{Cube, Quad, Vert}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::windowing::Window` [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::windowing::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event` and `WindowEvent` [INFO] [stdout] --> src/game.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic(width as f32 / -zoom, (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), width as f32 / zoom, (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:105 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), height as f32 / -zoom,(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:129 [INFO] [stdout] | [INFO] [stdout] 44 | ... -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),height as f32 / zoom, 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RotAcceleration` and `RotVelocity` [INFO] [stdout] --> src/scene.rs:1:55 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::{Mesh, Velocity, Acceleration, RotVelocity, RotAcceleration}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Vector3` [INFO] [stdout] --> src/scene.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4` and `Vector3` [INFO] [stdout] --> src/renderer.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use nalgebra::{self, Matrix4, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin::surface::GlSurface` [INFO] [stdout] --> src/game.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glutin::surface::GlSurface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cube` [INFO] [stdout] --> src/game.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::renderer::primatives::{Cube, Quad, Vert}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::windowing::Window` [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::windowing::Window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event` and `WindowEvent` [INFO] [stdout] --> src/game.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | event::{Event, WindowEvent}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic(width as f32 / -zoom, (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:82 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), width as f32 / zoom, (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:105 [INFO] [stdout] | [INFO] [stdout] 44 | ... self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), height as f32 / -zoom,(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/camera.rs:44:129 [INFO] [stdout] | [INFO] [stdout] 44 | ... -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),(height as f32 / zoom), 0.01, 100.0); [INFO] [stdout] 44 + self.perspective = Matrix4::new_orthographic((width as f32 / -zoom), (width as f32 / zoom), (height as f32 / -zoom),height as f32 / zoom, 0.01, 100.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_animation` [INFO] [stdout] --> src/renderer/texture.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let in_animation = reader.info().frame_control.is_some(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_animation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `in_animation` [INFO] [stdout] --> src/renderer/texture.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let in_animation = reader.info().frame_control.is_some(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_animation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/renderer.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn newrender(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/renderer.rs:219:33 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn newrender(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/windowing.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 25 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let window = WindowBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let display = unsafe { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let gl_config = unsafe { display.find_configs(template) }? [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let gl_surface = unsafe { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let gl_context = unsafe { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(Window { [INFO] [stdout] | ________^ [INFO] [stdout] 121 | | event_loop, [INFO] [stdout] 122 | | window, [INFO] [stdout] 123 | | gl_surface, [INFO] [stdout] 124 | | gl_context, [INFO] [stdout] 125 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/windowing.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 25 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | let window = WindowBuilder::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let display = unsafe { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let gl_config = unsafe { display.find_configs(template) }? [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | let gl_surface = unsafe { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let gl_context = unsafe { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(Window { [INFO] [stdout] | ________^ [INFO] [stdout] 121 | | event_loop, [INFO] [stdout] 122 | | window, [INFO] [stdout] 123 | | gl_surface, [INFO] [stdout] 124 | | gl_context, [INFO] [stdout] 125 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/windowing.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | gl::load_with(|s| display.get_proc_address(CString::new(s).unwrap().as_c_str())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/windowing.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | gl::load_with(|s| display.get_proc_address(CString::new(s).unwrap().as_c_str())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flappy` (lib) due to 3 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `flappy` (lib test) due to 3 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b26771ac190af38e6a707b4734af31e0b9bbe7e40c49d2491d4615a069eb9f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b26771ac190af38e6a707b4734af31e0b9bbe7e40c49d2491d4615a069eb9f5", kill_on_drop: false }` [INFO] [stdout] 8b26771ac190af38e6a707b4734af31e0b9bbe7e40c49d2491d4615a069eb9f5