[INFO] cloning repository https://github.com/g0drlc/sol-anchor-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/g0drlc/sol-anchor-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg0drlc%2Fsol-anchor-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg0drlc%2Fsol-anchor-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8895051a27546c405a6e1de85b4a042d32c4cafb [INFO] building g0drlc/sol-anchor-contract against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fg0drlc%2Fsol-anchor-contract" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/g0drlc/sol-anchor-contract on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/g0drlc/sol-anchor-contract [INFO] finished tweaking git repo https://github.com/g0drlc/sol-anchor-contract [INFO] tweaked toml for git repo https://github.com/g0drlc/sol-anchor-contract written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/g0drlc/sol-anchor-contract 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f35aa26ed0b8f35ebb8e962ed0a87acd61450bc7ce20f8ffbc985c8e5c26df2 [INFO] running `Command { std: "docker" "start" "-a" "9f35aa26ed0b8f35ebb8e962ed0a87acd61450bc7ce20f8ffbc985c8e5c26df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f35aa26ed0b8f35ebb8e962ed0a87acd61450bc7ce20f8ffbc985c8e5c26df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f35aa26ed0b8f35ebb8e962ed0a87acd61450bc7ce20f8ffbc985c8e5c26df2", kill_on_drop: false }` [INFO] [stdout] 9f35aa26ed0b8f35ebb8e962ed0a87acd61450bc7ce20f8ffbc985c8e5c26df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b091581ae7a76827daf29614dc31377d4ca89dc2c21203d8fb1553bcf24d411 [INFO] running `Command { std: "docker" "start" "-a" "6b091581ae7a76827daf29614dc31377d4ca89dc2c21203d8fb1553bcf24d411", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling rusty-anchor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, and `systems::translate` [INFO] [stdout] --> src/factories/mod.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{engine::GameEngine, components::translation::{Coordinates, Translation}, systems::translate}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/map/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl Map { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_map` and `render` are never used [INFO] [stdout] --> src/map/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 25 | fn generate_map(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn render(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/map/mod.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/map/mod.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 74 | fn render(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/components/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl ComponentContainer { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn has(&self, entity_id: u32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `buffer` are never read [INFO] [stdout] --> src/components/camera.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `is_active` are never read [INFO] [stdout] --> src/components/controllable.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `z` is never read [INFO] [stdout] --> src/components/translation.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Coordinates { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner`, `origin`, and `scale` are never read [INFO] [stdout] --> src/components/translation.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Translation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub origin: Coordinates, // The translation of the point of origin from the center of this object [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub scale: Coordinates, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/components/visible.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Visible { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/entities/mod.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/tiles.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tiles.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/brush.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.components.translations.register(brush_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = engine.components.translations.register(brush_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/brush.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine.components.visible.register(brush_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = engine.components.visible.register(brush_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | engine.components.translations.register(camera_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = engine.components.translations.register(camera_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | engine.components.cameras.register(camera_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = engine.components.cameras.register(camera_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | engine.components.translations.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = engine.components.translations.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | engine.components.visible.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = engine.components.visible.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | engine.components.controllables.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = engine.components.controllables.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/systems/controller.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | some_action(engine, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = some_action(engine, key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.32s [INFO] running `Command { std: "docker" "inspect" "6b091581ae7a76827daf29614dc31377d4ca89dc2c21203d8fb1553bcf24d411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b091581ae7a76827daf29614dc31377d4ca89dc2c21203d8fb1553bcf24d411", kill_on_drop: false }` [INFO] [stdout] 6b091581ae7a76827daf29614dc31377d4ca89dc2c21203d8fb1553bcf24d411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aee7f7dc8bfc6d04179eb454b0a62e9fdc90bf0309f2c0b32e11785bd1bba712 [INFO] running `Command { std: "docker" "start" "-a" "aee7f7dc8bfc6d04179eb454b0a62e9fdc90bf0309f2c0b32e11785bd1bba712", kill_on_drop: false }` [INFO] [stderr] Compiling rusty-anchor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, and `systems::translate` [INFO] [stdout] --> src/factories/mod.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{engine::GameEngine, components::translation::{Coordinates, Translation}, systems::translate}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Map` is never constructed [INFO] [stdout] --> src/map/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Map { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Map` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl Map { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_map` and `render` are never used [INFO] [stdout] --> src/map/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl Map { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 25 | fn generate_map(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn render(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tile` is never used [INFO] [stdout] --> src/map/mod.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | enum Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/map/mod.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 74 | fn render(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has` is never used [INFO] [stdout] --> src/components/mod.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 25 | impl ComponentContainer { [INFO] [stdout] | --------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn has(&self, entity_id: u32) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `buffer` are never read [INFO] [stdout] --> src/components/camera.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 4 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub buffer: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner` and `is_active` are never read [INFO] [stdout] --> src/components/controllable.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Controllable { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `z` is never read [INFO] [stdout] --> src/components/translation.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Coordinates { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub z: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `owner`, `origin`, and `scale` are never read [INFO] [stdout] --> src/components/translation.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Translation { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub origin: Coordinates, // The translation of the point of origin from the center of this object [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub scale: Coordinates, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> src/components/visible.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Visible { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub owner: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/entities/mod.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tile` is never constructed [INFO] [stdout] --> src/tiles.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Tile { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tiles.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | impl Tile { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/brush.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | engine.components.translations.register(brush_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 9 | let _ = engine.components.translations.register(brush_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/brush.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine.components.visible.register(brush_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 10 | let _ = engine.components.visible.register(brush_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/camera.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | engine.components.translations.register(camera_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = engine.components.translations.register(camera_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/camera.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | engine.components.cameras.register(camera_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 15 | let _ = engine.components.cameras.register(camera_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | engine.components.translations.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 11 | let _ = engine.components.translations.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | engine.components.visible.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | let _ = engine.components.visible.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/factories/player.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | engine.components.controllables.register(player_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = engine.components.controllables.register(player_id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/systems/controller.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | some_action(engine, key); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = some_action(engine, key); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "aee7f7dc8bfc6d04179eb454b0a62e9fdc90bf0309f2c0b32e11785bd1bba712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aee7f7dc8bfc6d04179eb454b0a62e9fdc90bf0309f2c0b32e11785bd1bba712", kill_on_drop: false }` [INFO] [stdout] aee7f7dc8bfc6d04179eb454b0a62e9fdc90bf0309f2c0b32e11785bd1bba712