[INFO] cloning repository https://github.com/BoyanVD/rust-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BoyanVD/rust-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoyanVD%2Frust-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoyanVD%2Frust-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6e9296b4aa960953ae207ee2891bad481211f10 [INFO] checking BoyanVD/rust-snake against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoyanVD%2Frust-snake" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BoyanVD/rust-snake on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BoyanVD/rust-snake [INFO] finished tweaking git repo https://github.com/BoyanVD/rust-snake [INFO] tweaked toml for git repo https://github.com/BoyanVD/rust-snake written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BoyanVD/rust-snake 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ca25986e549225a3c4a7d9473fc0a0e1457de1df5f08bb37c9812640f1204ba [INFO] running `Command { std: "docker" "start" "-a" "3ca25986e549225a3c4a7d9473fc0a0e1457de1df5f08bb37c9812640f1204ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ca25986e549225a3c4a7d9473fc0a0e1457de1df5f08bb37c9812640f1204ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ca25986e549225a3c4a7d9473fc0a0e1457de1df5f08bb37c9812640f1204ba", kill_on_drop: false }` [INFO] [stdout] 3ca25986e549225a3c4a7d9473fc0a0e1457de1df5f08bb37c9812640f1204ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f4da669057d70874789ef53472cd7f0f290821c4266d37b9ae37c1a5a6adbe1 [INFO] running `Command { std: "docker" "start" "-a" "6f4da669057d70874789ef53472cd7f0f290821c4266d37b9ae37c1a5a6adbe1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling camino v1.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking euclid v0.22.7 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-misc v1.2.2 [INFO] [stderr] Checking lyon_geom v0.17.7 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking owned_ttf_parser v0.15.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking ab_glyph v0.2.16 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking lyon_path v0.17.7 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking lyon_algorithms v0.17.7 [INFO] [stderr] Checking lyon_tessellation v0.17.10 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking ordered-float v3.0.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking gilrs-core v0.3.2 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking lyon v0.17.10 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking gilrs v0.8.2 [INFO] [stderr] Checking glam v0.20.5 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Checking glyph_brush v0.7.5 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking rodio v0.14.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.7.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.25.0 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/game.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::{event, Context, ContextBuilder, GameResult, graphics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/elements.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{event, Context, ContextBuilder, GameResult, graphics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/game.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::{event, Context, ContextBuilder, GameResult, graphics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextBuilder` [INFO] [stdout] --> src/elements.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{event, Context, ContextBuilder, GameResult, graphics}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `draw_mode` [INFO] [stdout] --> src/game.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let draw_mode = graphics::DrawMode::Fill(graphics::FillOptions::default()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_draw_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/elements.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/elements.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | for i in 1..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_score` is never used [INFO] [stdout] --> src/game.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn draw_score(&self, ctx: &mut Context) -> GameResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_score` is never used [INFO] [stdout] --> src/game.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn draw_score(&self, ctx: &mut Context) -> GameResult<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | (*wall).draw(ctx); [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] 92 | let _ = (*wall).draw(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | self.draw_superpower_left(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = self.draw_superpower_left(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | self.draw_apples_for_superpower_left(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.draw_apples_for_superpower_left(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | ggez::graphics::present(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = ggez::graphics::present(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | (*wall).draw(ctx); [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] 92 | let _ = (*wall).draw(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | self.draw_superpower_left(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 96 | let _ = self.draw_superpower_left(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | self.draw_apples_for_superpower_left(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = self.draw_apples_for_superpower_left(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | ggez::graphics::present(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 101 | let _ = ggez::graphics::present(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::{event, Context, ContextBuilder, GameResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::{event, Context, ContextBuilder, GameResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/elements_test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | snake.update(&fruit, &walls); [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] 9 | let _ = snake.update(&fruit, &walls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/elements_test.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | snake.update(&fruit, &walls); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 20 | let _ = snake.update(&fruit, &walls); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.01s [INFO] running `Command { std: "docker" "inspect" "6f4da669057d70874789ef53472cd7f0f290821c4266d37b9ae37c1a5a6adbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f4da669057d70874789ef53472cd7f0f290821c4266d37b9ae37c1a5a6adbe1", kill_on_drop: false }` [INFO] [stdout] 6f4da669057d70874789ef53472cd7f0f290821c4266d37b9ae37c1a5a6adbe1 [INFO] checking BoyanVD/rust-snake against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoyanVD%2Frust-snake" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BoyanVD/rust-snake on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BoyanVD/rust-snake [INFO] finished tweaking git repo https://github.com/BoyanVD/rust-snake [INFO] tweaked toml for git repo https://github.com/BoyanVD/rust-snake written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BoyanVD/rust-snake 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0ccc1b8dc1b24695a417980a608bd13c6af7093fa039e230b8d261ae7b21e34 [INFO] running `Command { std: "docker" "start" "-a" "a0ccc1b8dc1b24695a417980a608bd13c6af7093fa039e230b8d261ae7b21e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ccc1b8dc1b24695a417980a608bd13c6af7093fa039e230b8d261ae7b21e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ccc1b8dc1b24695a417980a608bd13c6af7093fa039e230b8d261ae7b21e34", kill_on_drop: false }` [INFO] [stdout] a0ccc1b8dc1b24695a417980a608bd13c6af7093fa039e230b8d261ae7b21e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 277d382a7f644286dec5a5bb6de6ec7e2da78a4e6a9504477dcd772d97e8ca0e [INFO] running `Command { std: "docker" "start" "-a" "277d382a7f644286dec5a5bb6de6ec7e2da78a4e6a9504477dcd772d97e8ca0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crossbeam-utils-0.8.11/src/sync/parker.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | / match self.state.swap(EMPTY, SeqCst) { [INFO] [stdout] 369 | | NOTIFIED | PARKED => return, [INFO] [stdout] 370 | | n => panic!("inconsistent park_timeout state: {}", n), [INFO] [stdout] 371 | | }; [INFO] [stdout] | |_________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling camino v1.1.1 [INFO] [stderr] Compiling unicase v2.6.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 E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crossbeam-utils` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "277d382a7f644286dec5a5bb6de6ec7e2da78a4e6a9504477dcd772d97e8ca0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277d382a7f644286dec5a5bb6de6ec7e2da78a4e6a9504477dcd772d97e8ca0e", kill_on_drop: false }` [INFO] [stdout] 277d382a7f644286dec5a5bb6de6ec7e2da78a4e6a9504477dcd772d97e8ca0e