[INFO] cloning repository https://github.com/Galya777/templeRun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Galya777/templeRun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalya777%2FtempleRun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGalya777%2FtempleRun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1025dbe69086b2fcda1bf478fcf131a0d393b860 [INFO] checking Galya777/templeRun/1025dbe69086b2fcda1bf478fcf131a0d393b860 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%2FGalya777%2FtempleRun" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Galya777/templeRun 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/Galya777/templeRun [INFO] finished tweaking git repo https://github.com/Galya777/templeRun [INFO] tweaked toml for git repo https://github.com/Galya777/templeRun written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Galya777/templeRun 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 39a9a4650c2ad54a607ef5e7704b6e227c87012a2f13d2d0aacef46db512e050 [INFO] running `Command { std: "docker" "start" "-a" "39a9a4650c2ad54a607ef5e7704b6e227c87012a2f13d2d0aacef46db512e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39a9a4650c2ad54a607ef5e7704b6e227c87012a2f13d2d0aacef46db512e050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a9a4650c2ad54a607ef5e7704b6e227c87012a2f13d2d0aacef46db512e050", kill_on_drop: false }` [INFO] [stdout] 39a9a4650c2ad54a607ef5e7704b6e227c87012a2f13d2d0aacef46db512e050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b6b94cdc07648cd41c5691081036fe34d9dd97f9cc914885fefb96b9f1c1eeda [INFO] running `Command { std: "docker" "start" "-a" "b6b94cdc07648cd41c5691081036fe34d9dd97f9cc914885fefb96b9f1c1eeda", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cc v1.1.11 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking euclid v0.22.10 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking lyon_geom v1.0.5 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Checking symphonia-core v0.5.4 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Checking symphonia-metadata v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking lyon_path v1.0.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling gilrs v0.10.9 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gilrs-core v0.5.13 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking lyon_tessellation v1.0.15 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking symphonia v0.5.4 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Checking lyon_algorithms v1.0.4 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ordered-float v4.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking glyph_brush v0.7.9 [INFO] [stderr] Checking rodio v0.17.3 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking lyon v1.0.1 [INFO] [stderr] Checking crevice v0.13.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking templeRun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `self` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{self, Color}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/game_state.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{Conf, WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/game_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextSprite` [INFO] [stdout] --> src/game_state.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use assets::{Assets, TextSprite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `GameResult` [INFO] [stdout] --> src/player.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SoundSource` and `self` [INFO] [stdout] --> src/assets.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::{self, SoundSource}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `self` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{self, Color}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WindowMode` [INFO] [stdout] --> src/game_state.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::conf::{Conf, WindowMode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/game_state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextSprite` [INFO] [stdout] --> src/game_state.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use assets::{Assets, TextSprite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `GameResult` [INFO] [stdout] --> src/player.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::{Context, GameResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SoundSource` and `self` [INFO] [stdout] --> src/assets.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::{self, SoundSource}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::input::keyboard::is_key_pressed`: Use `ctx.keyboard.is_key_pressed` instead [INFO] [stdout] --> src/game_state.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | if keyboard::is_key_pressed(_ctx, KeyCode::Space) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ggez::input::keyboard::is_key_pressed`: Use `ctx.keyboard.is_key_pressed` instead [INFO] [stdout] --> src/game_state.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | if keyboard::is_key_pressed(_ctx, KeyCode::Space) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/game_state.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::{self, EventHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/player.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::assets::{Assets, Sprite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventHandler` [INFO] [stdout] --> src/game_state.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::event::{self, EventHandler}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sprite` [INFO] [stdout] --> src/player.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::assets::{Assets, Sprite}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rectangle` [INFO] [stdout] --> src/jumping_obstacle.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let rectangle = graphics::Mesh::new_rectangle(ctx, graphics::DrawMode::fill(), rectangle, color)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rectangle` [INFO] [stdout] --> src/slidingObstacke.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let rectangle = graphics::Mesh::new_rectangle(ctx, graphics::DrawMode::fill(), rectangle, color)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `screen_width` and `screen_height` are never read [INFO] [stdout] --> src/game_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | screen_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | screen_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, 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: constant `DESIRED_FPS` is never used [INFO] [stdout] --> src/game_state.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | const DESIRED_FPS: u32 = 60; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_laying_down`, `has_gun`, `has_magnet`, `has_backpack`, `has_shoes`, and `hit` are never read [INFO] [stdout] --> src/player.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | is_laying_down:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | has_gun:bool, //Дали героят има оръжие [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | has_magnet:bool, //дали героят има магнит [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | has_backpack:bool, //дали героят има раница, с която лети [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | has_shoes:bool,//дали героят има обувки за скачане [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | hit:bool,//дали е ударен [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlidingObstacle` is never constructed [INFO] [stdout] --> src/slidingObstacke.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SlidingObstacle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlidingObstacle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `draw` are never used [INFO] [stdout] --> src/slidingObstacke.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SlidingObstacle { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: f32, y: f32, width: f32, height: f32) -> SlidingObstacle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn draw(&self, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `slidingObstacke` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod slidingObstacke; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sliding_obstacke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rectangle` [INFO] [stdout] --> src/jumping_obstacle.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let rectangle = graphics::Mesh::new_rectangle(ctx, graphics::DrawMode::fill(), rectangle, color)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/assets.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | let player_normal_image = graphics::Image::from_path(ctx, "/Pictures/playerNormal.png")?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Assets { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | player_normal_image, [INFO] [stdout] 26 | | }) [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] | [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] warning: unused variable: `rectangle` [INFO] [stdout] --> src/slidingObstacke.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let rectangle = graphics::Mesh::new_rectangle(ctx, graphics::DrawMode::fill(), rectangle, color)?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templeRun` (bin "templeRun") due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `screen_width` and `screen_height` are never read [INFO] [stdout] --> src/game_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameState { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | screen_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | screen_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameState` has a derived impl for the trait `Debug`, 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: constant `DESIRED_FPS` is never used [INFO] [stdout] --> src/game_state.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | const DESIRED_FPS: u32 = 60; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `is_laying_down`, `has_gun`, `has_magnet`, `has_backpack`, `has_shoes`, and `hit` are never read [INFO] [stdout] --> src/player.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | is_laying_down:bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 21 | has_gun:bool, //Дали героят има оръжие [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | has_magnet:bool, //дали героят има магнит [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | has_backpack:bool, //дали героят има раница, с която лети [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | has_shoes:bool,//дали героят има обувки за скачане [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | hit:bool,//дали е ударен [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlidingObstacle` is never constructed [INFO] [stdout] --> src/slidingObstacke.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SlidingObstacle { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlidingObstacle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, and `draw` are never used [INFO] [stdout] --> src/slidingObstacke.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SlidingObstacle { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: f32, y: f32, width: f32, height: f32) -> SlidingObstacle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn draw(&self, ctx: &mut Context) -> GameResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `slidingObstacke` should have a snake case name [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | mod slidingObstacke; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sliding_obstacke` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [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/assets.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | let player_normal_image = graphics::Image::from_path(ctx, "/Pictures/playerNormal.png")?; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Assets { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | player_normal_image, [INFO] [stdout] 26 | | }) [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] | [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: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templeRun` (bin "templeRun" test) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b6b94cdc07648cd41c5691081036fe34d9dd97f9cc914885fefb96b9f1c1eeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6b94cdc07648cd41c5691081036fe34d9dd97f9cc914885fefb96b9f1c1eeda", kill_on_drop: false }` [INFO] [stdout] b6b94cdc07648cd41c5691081036fe34d9dd97f9cc914885fefb96b9f1c1eeda