[INFO] cloning repository https://github.com/lislis/workshop-rust-games [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lislis/workshop-rust-games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a850e60f6ef0436ec45cebec97e06e13bc294ce [INFO] building lislis/workshop-rust-games against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lislis/workshop-rust-games [INFO] finished tweaking git repo https://github.com/lislis/workshop-rust-games [INFO] tweaked toml for git repo https://github.com/lislis/workshop-rust-games written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lislis/workshop-rust-games on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lislis/workshop-rust-games 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded ogg v0.7.0 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.3 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.3 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded gl_generator v0.11.0 [INFO] [stderr] Downloaded gleam v0.6.19 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.5 [INFO] [stderr] Downloaded image v0.22.2 [INFO] [stderr] Downloaded constant_time_eq v0.1.4 [INFO] [stderr] Downloaded arrayref v0.3.5 [INFO] [stderr] Downloaded blake2b_simd v0.5.8 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.51 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen v0.2.51 [INFO] [stderr] Downloaded glyph_brush v0.6.0 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] [stderr] Downloaded gfx v0.18.2 [INFO] [stderr] Downloaded claxon v0.4.2 [INFO] [stderr] Downloaded lyon_geom v0.12.7 [INFO] [stderr] Downloaded bindgen v0.51.1 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded aho-corasick v0.7.6 [INFO] [stderr] Downloaded lyon_tessellation v0.13.5 [INFO] [stderr] Downloaded backtrace v0.3.38 [INFO] [stderr] Downloaded smithay-client-toolkit v0.4.6 [INFO] [stderr] Downloaded winit v0.19.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.51 [INFO] [stderr] Downloaded lewton v0.9.4 [INFO] [stderr] Downloaded ryu v1.0.0 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.3 [INFO] [stderr] Downloaded toml v0.5.3 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded matrixmultiply v0.2.3 [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded ggez v0.5.1 [INFO] [stderr] Downloaded error-chain v0.12.1 [INFO] [stderr] Downloaded serde_json v1.0.40 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded stb_truetype v0.3.0 [INFO] [stderr] Downloaded wayland-commons v0.21.13 [INFO] [stderr] Downloaded zip v0.5.3 [INFO] [stderr] Downloaded alga v0.9.1 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded stdweb v0.4.19 [INFO] [stderr] Downloaded glyph_brush_layout v0.1.8 [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded lyon_path v0.13.2 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded serde v1.0.101 [INFO] [stderr] Downloaded memoffset v0.5.1 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded num_cpus v1.10.1 [INFO] [stderr] Downloaded gilrs v0.7.2 [INFO] [stderr] Downloaded lyon v0.13.5 [INFO] [stderr] Downloaded core-foundation-sys v0.5.1 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded cpal v0.8.2 [INFO] [stderr] Downloaded minimp3-sys v0.3.1 [INFO] [stderr] Downloaded minimp3 v0.3.3 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded objc v0.2.6 [INFO] [stderr] Downloaded arrayvec v0.5.0 [INFO] [stderr] Downloaded arrayvec v0.4.11 [INFO] [stderr] Downloaded crossbeam-utils v0.6.6 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded rusttype v0.8.1 [INFO] [stderr] Downloaded wayland-scanner v0.21.13 [INFO] [stderr] Downloaded wayland-sys v0.21.13 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded podio v0.1.6 [INFO] [stderr] Downloaded mint v0.5.3 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded lyon_algorithms v0.13.4 [INFO] [stderr] Downloaded sid v0.5.2 [INFO] [stderr] Downloaded cexpr v0.3.5 [INFO] [stderr] Downloaded coreaudio-sys v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.4 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded smart-default v0.5.2 [INFO] [stderr] Downloaded smallvec v0.6.10 [INFO] [stderr] Downloaded wayland-protocols v0.21.13 [INFO] [stderr] Downloaded downcast-rs v1.0.4 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded wayland-client v0.21.13 [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded bzip2 v0.3.3 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded glyph_brush v0.5.4 [INFO] [stderr] Downloaded adler32 v1.0.4 [INFO] [stderr] Downloaded slice-deque v0.2.4 [INFO] [stderr] Downloaded serde_derive v1.0.101 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded cocoa v0.18.4 [INFO] [stderr] Downloaded lock_api v0.3.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.2 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded redox_users v0.3.1 [INFO] [stderr] Downloaded dirs-sys v0.3.4 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded gfx_gl v0.6.0 [INFO] [stderr] Downloaded stdweb-derive v0.5.2 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.8 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.51 [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded rodio v0.9.0 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded glutin v0.20.1 [INFO] [stderr] Downloaded xi-unicode v0.2.0 [INFO] [stderr] Downloaded bzip2-sys v0.1.7 [INFO] [stderr] Downloaded typenum v1.11.2 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded rust-argon2 v0.5.1 [INFO] [stderr] Downloaded gfx_window_glutin v0.30.0 [INFO] [stderr] Downloaded gilrs-core v0.2.4 [INFO] [stderr] Downloaded base-x v0.2.5 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.51 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded backtrace-sys v0.1.31 [INFO] [stderr] Downloaded nalgebra v0.18.1 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 288853439f645ec826aef00b53d46125f7739475245009cf9b9a5622b55c498a [INFO] running `Command { std: "docker" "start" "-a" "288853439f645ec826aef00b53d46125f7739475245009cf9b9a5622b55c498a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "288853439f645ec826aef00b53d46125f7739475245009cf9b9a5622b55c498a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "288853439f645ec826aef00b53d46125f7739475245009cf9b9a5622b55c498a", kill_on_drop: false }` [INFO] [stdout] 288853439f645ec826aef00b53d46125f7739475245009cf9b9a5622b55c498a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c388a0d15975771a23fea23d799e4c5fa417b171564a51b799810e38ea37ea [INFO] running `Command { std: "docker" "start" "-a" "f0c388a0d15975771a23fea23d799e4c5fa417b171564a51b799810e38ea37ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling arrayvec v0.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling downcast-rs v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling xi-unicode v0.2.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling alga v0.9.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling slice-deque v0.2.4 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling mint v0.5.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling minimp3 v0.3.3 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling glyph_brush v0.6.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.16 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling claxon v0.4.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling zip v0.5.3 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling gilrs-core v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling gilrs v0.7.2 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling image v0.22.2 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.3 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling crab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::SoundSource; [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 import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/game/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::game::claw::{Directions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_1` [INFO] [stdout] --> src/game/state.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let score_1 = graphics::Text::new((format!("Player 1: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_2` [INFO] [stdout] --> src/game/state.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score_2 = graphics::Text::new((format!("Player 2: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/state.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render_ui(&self, ctx: &mut Context) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/game/state.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let c1 = self.player1.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/game/state.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let c2 = self.player2.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_screen` [INFO] [stdout] --> src/game/crab.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, _max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SNACK_W` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] 29 + pub fn update(&mut self, game::config::SNACK_W: f32) -> GameResult<&Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/crab.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/crab.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_loc` [INFO] [stdout] --> src/game/player.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, new_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/player.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 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: `img` [INFO] [stdout] --> src/game/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/player.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_loc` [INFO] [stdout] --> src/game/claw.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/claw.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/claw.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/claw.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/snacks.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/snacks.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/game/snacks.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/game/snacks.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(_num: usize) -> Vec { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_SNACKS` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] 59 + pub fn spawn_snacks(game::config::NUM_SNACKS: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | keycode: KeyCode, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> src/game/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNACK_W` is never used [INFO] [stdout] --> src/game/config.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SNACK_W: f32 = 40.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `w`, and `s` are never read [INFO] [stdout] --> src/game/crab.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Crab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | pub location: Point2, [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | s: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_score` and `movedir` are never used [INFO] [stdout] --> src/game/player.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn increase_score(&mut self) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Directions` is never used [INFO] [stdout] --> src/game/claw.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Directions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location`, `body_anchor`, `joint_anchor`, `w`, `h`, and `s` are never read [INFO] [stdout] --> src/game/claw.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Claw { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | pub location: Point2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | body_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | joint_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 22 | h: f32, [INFO] [stdout] | ^ [INFO] [stdout] 23 | s: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `draw`, and `movedir` are never used [INFO] [stdout] --> src/game/claw.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Claw { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_image`, `bg_sound`, and `snap_sound` are never read [INFO] [stdout] --> src/game/assets.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Assets { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub bg_image: graphics::Image, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub bg_sound: audio::Source, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub snap_sound: audio::Source, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location`, `velocity`, `w`, and `active` are never read [INFO] [stdout] --> src/game/snacks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Snack { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | location: Point2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | active: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `collides_with` are never used [INFO] [stdout] --> src/game/snacks.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Snack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | fn new () -> GameResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "f0c388a0d15975771a23fea23d799e4c5fa417b171564a51b799810e38ea37ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c388a0d15975771a23fea23d799e4c5fa417b171564a51b799810e38ea37ea", kill_on_drop: false }` [INFO] [stdout] f0c388a0d15975771a23fea23d799e4c5fa417b171564a51b799810e38ea37ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 615af0e525daf19dac00e3abde82b058a175f14a89b4fee0696a0242f7c904d4 [INFO] running `Command { std: "docker" "start" "-a" "615af0e525daf19dac00e3abde82b058a175f14a89b4fee0696a0242f7c904d4", kill_on_drop: false }` [INFO] [stderr] Compiling crab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::SoundSource; [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 import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/game/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::game::claw::{Directions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_1` [INFO] [stdout] --> src/game/state.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let score_1 = graphics::Text::new((format!("Player 1: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_2` [INFO] [stdout] --> src/game/state.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score_2 = graphics::Text::new((format!("Player 2: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/state.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render_ui(&self, ctx: &mut Context) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/game/state.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let c1 = self.player1.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/game/state.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let c2 = self.player2.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_screen` [INFO] [stdout] --> src/game/crab.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, _max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `SNACK_W` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] 29 + pub fn update(&mut self, game::config::SNACK_W: f32) -> GameResult<&Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/crab.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/crab.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_loc` [INFO] [stdout] --> src/game/player.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, new_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/player.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | 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: `img` [INFO] [stdout] --> src/game/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/player.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_loc` [INFO] [stdout] --> src/game/claw.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/claw.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/claw.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/claw.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/snacks.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/snacks.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/game/snacks.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/game/snacks.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(_num: usize) -> Vec { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_SNACKS` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] 59 + pub fn spawn_snacks(game::config::NUM_SNACKS: usize) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | keycode: KeyCode, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Point2` is never used [INFO] [stdout] --> src/game/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SNACK_W` is never used [INFO] [stdout] --> src/game/config.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SNACK_W: f32 = 40.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `w`, and `s` are never read [INFO] [stdout] --> src/game/crab.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Crab { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 12 | pub location: Point2, [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | s: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increase_score` and `movedir` are never used [INFO] [stdout] --> src/game/player.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn increase_score(&mut self) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Directions` is never used [INFO] [stdout] --> src/game/claw.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Directions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location`, `body_anchor`, `joint_anchor`, `w`, `h`, and `s` are never read [INFO] [stdout] --> src/game/claw.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Claw { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | pub location: Point2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | body_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | joint_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 22 | h: f32, [INFO] [stdout] | ^ [INFO] [stdout] 23 | s: f32 [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `draw`, and `movedir` are never used [INFO] [stdout] --> src/game/claw.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Claw { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bg_image`, `bg_sound`, and `snap_sound` are never read [INFO] [stdout] --> src/game/assets.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Assets { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub bg_image: graphics::Image, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub bg_sound: audio::Source, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | pub snap_sound: audio::Source, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `location`, `velocity`, `w`, and `active` are never read [INFO] [stdout] --> src/game/snacks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Snack { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 12 | location: Point2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^ [INFO] [stdout] 15 | active: bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `collides_with` are never used [INFO] [stdout] --> src/game/snacks.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Snack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 19 | fn new () -> GameResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "615af0e525daf19dac00e3abde82b058a175f14a89b4fee0696a0242f7c904d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "615af0e525daf19dac00e3abde82b058a175f14a89b4fee0696a0242f7c904d4", kill_on_drop: false }` [INFO] [stdout] 615af0e525daf19dac00e3abde82b058a175f14a89b4fee0696a0242f7c904d4