[INFO] cloning repository https://github.com/HARD-DEV/Flappy-Pombo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HARD-DEV/Flappy-Pombo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHARD-DEV%2FFlappy-Pombo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHARD-DEV%2FFlappy-Pombo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f721e76029719a3e38621da12fa049059550e94 [INFO] checking HARD-DEV/Flappy-Pombo against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHARD-DEV%2FFlappy-Pombo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HARD-DEV/Flappy-Pombo [INFO] finished tweaking git repo https://github.com/HARD-DEV/Flappy-Pombo [INFO] tweaked toml for git repo https://github.com/HARD-DEV/Flappy-Pombo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HARD-DEV/Flappy-Pombo on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HARD-DEV/Flappy-Pombo 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking HARD-DEV/Flappy-Pombo against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHARD-DEV%2FFlappy-Pombo" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HARD-DEV/Flappy-Pombo [INFO] finished tweaking git repo https://github.com/HARD-DEV/Flappy-Pombo [INFO] tweaked toml for git repo https://github.com/HARD-DEV/Flappy-Pombo written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HARD-DEV/Flappy-Pombo on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HARD-DEV/Flappy-Pombo 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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.6 [INFO] [stderr] Downloaded macroquad v0.4.13 [INFO] [stderr] Downloaded quad-snd v0.2.8 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6282f0d3c173fdab52ae5a3894ec34f668590fc47ffea35d3a71d85b7fe54261 [INFO] running `Command { std: "docker" "start" "-a" "6282f0d3c173fdab52ae5a3894ec34f668590fc47ffea35d3a71d85b7fe54261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6282f0d3c173fdab52ae5a3894ec34f668590fc47ffea35d3a71d85b7fe54261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6282f0d3c173fdab52ae5a3894ec34f668590fc47ffea35d3a71d85b7fe54261", kill_on_drop: false }` [INFO] [stdout] 6282f0d3c173fdab52ae5a3894ec34f668590fc47ffea35d3a71d85b7fe54261 [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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a79abe26a88fdc15919acfb17155c7122f736945058a916002d4efcd58ca145b [INFO] running `Command { std: "docker" "start" "-a" "a79abe26a88fdc15919acfb17155c7122f736945058a916002d4efcd58ca145b", kill_on_drop: false }` [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking miniz_oxide v0.8.4 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Compiling miniquad v0.4.6 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking macroquad v0.4.13 [INFO] [stderr] Checking flappy_pombo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `code` [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | Copy code [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `code` [INFO] [stdout] --> src/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | Copy code [INFO] [stdout] | ^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cloud::CloudManager` [INFO] [stdout] --> src/components/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use cloud::CloudManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CloudManager` in `components::cloud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cloud::CloudManager` [INFO] [stdout] --> src/components/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use cloud::CloudManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `CloudManager` in `components::cloud` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | x: rng.gen_range(screen_width()..screen_width() + 500.0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | x: rng.gen_range(screen_width()..screen_width() + 500.0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | self.x = screen_width() + rng.gen_range(100.0..400.0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | x: rng.gen_range(screen_width()..screen_width() + 500.0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | x: rng.gen_range(screen_width()..screen_width() + 500.0), [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/components/cloud.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | self.x = screen_width() + rng.gen_range(100.0..400.0); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use crate::screen_width; [INFO] [stdout] | [INFO] [stdout] 1 + use macroquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlaySoundParams`, `load_sound`, and `play_sound` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::audio::{load_sound, play_sound, PlaySoundParams}; use macroquad::color::{YELLOW, WHITE, SKYBLUE}; use macroquad::input... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SKYBLUE`, `WHITE`, and `YELLOW` [INFO] [stdout] --> src/main.rs:1:89 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::audio::{load_sound, play_sound, PlaySoundParams}; use macroquad::color::{YELLOW, WHITE, SKYBLUE}; use macroquad::input... [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `is_key_pressed` [INFO] [stdout] --> src/main.rs:1:137 [INFO] [stdout] | [INFO] [stdout] 1 | ...or::{YELLOW, WHITE, SKYBLUE}; use macroquad::input::{is_key_pressed, KeyCode}; use macroquad::prelude::{ draw_text, next_frame, cl... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clear_background`, `draw_circle`, `draw_rectangle`, `draw_text`, `next_frame`, `screen_height`, and `screen_width` [INFO] [stdout] --> src/main.rs:1:189 [INFO] [stdout] | [INFO] [stdout] 1 | ...uad::prelude::{ draw_text, next_frame, clear_background, screen_width, screen_height, draw_circle, draw_rectangle, load_texture };... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::audio::stop_sound` [INFO] [stdout] --> src/main.rs:1:308 [INFO] [stdout] | [INFO] [stdout] 1 | ..., draw_circle, draw_rectangle, load_texture }; use macroquad::audio::stop_sound; use macroquad::texture::{DrawTextureParams, Textu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawTextureParams` and `Texture2D` [INFO] [stdout] --> src/main.rs:1:363 [INFO] [stdout] | [INFO] [stdout] 1 | ...oquad::audio::stop_sound; use macroquad::texture::{DrawTextureParams, Texture2D}; use components::{Bird, Pipe, Background, CloudMa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Background`, `Bird`, and `Pipe` [INFO] [stdout] --> src/main.rs:1:411 [INFO] [stdout] | [INFO] [stdout] 1 | ...ure::{DrawTextureParams, Texture2D}; use components::{Bird, Pipe, Background, CloudManager}; use rand::{thread_rng, Rng}; mod comp... [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/main.rs:1:461 [INFO] [stdout] | [INFO] [stdout] 1 | ...ents::{Bird, Pipe, Background, CloudManager}; use rand::{thread_rng, Rng}; mod components; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WHITE` and `screen_width` [INFO] [stdout] --> src/components/pipe.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::prelude::{draw_rectangle, screen_height, screen_width, GREEN, WHITE}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::DrawTextureParams` [INFO] [stdout] --> src/components/cloud.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::texture::DrawTextureParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlaySoundParams`, `load_sound`, and `play_sound` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::audio::{load_sound, play_sound, PlaySoundParams}; use macroquad::color::{YELLOW, WHITE, SKYBLUE}; use macroquad::input... [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SKYBLUE`, `WHITE`, and `YELLOW` [INFO] [stdout] --> src/main.rs:1:89 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::audio::{load_sound, play_sound, PlaySoundParams}; use macroquad::color::{YELLOW, WHITE, SKYBLUE}; use macroquad::input... [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode` and `is_key_pressed` [INFO] [stdout] --> src/main.rs:1:137 [INFO] [stdout] | [INFO] [stdout] 1 | ...or::{YELLOW, WHITE, SKYBLUE}; use macroquad::input::{is_key_pressed, KeyCode}; use macroquad::prelude::{ draw_text, next_frame, cl... [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clear_background`, `draw_circle`, `draw_rectangle`, `draw_text`, `next_frame`, `screen_height`, and `screen_width` [INFO] [stdout] --> src/main.rs:1:189 [INFO] [stdout] | [INFO] [stdout] 1 | ...uad::prelude::{ draw_text, next_frame, clear_background, screen_width, screen_height, draw_circle, draw_rectangle, load_texture };... [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::audio::stop_sound` [INFO] [stdout] --> src/main.rs:1:308 [INFO] [stdout] | [INFO] [stdout] 1 | ..., draw_circle, draw_rectangle, load_texture }; use macroquad::audio::stop_sound; use macroquad::texture::{DrawTextureParams, Textu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DrawTextureParams` and `Texture2D` [INFO] [stdout] --> src/main.rs:1:363 [INFO] [stdout] | [INFO] [stdout] 1 | ...oquad::audio::stop_sound; use macroquad::texture::{DrawTextureParams, Texture2D}; use components::{Bird, Pipe, Background, CloudMa... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Background`, `Bird`, and `Pipe` [INFO] [stdout] --> src/main.rs:1:411 [INFO] [stdout] | [INFO] [stdout] 1 | ...ure::{DrawTextureParams, Texture2D}; use components::{Bird, Pipe, Background, CloudManager}; use rand::{thread_rng, Rng}; mod comp... [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng` and `thread_rng` [INFO] [stdout] --> src/main.rs:1:461 [INFO] [stdout] | [INFO] [stdout] 1 | ...ents::{Bird, Pipe, Background, CloudManager}; use rand::{thread_rng, Rng}; mod components; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WHITE` and `screen_width` [INFO] [stdout] --> src/components/pipe.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use macroquad::prelude::{draw_rectangle, screen_height, screen_width, GREEN, WHITE}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture::DrawTextureParams` [INFO] [stdout] --> src/components/cloud.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::texture::DrawTextureParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/bird.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 14 | draw_texture_ex( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 15 | *texture, [INFO] [stdout] | ^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/macroquad-0.4.13/src/texture.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing deref here [INFO] [stdout] | [INFO] [stdout] 15 - *texture, [INFO] [stdout] 15 + texture, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/bird.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 14 | draw_texture_ex( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] 15 | *texture, [INFO] [stdout] | ^^^^^^^^ expected `&Texture2D`, found `Texture2D` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/macroquad-0.4.13/src/texture.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing deref here [INFO] [stdout] | [INFO] [stdout] 15 - *texture, [INFO] [stdout] 15 + texture, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/cloud.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 49 | draw_texture_ex( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 54 | / vec2( [INFO] [stdout] 55 | | self.texture.width() * self.scale, [INFO] [stdout] 56 | | self.texture.height() * self.scale, [INFO] [stdout] 57 | | ), [INFO] [stdout] | |_____________^ expected `DrawTextureParams`, found `Vec2` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/macroquad-0.4.13/src/texture.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jump_sound` [INFO] [stdout] --> src/components/bird.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(&mut self, jump_sound: ¯oquad::audio::Sound) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jump_sound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/components/cloud.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 49 | draw_texture_ex( [INFO] [stdout] | --------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 54 | / vec2( [INFO] [stdout] 55 | | self.texture.width() * self.scale, [INFO] [stdout] 56 | | self.texture.height() * self.scale, [INFO] [stdout] 57 | | ), [INFO] [stdout] | |_____________^ expected `DrawTextureParams`, found `Vec2` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/macroquad-0.4.13/src/texture.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn draw_texture_ex( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `jump_sound` [INFO] [stdout] --> src/components/bird.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn update(&mut self, jump_sound: ¯oquad::audio::Sound) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_jump_sound` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flappy_pombo` (bin "flappy_pombo") due to 7 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flappy_pombo` (bin "flappy_pombo" test) due to 7 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a79abe26a88fdc15919acfb17155c7122f736945058a916002d4efcd58ca145b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79abe26a88fdc15919acfb17155c7122f736945058a916002d4efcd58ca145b", kill_on_drop: false }` [INFO] [stdout] a79abe26a88fdc15919acfb17155c7122f736945058a916002d4efcd58ca145b