[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 1.49.0 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-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bestform/macrothree on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-5/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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ea5a6d72a528779960332d4a84274c69d15ba5f9daf5840ea1f1ab59a3b3d7 [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" "b4ea5a6d72a528779960332d4a84274c69d15ba5f9daf5840ea1f1ab59a3b3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ea5a6d72a528779960332d4a84274c69d15ba5f9daf5840ea1f1ab59a3b3d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ea5a6d72a528779960332d4a84274c69d15ba5f9daf5840ea1f1ab59a3b3d7", kill_on_drop: false }` [INFO] [stdout] b4ea5a6d72a528779960332d4a84274c69d15ba5f9daf5840ea1f1ab59a3b3d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df41cbdea94c21e4ee3974461161a213fd2c22269261bc27443d179579f4846b [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" "df41cbdea94c21e4ee3974461161a213fd2c22269261bc27443d179579f4846b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling sapp-linux v0.1.10 [INFO] [stderr] Compiling ahash v0.3.8 [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 claxon v0.4.3 [INFO] [stderr] Compiling macroquad_macro v0.1.2 (https://github.com/not-fl3/macroquad?branch=master#6d6f74ae) [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling glam v0.10.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling lewton v0.10.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling fontdue v0.4.0 [INFO] [stderr] Compiling image v0.22.5 [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 thiserror-impl v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.22 [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 28.48s [INFO] running `Command { std: "docker" "inspect" "df41cbdea94c21e4ee3974461161a213fd2c22269261bc27443d179579f4846b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df41cbdea94c21e4ee3974461161a213fd2c22269261bc27443d179579f4846b", kill_on_drop: false }` [INFO] [stdout] df41cbdea94c21e4ee3974461161a213fd2c22269261bc27443d179579f4846b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f939da9b8315325af397c92d02d427db544f79ab35dc18985a46fa251f61bfcf [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" "f939da9b8315325af397c92d02d427db544f79ab35dc18985a46fa251f61bfcf", 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.65s [INFO] running `Command { std: "docker" "inspect" "f939da9b8315325af397c92d02d427db544f79ab35dc18985a46fa251f61bfcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f939da9b8315325af397c92d02d427db544f79ab35dc18985a46fa251f61bfcf", kill_on_drop: false }` [INFO] [stdout] f939da9b8315325af397c92d02d427db544f79ab35dc18985a46fa251f61bfcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e2afab8d1716b116f283169f741d5f8aa89a0afa593f42bbd651ecc35c2658e [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" "6e2afab8d1716b116f283169f741d5f8aa89a0afa593f42bbd651ecc35c2658e", 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.33s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/macrothree-e5dd1d57a71d516c [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e2afab8d1716b116f283169f741d5f8aa89a0afa593f42bbd651ecc35c2658e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e2afab8d1716b116f283169f741d5f8aa89a0afa593f42bbd651ecc35c2658e", kill_on_drop: false }` [INFO] [stdout] 6e2afab8d1716b116f283169f741d5f8aa89a0afa593f42bbd651ecc35c2658e