[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 master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/koldun256/vyrf-server on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d55b0064db58af5bae246cff34b4c097808f02e5d6e008d63ce3b56a9992c3ab [INFO] running `Command { std: "docker" "start" "-a" "d55b0064db58af5bae246cff34b4c097808f02e5d6e008d63ce3b56a9992c3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d55b0064db58af5bae246cff34b4c097808f02e5d6e008d63ce3b56a9992c3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55b0064db58af5bae246cff34b4c097808f02e5d6e008d63ce3b56a9992c3ab", kill_on_drop: false }` [INFO] [stdout] d55b0064db58af5bae246cff34b4c097808f02e5d6e008d63ce3b56a9992c3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25773bc1af69aacc68b5a439b86861c26d64c063a93d4754685bac2f75d7a23a [INFO] running `Command { std: "docker" "start" "-a" "25773bc1af69aacc68b5a439b86861c26d64c063a93d4754685bac2f75d7a23a", 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.99s [INFO] running `Command { std: "docker" "inspect" "25773bc1af69aacc68b5a439b86861c26d64c063a93d4754685bac2f75d7a23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25773bc1af69aacc68b5a439b86861c26d64c063a93d4754685bac2f75d7a23a", kill_on_drop: false }` [INFO] [stdout] 25773bc1af69aacc68b5a439b86861c26d64c063a93d4754685bac2f75d7a23a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9f36999327429159b6a0e082243c5f91f77d6731c2513e16102b7434bb1106b [INFO] running `Command { std: "docker" "start" "-a" "a9f36999327429159b6a0e082243c5f91f77d6731c2513e16102b7434bb1106b", 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.35s [INFO] running `Command { std: "docker" "inspect" "a9f36999327429159b6a0e082243c5f91f77d6731c2513e16102b7434bb1106b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f36999327429159b6a0e082243c5f91f77d6731c2513e16102b7434bb1106b", kill_on_drop: false }` [INFO] [stdout] a9f36999327429159b6a0e082243c5f91f77d6731c2513e16102b7434bb1106b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c0dc67895b6429d1c604003c4f4784499b4335ab58fbd61cff13a5f77b851f0 [INFO] running `Command { std: "docker" "start" "-a" "0c0dc67895b6429d1c604003c4f4784499b4335ab58fbd61cff13a5f77b851f0", 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.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vyrf_server-359efc05c09d13b7) [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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c0dc67895b6429d1c604003c4f4784499b4335ab58fbd61cff13a5f77b851f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0dc67895b6429d1c604003c4f4784499b4335ab58fbd61cff13a5f77b851f0", kill_on_drop: false }` [INFO] [stdout] 0c0dc67895b6429d1c604003c4f4784499b4335ab58fbd61cff13a5f77b851f0