[INFO] cloning repository https://github.com/laura-wenning/rusty-anchor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/laura-wenning/rusty-anchor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaura-wenning%2Frusty-anchor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaura-wenning%2Frusty-anchor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 203525626af611599d8ff28fe907ad1d64e2c77a [INFO] checking laura-wenning/rusty-anchor against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaura-wenning%2Frusty-anchor" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laura-wenning/rusty-anchor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laura-wenning/rusty-anchor [INFO] finished tweaking git repo https://github.com/laura-wenning/rusty-anchor [INFO] tweaked toml for git repo https://github.com/laura-wenning/rusty-anchor written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/laura-wenning/rusty-anchor 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b55c8d5e58b31f51d89d3b2017a807ac1bb9c91fcbf5f292a5533b1d7f2519b [INFO] running `Command { std: "docker" "start" "-a" "0b55c8d5e58b31f51d89d3b2017a807ac1bb9c91fcbf5f292a5533b1d7f2519b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b55c8d5e58b31f51d89d3b2017a807ac1bb9c91fcbf5f292a5533b1d7f2519b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b55c8d5e58b31f51d89d3b2017a807ac1bb9c91fcbf5f292a5533b1d7f2519b", kill_on_drop: false }` [INFO] [stdout] 0b55c8d5e58b31f51d89d3b2017a807ac1bb9c91fcbf5f292a5533b1d7f2519b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2097f39324803611ea35c7b62582793b3e2c48faf63aecdb65150683efca8513 [INFO] running `Command { std: "docker" "start" "-a" "2097f39324803611ea35c7b62582793b3e2c48faf63aecdb65150683efca8513", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rusty-anchor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, `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: the item `Result` is imported redundantly [INFO] [stdout] --> src/systems/screen/validation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, `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: the item `Result` is imported redundantly [INFO] [stdout] --> src/systems/screen/validation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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] [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: 24 warnings emitted [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] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "2097f39324803611ea35c7b62582793b3e2c48faf63aecdb65150683efca8513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2097f39324803611ea35c7b62582793b3e2c48faf63aecdb65150683efca8513", kill_on_drop: false }` [INFO] [stdout] 2097f39324803611ea35c7b62582793b3e2c48faf63aecdb65150683efca8513 [INFO] checking laura-wenning/rusty-anchor against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flaura-wenning%2Frusty-anchor" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/laura-wenning/rusty-anchor on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/laura-wenning/rusty-anchor [INFO] finished tweaking git repo https://github.com/laura-wenning/rusty-anchor [INFO] tweaked toml for git repo https://github.com/laura-wenning/rusty-anchor written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/laura-wenning/rusty-anchor 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96faa94882951d5028915cd64e5d9c94b4e3f9353856b477ac96dfd34eba34ee [INFO] running `Command { std: "docker" "start" "-a" "96faa94882951d5028915cd64e5d9c94b4e3f9353856b477ac96dfd34eba34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96faa94882951d5028915cd64e5d9c94b4e3f9353856b477ac96dfd34eba34ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96faa94882951d5028915cd64e5d9c94b4e3f9353856b477ac96dfd34eba34ee", kill_on_drop: false }` [INFO] [stdout] 96faa94882951d5028915cd64e5d9c94b4e3f9353856b477ac96dfd34eba34ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39f1aed1470bf83b6b2069cd3578053817bc60a8f28ff9601ae5fad1f8a0746c [INFO] running `Command { std: "docker" "start" "-a" "39f1aed1470bf83b6b2069cd3578053817bc60a8f28ff9601ae5fad1f8a0746c", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking rusty-anchor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, `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: the item `Result` is imported redundantly [INFO] [stdout] --> src/systems/screen/validation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Coordinates`, `Translation`, `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: the item `Result` is imported redundantly [INFO] [stdout] --> src/systems/screen/validation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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: 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] [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: 24 warnings emitted [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] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "39f1aed1470bf83b6b2069cd3578053817bc60a8f28ff9601ae5fad1f8a0746c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f1aed1470bf83b6b2069cd3578053817bc60a8f28ff9601ae5fad1f8a0746c", kill_on_drop: false }` [INFO] [stdout] 39f1aed1470bf83b6b2069cd3578053817bc60a8f28ff9601ae5fad1f8a0746c