[INFO] cloning repository https://github.com/bestform/macrothree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bestform/macrothree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbestform%2Fmacrothree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbestform%2Fmacrothree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ff5f5e060a23d4f7e3139c2236d2c23c3b4dd6e [INFO] testing bestform/macrothree against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbestform%2Fmacrothree" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bestform/macrothree on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bestform/macrothree [INFO] finished tweaking git repo https://github.com/bestform/macrothree [INFO] tweaked toml for git repo https://github.com/bestform/macrothree written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/bestform/macrothree already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/not-fl3/macroquad` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] [stderr] Downloaded ureq v0.11.4 [INFO] [stderr] Downloaded minimp3 v0.5.0 [INFO] [stderr] Downloaded cesu8 v1.1.0 [INFO] [stderr] Downloaded darling_core v0.10.3 [INFO] [stderr] Downloaded chunked_transfer v1.3.0 [INFO] [stderr] Downloaded ascii v0.9.3 [INFO] [stderr] Downloaded alsa-sys v0.3.0 [INFO] [stderr] Downloaded sapp-wasm v0.1.19 [INFO] [stderr] Downloaded quad-rand v0.1.1 [INFO] [stderr] Downloaded combine v3.8.1 [INFO] [stderr] Downloaded ahash v0.3.8 [INFO] [stderr] Downloaded glam v0.10.2 [INFO] [stderr] Downloaded combine v4.4.0 [INFO] [stderr] Downloaded rustls v0.16.0 [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded sapp-dummy v0.1.4 [INFO] [stderr] Downloaded sapp-windows v0.2.13 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded qstring v0.7.2 [INFO] [stderr] Downloaded miniquad v0.3.0-alpha.24 [INFO] [stderr] Downloaded cpal v0.13.1 [INFO] [stderr] Downloaded webpki-roots v0.18.0 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded alsa v0.4.3 [INFO] [stderr] Downloaded jni v0.17.0 [INFO] [stderr] Downloaded cookie v0.12.0 [INFO] [stderr] Downloaded ttf-parser v0.8.3 [INFO] [stderr] Downloaded fontdue v0.4.0 [INFO] [stderr] Downloaded hashbrown v0.8.2 [INFO] [stderr] Downloaded sapp-darwin v0.1.3 [INFO] [stderr] Downloaded sapp-ios v0.1.1 [INFO] [stderr] Downloaded rodio v0.13.0 [INFO] [stderr] Downloaded nix v0.15.0 [INFO] [stderr] Downloaded sapp-android v0.1.4 [INFO] [stderr] Downloaded jni v0.14.0 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded darling_macro v0.10.3 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded rle-decode-fast v1.0.1 [INFO] [stderr] Downloaded libflate v0.1.27 [INFO] [stderr] Downloaded filetime v0.2.13 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded tar v0.4.30 [INFO] [stderr] Downloaded sct v0.6.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.1 [INFO] [stderr] Downloaded oboe v0.3.1 [INFO] [stderr] Downloaded oboe-sys v0.3.0 [INFO] [stderr] Downloaded fetch_unroll v0.2.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.22 [INFO] [stderr] Downloaded thiserror v1.0.22 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] [stderr] Downloaded ring v0.16.19 [INFO] [stderr] Downloaded sapp-linux v0.1.10 [INFO] [stderr] Downloaded darling v0.10.3 [INFO] [stderr] Downloaded smallvec v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32adba7c839f97f48a59bd445b506930fe00e001a790cfa64a7ce928e678711c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32adba7c839f97f48a59bd445b506930fe00e001a790cfa64a7ce928e678711c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32adba7c839f97f48a59bd445b506930fe00e001a790cfa64a7ce928e678711c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32adba7c839f97f48a59bd445b506930fe00e001a790cfa64a7ce928e678711c", kill_on_drop: false }` [INFO] [stdout] 32adba7c839f97f48a59bd445b506930fe00e001a790cfa64a7ce928e678711c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b30d1887ca7e9b66c55ff544ed7247c4af678270e76ba7be225538139e406bc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b30d1887ca7e9b66c55ff544ed7247c4af678270e76ba7be225538139e406bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling sapp-linux v0.1.10 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling ttf-parser v0.8.3 [INFO] [stderr] Compiling quad-rand v0.1.1 [INFO] [stderr] Compiling macroquad_macro v0.1.2 (https://github.com/not-fl3/macroquad?branch=master#6d6f74ae) [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling minimp3 v0.5.0 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.24 [INFO] [stderr] Compiling quad-gl v0.2.13 (https://github.com/not-fl3/macroquad?branch=master#6d6f74ae) [INFO] [stderr] Compiling macroquad v0.3.0-alpha.14 (https://github.com/not-fl3/macroquad?branch=master#6d6f74ae) [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling rodio v0.13.0 [INFO] [stderr] Compiling macrothree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PLAYER_SIZE` [INFO] [stdout] --> src/physics.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ENEMY_SIZE, Particle, PLAYER_SIZE, PLAYER_COLLISION}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | particle.pos.x(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | particle.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | star.pos.x(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | star.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | enemy.pos.x() - ENEMY_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | enemy.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | enemy.pos.x() - bar_width / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | enemy.pos.y() - ENEMY_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | enemy.pos.x() - bar_width / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | enemy.pos.y() - ENEMY_SIZE / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | bullet.pos.x() - BULLET_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | bullet.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | bullet.pos.x() - ENEMY_BULLET_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | bullet.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | self.player.pos.x() - PLAYER_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | self.player.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | self.player.pos.x() - bar_width / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | self.player.pos.y() + PLAYER_SIZE, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | self.player.pos.x() - bar_width / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | self.player.pos.y() + PLAYER_SIZE + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | if pos.x() < min { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | new_pos.set_x(min); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | if pos.x() > max { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | new_pos.set_x(max); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if pos.y() < min { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | new_pos.set_y(min); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if pos.y() > max { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | new_pos.set_y(max); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | self.stars.retain(|s| s.pos.y() < screen_height()); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | self.enemies.retain(|enemy| enemy.pos.y() < screen_height() && enemy.hitpoints > 0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | self.particles.retain(|particle| particle.pos.y() < screen_height() && frame_t - particle.created_at < PARTICLE_LIFETIME); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | self.bullets.retain(|bullet| bullet.pos.y() > 0. && bullet.alive); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | self.enemy_bullets.retain(|bullet| bullet.pos.y() < screen_height() && bullet.alive); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/game.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | PlayerMovementState::LEFT => { self.player.vel.set_x(-1. * PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/game.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | PlayerMovementState::RIGHT => { self.player.vel.set_x(PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/game.rs:110:62 [INFO] [stdout] | [INFO] [stdout] 110 | PlayerMovementState::UP => { self.player.vel.set_y(-1. * PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/game.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | PlayerMovementState::DOWN => { self.player.vel.set_y(PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.43s [INFO] running `Command { std: "docker" "inspect" "0b30d1887ca7e9b66c55ff544ed7247c4af678270e76ba7be225538139e406bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b30d1887ca7e9b66c55ff544ed7247c4af678270e76ba7be225538139e406bc", kill_on_drop: false }` [INFO] [stdout] 0b30d1887ca7e9b66c55ff544ed7247c4af678270e76ba7be225538139e406bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79a493b9881e95c17bd2d01b8fbe9b236785eb2962564a99adea6260e584e361 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "79a493b9881e95c17bd2d01b8fbe9b236785eb2962564a99adea6260e584e361", kill_on_drop: false }` [INFO] [stderr] Compiling macrothree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PLAYER_SIZE` [INFO] [stdout] --> src/physics.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ENEMY_SIZE, Particle, PLAYER_SIZE, PLAYER_COLLISION}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | particle.pos.x(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | particle.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | star.pos.x(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | star.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | enemy.pos.x() - ENEMY_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | enemy.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | enemy.pos.x() - bar_width / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | enemy.pos.y() - ENEMY_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 100 | enemy.pos.x() - bar_width / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | enemy.pos.y() - ENEMY_SIZE / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:113:28 [INFO] [stdout] | [INFO] [stdout] 113 | bullet.pos.x() - BULLET_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:114:28 [INFO] [stdout] | [INFO] [stdout] 114 | bullet.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:127:28 [INFO] [stdout] | [INFO] [stdout] 127 | bullet.pos.x() - ENEMY_BULLET_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | bullet.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:143:29 [INFO] [stdout] | [INFO] [stdout] 143 | self.player.pos.x() - PLAYER_SIZE / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | self.player.pos.y(), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:160:29 [INFO] [stdout] | [INFO] [stdout] 160 | self.player.pos.x() - bar_width / 2., [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | self.player.pos.y() + PLAYER_SIZE, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/renderer.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | self.player.pos.x() - bar_width / 2. + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/renderer.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | self.player.pos.y() + PLAYER_SIZE + bar_border, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | if pos.x() < min { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | new_pos.set_x(min); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | if pos.x() > max { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/math.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | new_pos.set_x(max); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | if pos.y() < min { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | new_pos.set_y(min); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if pos.y() > max { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/math.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | new_pos.set_y(max); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | self.stars.retain(|s| s.pos.y() < screen_height()); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | self.enemies.retain(|enemy| enemy.pos.y() < screen_height() && enemy.hitpoints > 0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | self.particles.retain(|particle| particle.pos.y() < screen_height() && frame_t - particle.created_at < PARTICLE_LIFETIME); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | self.bullets.retain(|bullet| bullet.pos.y() > 0. && bullet.alive); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stdout] --> src/lifetime.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | self.enemy_bullets.retain(|bullet| bullet.pos.y() < screen_height() && bullet.alive); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/game.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | PlayerMovementState::LEFT => { self.player.vel.set_x(-1. * PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stdout] --> src/game.rs:109:65 [INFO] [stdout] | [INFO] [stdout] 109 | PlayerMovementState::RIGHT => { self.player.vel.set_x(PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/game.rs:110:62 [INFO] [stdout] | [INFO] [stdout] 110 | PlayerMovementState::UP => { self.player.vel.set_y(-1. * PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stdout] --> src/game.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | PlayerMovementState::DOWN => { self.player.vel.set_y(PLAYER_SPEED); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "79a493b9881e95c17bd2d01b8fbe9b236785eb2962564a99adea6260e584e361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79a493b9881e95c17bd2d01b8fbe9b236785eb2962564a99adea6260e584e361", kill_on_drop: false }` [INFO] [stdout] 79a493b9881e95c17bd2d01b8fbe9b236785eb2962564a99adea6260e584e361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25c9417d06a739db700475d0853bf2cca166561351cb489c130fd775a7d31962 [INFO] running `Command { std: "docker" "start" "-a" "25c9417d06a739db700475d0853bf2cca166561351cb489c130fd775a7d31962", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PLAYER_SIZE` [INFO] [stderr] --> src/physics.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{ENEMY_SIZE, Particle, PLAYER_SIZE, PLAYER_COLLISION}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:33:30 [INFO] [stderr] | [INFO] [stderr] 33 | particle.pos.x(), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:34:30 [INFO] [stderr] | [INFO] [stderr] 34 | particle.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:65:26 [INFO] [stderr] | [INFO] [stderr] 65 | star.pos.x(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | star.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:78:27 [INFO] [stderr] | [INFO] [stderr] 78 | enemy.pos.x() - ENEMY_SIZE / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:79:27 [INFO] [stderr] | [INFO] [stderr] 79 | enemy.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:93:27 [INFO] [stderr] | [INFO] [stderr] 93 | enemy.pos.x() - bar_width / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:94:27 [INFO] [stderr] | [INFO] [stderr] 94 | enemy.pos.y() - ENEMY_SIZE / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:100:27 [INFO] [stderr] | [INFO] [stderr] 100 | enemy.pos.x() - bar_width / 2. + bar_border, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:101:27 [INFO] [stderr] | [INFO] [stderr] 101 | enemy.pos.y() - ENEMY_SIZE / 2. + bar_border, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:113:28 [INFO] [stderr] | [INFO] [stderr] 113 | bullet.pos.x() - BULLET_SIZE / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:114:28 [INFO] [stderr] | [INFO] [stderr] 114 | bullet.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:127:28 [INFO] [stderr] | [INFO] [stderr] 127 | bullet.pos.x() - ENEMY_BULLET_SIZE / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:128:28 [INFO] [stderr] | [INFO] [stderr] 128 | bullet.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:143:29 [INFO] [stderr] | [INFO] [stderr] 143 | self.player.pos.x() - PLAYER_SIZE / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:144:29 [INFO] [stderr] | [INFO] [stderr] 144 | self.player.pos.y(), [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:160:29 [INFO] [stderr] | [INFO] [stderr] 160 | self.player.pos.x() - bar_width / 2., [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:161:29 [INFO] [stderr] | [INFO] [stderr] 161 | self.player.pos.y() + PLAYER_SIZE, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/renderer.rs:167:29 [INFO] [stderr] | [INFO] [stderr] 167 | self.player.pos.x() - bar_width / 2. + bar_border, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/renderer.rs:168:29 [INFO] [stderr] | [INFO] [stderr] 168 | self.player.pos.y() + PLAYER_SIZE + bar_border, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/math.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | if pos.x() < min { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stderr] --> src/math.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | new_pos.set_x(min); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::x`: please use `.x` instead [INFO] [stderr] --> src/math.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | if pos.x() > max { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stderr] --> src/math.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | new_pos.set_x(max); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/math.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | if pos.y() < min { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stderr] --> src/math.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | new_pos.set_y(min); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/math.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | if pos.y() > max { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stderr] --> src/math.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | new_pos.set_y(max); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/lifetime.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | self.stars.retain(|s| s.pos.y() < screen_height()); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/lifetime.rs:24:47 [INFO] [stderr] | [INFO] [stderr] 24 | self.enemies.retain(|enemy| enemy.pos.y() < screen_height() && enemy.hitpoints > 0); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/lifetime.rs:28:55 [INFO] [stderr] | [INFO] [stderr] 28 | self.particles.retain(|particle| particle.pos.y() < screen_height() && frame_t - particle.created_at < PARTICLE_LIFETIME); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/lifetime.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | self.bullets.retain(|bullet| bullet.pos.y() > 0. && bullet.alive); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::y`: please use `.y` instead [INFO] [stderr] --> src/lifetime.rs:33:55 [INFO] [stderr] | [INFO] [stderr] 33 | self.enemy_bullets.retain(|bullet| bullet.pos.y() < screen_height() && bullet.alive); [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stderr] --> src/game.rs:108:64 [INFO] [stderr] | [INFO] [stderr] 108 | PlayerMovementState::LEFT => { self.player.vel.set_x(-1. * PLAYER_SPEED); } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_x`: please use `.x` instead [INFO] [stderr] --> src/game.rs:109:65 [INFO] [stderr] | [INFO] [stderr] 109 | PlayerMovementState::RIGHT => { self.player.vel.set_x(PLAYER_SPEED); } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stderr] --> src/game.rs:110:62 [INFO] [stderr] | [INFO] [stderr] 110 | PlayerMovementState::UP => { self.player.vel.set_y(-1. * PLAYER_SPEED); } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `macroquad::math::Vec2::set_y`: please use `.y` instead [INFO] [stderr] --> src/game.rs:111:64 [INFO] [stderr] | [INFO] [stderr] 111 | PlayerMovementState::DOWN => { self.player.vel.set_y(PLAYER_SPEED); } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 38 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/macrothree-223d56b6d59b4259 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "25c9417d06a739db700475d0853bf2cca166561351cb489c130fd775a7d31962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c9417d06a739db700475d0853bf2cca166561351cb489c130fd775a7d31962", kill_on_drop: false }` [INFO] [stdout] 25c9417d06a739db700475d0853bf2cca166561351cb489c130fd775a7d31962