[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhaoterryy%2Festrelas" "/workspace/builds/worker-88/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-88/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhaoterryy/estrelas on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-88/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" "+beta-2022-04-10" "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-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db44cb76d9266434bb7c70dcaac9a4a3cfef253b1bf96d0f562110cda98d2a6 [INFO] running `Command { std: "docker" "start" "-a" "4db44cb76d9266434bb7c70dcaac9a4a3cfef253b1bf96d0f562110cda98d2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db44cb76d9266434bb7c70dcaac9a4a3cfef253b1bf96d0f562110cda98d2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db44cb76d9266434bb7c70dcaac9a4a3cfef253b1bf96d0f562110cda98d2a6", kill_on_drop: false }` [INFO] [stdout] 4db44cb76d9266434bb7c70dcaac9a4a3cfef253b1bf96d0f562110cda98d2a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfb11cf19119f555dbed7bcc3e17b9d3cb02f65aa3bc34f869efd2851f3c24c [INFO] running `Command { std: "docker" "start" "-a" "fcfb11cf19119f555dbed7bcc3e17b9d3cb02f65aa3bc34f869efd2851f3c24c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.33 [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 rand v0.3.17 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling lua v0.0.11 (https://github.com/jcmoyer/rust-lua53#374a2a85) [INFO] [stderr] Compiling num-bigint v0.1.40 [INFO] [stderr] Compiling num-complex 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 39s [INFO] running `Command { std: "docker" "inspect" "fcfb11cf19119f555dbed7bcc3e17b9d3cb02f65aa3bc34f869efd2851f3c24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfb11cf19119f555dbed7bcc3e17b9d3cb02f65aa3bc34f869efd2851f3c24c", kill_on_drop: false }` [INFO] [stdout] fcfb11cf19119f555dbed7bcc3e17b9d3cb02f65aa3bc34f869efd2851f3c24c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955afe5a0031eb59a2d2cf618417ed947a8fda45171ca2221db99d2d59368747 [INFO] running `Command { std: "docker" "start" "-a" "955afe5a0031eb59a2d2cf618417ed947a8fda45171ca2221db99d2d59368747", 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.54s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/estrelas-c57bad71d1f032e2) [INFO] running `Command { std: "docker" "inspect" "955afe5a0031eb59a2d2cf618417ed947a8fda45171ca2221db99d2d59368747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955afe5a0031eb59a2d2cf618417ed947a8fda45171ca2221db99d2d59368747", kill_on_drop: false }` [INFO] [stdout] 955afe5a0031eb59a2d2cf618417ed947a8fda45171ca2221db99d2d59368747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e301bcc190555c2c245c16fa85b9f074020ff202e0f72b4911008f8279aef310 [INFO] running `Command { std: "docker" "start" "-a" "e301bcc190555c2c245c16fa85b9f074020ff202e0f72b4911008f8279aef310", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stdout] [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | #[macro_use] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] [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.78s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/estrelas-c57bad71d1f032e2) [INFO] running `Command { std: "docker" "inspect" "e301bcc190555c2c245c16fa85b9f074020ff202e0f72b4911008f8279aef310", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e301bcc190555c2c245c16fa85b9f074020ff202e0f72b4911008f8279aef310", kill_on_drop: false }` [INFO] [stdout] e301bcc190555c2c245c16fa85b9f074020ff202e0f72b4911008f8279aef310