[INFO] cloning repository https://github.com/TheReaper2077/ecs-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheReaper2077/ecs-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReaper2077%2Fecs-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReaper2077%2Fecs-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ade73e949d9a007b20803f548e72b103f8b288a [INFO] checking TheReaper2077/ecs-rust against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheReaper2077%2Fecs-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheReaper2077/ecs-rust on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheReaper2077/ecs-rust [INFO] finished tweaking git repo https://github.com/TheReaper2077/ecs-rust [INFO] tweaked toml for git repo https://github.com/TheReaper2077/ecs-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TheReaper2077/ecs-rust 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1767a7cc61c0de672a1bf104450a69d72a3bbda2ded352b200c5ccbdeedada7 [INFO] running `Command { std: "docker" "start" "-a" "b1767a7cc61c0de672a1bf104450a69d72a3bbda2ded352b200c5ccbdeedada7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1767a7cc61c0de672a1bf104450a69d72a3bbda2ded352b200c5ccbdeedada7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1767a7cc61c0de672a1bf104450a69d72a3bbda2ded352b200c5ccbdeedada7", kill_on_drop: false }` [INFO] [stdout] b1767a7cc61c0de672a1bf104450a69d72a3bbda2ded352b200c5ccbdeedada7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4b9bebd0dde9edd5f417651f88e435756b20b52c2165fe5e03029611e984418 [INFO] running `Command { std: "docker" "start" "-a" "b4b9bebd0dde9edd5f417651f88e435756b20b52c2165fe5e03029611e984418", kill_on_drop: false }` [INFO] [stderr] Checking ECS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `any::Any` and `marker::PhantomData` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::Any` and `marker::PhantomData` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `hash` [INFO] [stdout] --> src/registry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash, collections::{BTreeSet, HashSet}, any::type_name}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/registry.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{entity::{self, EntityManager, Entity}, component::ComponentManager, system::SystemManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/component.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entity::{Entity, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/component.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if (self.entity_index_map.contains_key(&entity)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (self.entity_index_map.contains_key(&entity)) { [INFO] [stdout] 71 + if self.entity_index_map.contains_key(&entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `ops::IndexMut`, and `type_name` [INFO] [stdout] --> src/entity.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, hash::Hash, any::{type_name, TypeId}, ops::IndexMut}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `hash`, and `ops::Sub` [INFO] [stdout] --> src/system.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeSet, HashSet, HashMap}, any::{TypeId, type_name}, hash, slice::SliceIndex, ops::Sub}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `hash` [INFO] [stdout] --> src/registry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash, collections::{BTreeSet, HashSet}, any::type_name}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/registry.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{entity::{self, EntityManager, Entity}, component::ComponentManager, system::SystemManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/component.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entity::{Entity, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/component.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if (self.entity_index_map.contains_key(&entity)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 71 - if (self.entity_index_map.contains_key(&entity)) { [INFO] [stdout] 71 + if self.entity_index_map.contains_key(&entity) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `ops::IndexMut`, and `type_name` [INFO] [stdout] --> src/entity.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, hash::Hash, any::{type_name, TypeId}, ops::IndexMut}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `hash`, and `ops::Sub` [INFO] [stdout] --> src/system.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeSet, HashSet, HashMap}, any::{TypeId, type_name}, hash, slice::SliceIndex, ops::Sub}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/system.rs:1:86 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeSet, HashSet, HashMap}, any::{TypeId, type_name}, hash, slice::SliceIndex, ops::Sub}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice::SliceIndex` [INFO] [stdout] --> src/system.rs:1:86 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeSet, HashSet, HashMap}, any::{TypeId, type_name}, hash, slice::SliceIndex, ops::Sub}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/main.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct Pos { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | v: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OverLoading` is never used [INFO] [stdout] --> src/registry.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | trait OverLoading { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_entity`, `destroy_entity`, `add_component`, `remove_component`, `get_mut_component`, and `get_ref_component` are never used [INFO] [stdout] --> src/registry.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Registry<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn create_entity(&mut self) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn destroy_entity(&mut self, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn add_component(&mut self, entity: Entity, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_component(&mut self, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_mut_component(&mut self, entity: Entity) -> &mut T{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_ref_component(&mut self, entity: Entity) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any_ref` is never used [INFO] [stdout] --> src/component.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | trait IComponentArray { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 56 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] 57 | fn as_any_ref(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_index` is never read [INFO] [stdout] --> src/system.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SystemManager<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | next_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `v` is never read [INFO] [stdout] --> src/main.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 9 | struct Pos { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 10 | v: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Pos` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OverLoading` is never used [INFO] [stdout] --> src/registry.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | trait OverLoading { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_entity`, `destroy_entity`, `add_component`, `remove_component`, `get_mut_component`, and `get_ref_component` are never used [INFO] [stdout] --> src/registry.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Registry<'_> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn create_entity(&mut self) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn destroy_entity(&mut self, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn add_component(&mut self, entity: Entity, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn remove_component(&mut self, entity: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_mut_component(&mut self, entity: Entity) -> &mut T{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_ref_component(&mut self, entity: Entity) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_any_ref` is never used [INFO] [stdout] --> src/component.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 55 | trait IComponentArray { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 56 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] 57 | fn as_any_ref(&self) -> &dyn Any; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_index` is never read [INFO] [stdout] --> src/system.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SystemManager<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | next_index: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "b4b9bebd0dde9edd5f417651f88e435756b20b52c2165fe5e03029611e984418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b9bebd0dde9edd5f417651f88e435756b20b52c2165fe5e03029611e984418", kill_on_drop: false }` [INFO] [stdout] b4b9bebd0dde9edd5f417651f88e435756b20b52c2165fe5e03029611e984418