[INFO] cloning repository https://github.com/zhaoterryy/estrelas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhaoterryy/estrelas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaoterryy%2Festrelas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaoterryy%2Festrelas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e312fca4daa0390826752a64f257fb2cc809b08 [INFO] testing zhaoterryy/estrelas against master#61469b682c2b0bf9cebc4622f1859e2bb3b7ebca for pr-91743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaoterryy%2Festrelas" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaoterryy/estrelas on toolchain 61469b682c2b0bf9cebc4622f1859e2bb3b7ebca [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zhaoterryy/estrelas [INFO] finished tweaking git repo https://github.com/zhaoterryy/estrelas [INFO] tweaked toml for git repo https://github.com/zhaoterryy/estrelas written to /workspace/builds/worker-98/source/Cargo.toml [INFO] crate git repo https://github.com/zhaoterryy/estrelas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/jcmoyer/rust-lua53` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded num-complex v0.1.40 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] [stderr] Downloaded num-iter v0.1.34 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded num-bigint v0.1.40 [INFO] [stderr] Downloaded num-rational v0.1.39 [INFO] [stderr] Downloaded num-integer v0.1.35 [INFO] [stderr] Downloaded rand v0.3.17 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded num v0.1.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 516dca397af66def8fdf1bebef1dc49fb98a10a6edf5548a40e0f23f96e0b9c2 [INFO] running `Command { std: "docker" "start" "-a" "516dca397af66def8fdf1bebef1dc49fb98a10a6edf5548a40e0f23f96e0b9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "516dca397af66def8fdf1bebef1dc49fb98a10a6edf5548a40e0f23f96e0b9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "516dca397af66def8fdf1bebef1dc49fb98a10a6edf5548a40e0f23f96e0b9c2", kill_on_drop: false }` [INFO] [stdout] 516dca397af66def8fdf1bebef1dc49fb98a10a6edf5548a40e0f23f96e0b9c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3354663568e008c8f195a11bab9bde84e28cb0ce8f7bb84539ff7c5728b4ef18 [INFO] running `Command { std: "docker" "start" "-a" "3354663568e008c8f195a11bab9bde84e28cb0ce8f7bb84539ff7c5728b4ef18", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling rand v0.3.17 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling lua v0.0.11 (https://github.com/jcmoyer/rust-lua53#374a2a85) [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-complex v0.1.40 [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling num-rational v0.1.39 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling estrelas_math v0.1.0 (/opt/rustwide/workdir/estrelas_math) [INFO] [stderr] Compiling estrelas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | components: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - components: HashMap>, [INFO] [stdout] 5 + components: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/world.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub systems: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub systems: Vec>, [INFO] [stdout] 6 + pub systems: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/component.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn as_any(&self) -> &Any; [INFO] [stdout] 8 + fn as_any(&self) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/component.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] 9 + fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:62:92 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] 62 + pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:74:104 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] 74 + pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] 94 + pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] 98 + pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:102:61 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] 102 + pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_id` [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `components` [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "3354663568e008c8f195a11bab9bde84e28cb0ce8f7bb84539ff7c5728b4ef18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3354663568e008c8f195a11bab9bde84e28cb0ce8f7bb84539ff7c5728b4ef18", kill_on_drop: false }` [INFO] [stdout] 3354663568e008c8f195a11bab9bde84e28cb0ce8f7bb84539ff7c5728b4ef18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3a4e94e760199055d1bde4be977187214540c8de38f52c98b953c1cf5fa82f [INFO] running `Command { std: "docker" "start" "-a" "cd3a4e94e760199055d1bde4be977187214540c8de38f52c98b953c1cf5fa82f", kill_on_drop: false }` [INFO] [stderr] Compiling estrelas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | components: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - components: HashMap>, [INFO] [stdout] 5 + components: HashMap>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/world.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub systems: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - pub systems: Vec>, [INFO] [stdout] 6 + pub systems: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/component.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - fn as_any(&self) -> &Any; [INFO] [stdout] 8 + fn as_any(&self) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/component.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] 9 + fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:62:92 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 - pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] 62 + pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:74:104 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] 74 + pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:94:61 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] 94 + pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:98:73 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] 98 + pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:102:61 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] 102 + pub fn get_all_components(&self) -> &HashMap> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_id` [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `components` [INFO] [stdout] --> src/core/engine_types/game_framework/data_manager.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_components` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/estrelas-a3d8ee7be8c51931) [INFO] running `Command { std: "docker" "inspect" "cd3a4e94e760199055d1bde4be977187214540c8de38f52c98b953c1cf5fa82f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3a4e94e760199055d1bde4be977187214540c8de38f52c98b953c1cf5fa82f", kill_on_drop: false }` [INFO] [stdout] cd3a4e94e760199055d1bde4be977187214540c8de38f52c98b953c1cf5fa82f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+61469b682c2b0bf9cebc4622f1859e2bb3b7ebca" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e397cfb443743b15ebc02585acfee82be87965146ef80973f833a55cfc2db27 [INFO] running `Command { std: "docker" "start" "-a" "1e397cfb443743b15ebc02585acfee82be87965146ef80973f833a55cfc2db27", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:5:36 [INFO] [stderr] | [INFO] [stderr] 5 | components: HashMap>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 - components: HashMap>, [INFO] [stderr] 5 + components: HashMap>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/world.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | pub systems: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub systems: Vec>, [INFO] [stderr] 6 + pub systems: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/component.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | fn as_any(&self) -> &Any; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - fn as_any(&self) -> &Any; [INFO] [stderr] 8 + fn as_any(&self) -> &dyn Any; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/component.rs:9:38 [INFO] [stderr] | [INFO] [stderr] 9 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - fn as_any_mut(&mut self) -> &mut Any; [INFO] [stderr] 9 + fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:62:92 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 - pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stderr] 62 + pub fn get_component_with_attr(&self, entity_id: usize, component: u64) -> Option<&Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:74:104 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 - pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stderr] 74 + pub fn get_component_with_attr_mut(&mut self, entity_id: usize, component: u64) -> Option<&mut Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:94:61 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 - pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stderr] 94 + pub fn get_component(&self, guid: usize) -> Option<&Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:98:73 [INFO] [stderr] | [INFO] [stderr] 98 | pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stderr] 98 + pub fn get_component_mut(&mut self, guid: usize) -> Option<&mut Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:102:61 [INFO] [stderr] | [INFO] [stderr] 102 | pub fn get_all_components(&self) -> &HashMap> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - pub fn get_all_components(&self) -> &HashMap> { [INFO] [stderr] 102 + pub fn get_all_components(&self) -> &HashMap> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entity_id` [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `components` [INFO] [stderr] --> src/core/engine_types/game_framework/data_manager.rs:46:52 [INFO] [stderr] | [INFO] [stderr] 46 | fn new_components(&mut self, entity_id: usize, components: u64) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_components` [INFO] [stderr] [INFO] [stderr] warning: `estrelas` (bin "estrelas" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/estrelas-a3d8ee7be8c51931) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1e397cfb443743b15ebc02585acfee82be87965146ef80973f833a55cfc2db27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e397cfb443743b15ebc02585acfee82be87965146ef80973f833a55cfc2db27", kill_on_drop: false }` [INFO] [stdout] 1e397cfb443743b15ebc02585acfee82be87965146ef80973f833a55cfc2db27