[INFO] cloning repository https://github.com/koldun256/vyrf-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koldun256/vyrf-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcd29769c4560ad21c04ed75d1d872f10ba6a8a7 [INFO] testing koldun256/vyrf-server against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoldun256%2Fvyrf-server" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/koldun256/vyrf-server [INFO] finished tweaking git repo https://github.com/koldun256/vyrf-server [INFO] tweaked toml for git repo https://github.com/koldun256/vyrf-server written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/koldun256/vyrf-server on toolchain 33835004928d3bf65db4d4712e1330766263b0bd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/koldun256/vyrf-server 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0ac149b6e5c384b6145b8399b406bcae9bec9ff4edd89357b5bb91392e19dd0 [INFO] running `Command { std: "docker" "start" "-a" "c0ac149b6e5c384b6145b8399b406bcae9bec9ff4edd89357b5bb91392e19dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ac149b6e5c384b6145b8399b406bcae9bec9ff4edd89357b5bb91392e19dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ac149b6e5c384b6145b8399b406bcae9bec9ff4edd89357b5bb91392e19dd0", kill_on_drop: false }` [INFO] [stdout] c0ac149b6e5c384b6145b8399b406bcae9bec9ff4edd89357b5bb91392e19dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b67cdd21d5fbbe9e0ea736f1bef66cf244a45b30e20b7a9457691ebf94821821 [INFO] running `Command { std: "docker" "start" "-a" "b67cdd21d5fbbe9e0ea736f1bef66cf244a45b30e20b7a9457691ebf94821821", kill_on_drop: false }` [INFO] [stderr] Compiling vyrf-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_by_id` and `get_by_id_mut` are never used [INFO] [stdout] --> src/game.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_by_id(&self, id: u8) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_by_id_mut(&mut self, id: u8) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `downcast_mut` is never used [INFO] [stdout] --> src/game/gameobject.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GameObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/gameobject.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Thing(&'a Thing), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Thing(&'a Thing), [INFO] [stdout] 24 + Thing(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameObjectKindMut` is never used [INFO] [stdout] --> src/game/gameobject.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum GameObjectKindMut<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_address` is never used [INFO] [stdout] --> src/game/gameobject/player.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_address(&self) -> &String { &self.address } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/gameobject/thing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Thing { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(id: u8, position: Vector2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn downcast(&self) -> GameObjectKind; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn downcast(&self) -> GameObjectKind<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | fn downcast(&self) -> GameObjectKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/player.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/thing.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn downcast(&self) -> GameObjectKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/thing.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "b67cdd21d5fbbe9e0ea736f1bef66cf244a45b30e20b7a9457691ebf94821821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67cdd21d5fbbe9e0ea736f1bef66cf244a45b30e20b7a9457691ebf94821821", kill_on_drop: false }` [INFO] [stdout] b67cdd21d5fbbe9e0ea736f1bef66cf244a45b30e20b7a9457691ebf94821821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6eed33fded29da32cf000b7bd5cbe98b42d17eba57e9505ceb93007aff1e746 [INFO] running `Command { std: "docker" "start" "-a" "d6eed33fded29da32cf000b7bd5cbe98b42d17eba57e9505ceb93007aff1e746", kill_on_drop: false }` [INFO] [stderr] Compiling vyrf-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_by_id` and `get_by_id_mut` are never used [INFO] [stdout] --> src/game.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_by_id(&self, id: u8) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_by_id_mut(&mut self, id: u8) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `downcast_mut` is never used [INFO] [stdout] --> src/game/gameobject.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait GameObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/gameobject.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | Thing(&'a Thing), [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Thing(&'a Thing), [INFO] [stdout] 24 + Thing(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameObjectKindMut` is never used [INFO] [stdout] --> src/game/gameobject.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum GameObjectKindMut<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_address` is never used [INFO] [stdout] --> src/game/gameobject/player.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_address(&self) -> &String { &self.address } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/gameobject/thing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Thing { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(id: u8, position: Vector2) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn downcast(&self) -> GameObjectKind; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | fn downcast(&self) -> GameObjectKind<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | fn downcast(&self) -> GameObjectKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/player.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/thing.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn downcast(&self) -> GameObjectKind { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/gameobject/thing.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "d6eed33fded29da32cf000b7bd5cbe98b42d17eba57e9505ceb93007aff1e746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6eed33fded29da32cf000b7bd5cbe98b42d17eba57e9505ceb93007aff1e746", kill_on_drop: false }` [INFO] [stdout] d6eed33fded29da32cf000b7bd5cbe98b42d17eba57e9505ceb93007aff1e746 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f4d35dde5b0d099c744fe25ae572f8d609b3ea10c1c1a4cd42e609e6458831c [INFO] running `Command { std: "docker" "start" "-a" "0f4d35dde5b0d099c744fe25ae572f8d609b3ea10c1c1a4cd42e609e6458831c", kill_on_drop: false }` [INFO] [stderr] warning: methods `get_by_id` and `get_by_id_mut` are never used [INFO] [stderr] --> src/game.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 26 | impl Game { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 81 | fn get_by_id(&self, id: u8) -> Option<&Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 90 | fn get_by_id_mut(&mut self, id: u8) -> Option<&mut Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `downcast_mut` is never used [INFO] [stderr] --> src/game/gameobject.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait GameObject { [INFO] [stderr] | ---------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/game/gameobject.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | Thing(&'a Thing), [INFO] [stderr] | ----- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - Thing(&'a Thing), [INFO] [stderr] 24 + Thing(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: enum `GameObjectKindMut` is never used [INFO] [stderr] --> src/game/gameobject.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | pub enum GameObjectKindMut<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_address` is never used [INFO] [stderr] --> src/game/gameobject/player.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 46 | impl Player { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn get_address(&self) -> &String { &self.address } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/game/gameobject/thing.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl Thing { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 32 | pub fn new(id: u8, position: Vector2) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | fn downcast(&self) -> GameObjectKind; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 18 | fn downcast(&self) -> GameObjectKind<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject/player.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | fn downcast(&self) -> GameObjectKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject/player.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject/thing.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | fn downcast(&self) -> GameObjectKind { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn downcast(&self) -> GameObjectKind<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/gameobject/thing.rs:26:21 [INFO] [stderr] | [INFO] [stderr] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn downcast_mut(&mut self) -> GameObjectKindMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `vyrf-server` (bin "vyrf-server" test) generated 12 warnings (run `cargo fix --bin "vyrf-server" -p vyrf-server --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vyrf_server-359efc05c09d13b7) [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" "0f4d35dde5b0d099c744fe25ae572f8d609b3ea10c1c1a4cd42e609e6458831c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4d35dde5b0d099c744fe25ae572f8d609b3ea10c1c1a4cd42e609e6458831c", kill_on_drop: false }` [INFO] [stdout] 0f4d35dde5b0d099c744fe25ae572f8d609b3ea10c1c1a4cd42e609e6458831c