[INFO] cloning repository https://github.com/prix0007/walk_the_dog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/prix0007/walk_the_dog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprix0007%2Fwalk_the_dog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprix0007%2Fwalk_the_dog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 949efe92e67d52963a4f0efc9319c2dfd6458874 [INFO] checking prix0007/walk_the_dog against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprix0007%2Fwalk_the_dog" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/prix0007/walk_the_dog on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/prix0007/walk_the_dog [INFO] finished tweaking git repo https://github.com/prix0007/walk_the_dog [INFO] tweaked toml for git repo https://github.com/prix0007/walk_the_dog written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/prix0007/walk_the_dog 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b14f3039e4be5ea252e8318137c849f54e1c04a261eeeb1a17a5f494dbab1d6a [INFO] running `Command { std: "docker" "start" "-a" "b14f3039e4be5ea252e8318137c849f54e1c04a261eeeb1a17a5f494dbab1d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b14f3039e4be5ea252e8318137c849f54e1c04a261eeeb1a17a5f494dbab1d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14f3039e4be5ea252e8318137c849f54e1c04a261eeeb1a17a5f494dbab1d6a", kill_on_drop: false }` [INFO] [stdout] b14f3039e4be5ea252e8318137c849f54e1c04a261eeeb1a17a5f494dbab1d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90f419c75e6fd816384451a14e9478da63c574b2ef6c13dc60def7f2dab68c50 [INFO] running `Command { std: "docker" "start" "-a" "90f419c75e6fd816384451a14e9478da63c574b2ef6c13dc60def7f2dab68c50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.32 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Checking js-sys v0.3.59 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.32 [INFO] [stderr] Checking web-sys v0.3.59 [INFO] [stderr] Checking wasm-bindgen-test v0.3.32 [INFO] [stderr] Checking walk-the-dog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `engine::Audio` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::Audio; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Image` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use engine::Image; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::KeyState` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Point` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::Point; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Rect` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::Rect; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::SpriteSheet` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::SpriteSheet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::rightmost` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use game::rightmost; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Barrier` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use game::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Obstacle` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use game::Obstacle; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Platform` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use game::Platform; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::RedHatBoy` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use game::RedHatBoy; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `segments::platform_and_stone` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use segments::platform_and_stone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `segments::stone_and_platform` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use segments::stone_and_platform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::HtmlImageElement` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use web_sys::HtmlImageElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Game` and `Renderer` [INFO] [stdout] --> src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::engine::{Game, Renderer}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Audio` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use engine::Audio; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Image` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use engine::Image; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::KeyState` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::KeyState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Point` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::Point; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::Rect` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::Rect; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::SpriteSheet` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use engine::SpriteSheet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::rightmost` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use game::rightmost; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Barrier` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use game::Barrier; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Obstacle` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use game::Obstacle; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Platform` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use game::Platform; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::RedHatBoy` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use game::RedHatBoy; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `segments::platform_and_stone` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use segments::platform_and_stone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `segments::stone_and_platform` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use segments::stone_and_platform; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::HtmlImageElement` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use web_sys::HtmlImageElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_test::wasm_bindgen_test` [INFO] [stdout] --> src/game.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | use wasm_bindgen_test::wasm_bindgen_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Game` and `Renderer` [INFO] [stdout] --> src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::engine::{Game, Renderer}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | use anyhow::{anyhow, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slide` is never used [INFO] [stdout] --> src/game.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl RedHatBoy { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn slide(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slide` is never constructed [INFO] [stdout] --> src/game.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 223 | Run, [INFO] [stdout] 224 | Slide, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH_PLATFORM` is never used [INFO] [stdout] --> src/segments.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const HIGH_PLATFORM: i16 = 375; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/engine.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | self.pressed_keys.remove(code.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | (platform.frame.w * 3).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | platform.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | platform.frame.x.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | platform.frame.y.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | (platform.frame.w * 3).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | platform.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | sprite.frame.x.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | sprite.frame.y.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | / (self.state_machine.context().position().x [INFO] [stdout] 117 | | + sprite.sprite_source_size.x as i16) [INFO] [stdout] 118 | | .into(), [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | / (self.state_machine.context().position().y [INFO] [stdout] 120 | | + sprite.sprite_source_size.y as i16) [INFO] [stdout] 121 | | .into(), [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | (self.state_machine.context().position().x + sprite.sprite_source_size.x as i16).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | (self.state_machine.context().position().y + sprite.sprite_source_size.y as i16).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:608:55 [INFO] [stdout] | [INFO] [stdout] 608 | JumpingEndState::Landing(self.land_on(HEIGHT.into())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:479:35 [INFO] [stdout] | [INFO] [stdout] 479 | &format!("Frame Rate {}", FRAME_RATE), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walk-the-dog` (lib) due to 20 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `slide` is never used [INFO] [stdout] --> src/game.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl RedHatBoy { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn slide(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Slide` is never constructed [INFO] [stdout] --> src/game.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 222 | pub enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 223 | Run, [INFO] [stdout] 224 | Slide, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_transition_from_game_over_to_new_game` is never used [INFO] [stdout] --> src/game.rs:1160:8 [INFO] [stdout] | [INFO] [stdout] 1160 | fn test_transition_from_game_over_to_new_game() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HIGH_PLATFORM` is never used [INFO] [stdout] --> src/segments.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const HIGH_PLATFORM: i16 = 375; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> src/engine.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | self.pressed_keys.remove(code.into()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walk-the-dog` (lib test) due to 20 previous errors; 28 warnings emitted [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | (platform.frame.w * 3).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | platform.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | platform.frame.x.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | platform.frame.y.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | (platform.frame.w * 3).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | platform.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | sprite.frame.x.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | sprite.frame.y.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:112:21 [INFO] [stdout] | [INFO] [stdout] 112 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | / (self.state_machine.context().position().x [INFO] [stdout] 117 | | + sprite.sprite_source_size.x as i16) [INFO] [stdout] 118 | | .into(), [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | / (self.state_machine.context().position().y [INFO] [stdout] 120 | | + sprite.sprite_source_size.y as i16) [INFO] [stdout] 121 | | .into(), [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | (self.state_machine.context().position().x + sprite.sprite_source_size.x as i16).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | (self.state_machine.context().position().y + sprite.sprite_source_size.y as i16).into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | sprite.frame.w.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | sprite.frame.h.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `i16` to `i16` [INFO] [stdout] --> src/game.rs:608:55 [INFO] [stdout] | [INFO] [stdout] 608 | JumpingEndState::Landing(self.land_on(HEIGHT.into())) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/engine.rs:479:35 [INFO] [stdout] | [INFO] [stdout] 479 | &format!("Frame Rate {}", FRAME_RATE), [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "90f419c75e6fd816384451a14e9478da63c574b2ef6c13dc60def7f2dab68c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f419c75e6fd816384451a14e9478da63c574b2ef6c13dc60def7f2dab68c50", kill_on_drop: false }` [INFO] [stdout] 90f419c75e6fd816384451a14e9478da63c574b2ef6c13dc60def7f2dab68c50