[INFO] fetching crate entity_rust 0.0.8... [INFO] testing entity_rust-0.0.8 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025-2 [INFO] extracting crate entity_rust 0.0.8 into /workspace/builds/worker-93/source [INFO] validating manifest of crates.io crate entity_rust 0.0.8 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate entity_rust 0.0.8 [INFO] finished tweaking crates.io crate entity_rust 0.0.8 [INFO] tweaked toml for crates.io crate entity_rust 0.0.8 written to /workspace/builds/worker-93/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "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-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 487453df4535e937be76e37fbf4a60a0f94c6d938255104a7fdfb365e1e0d28f [INFO] running `Command { std: "docker" "start" "-a" "487453df4535e937be76e37fbf4a60a0f94c6d938255104a7fdfb365e1e0d28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "487453df4535e937be76e37fbf4a60a0f94c6d938255104a7fdfb365e1e0d28f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487453df4535e937be76e37fbf4a60a0f94c6d938255104a7fdfb365e1e0d28f", kill_on_drop: false }` [INFO] [stdout] 487453df4535e937be76e37fbf4a60a0f94c6d938255104a7fdfb365e1e0d28f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2678d4cfb87f8878aafd0239206013f8506ee6d562898d710536cd068908d51 [INFO] running `Command { std: "docker" "start" "-a" "d2678d4cfb87f8878aafd0239206013f8506ee6d562898d710536cd068908d51", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling poison v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling uuid v1.0.0 [INFO] [stderr] Compiling entity_rust v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_macros)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: Box [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] 22 - pub getters: Box [INFO] [stdout] 22 + pub getters: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub get_handler_instances: fn () -> 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] 33 - pub get_handler_instances: fn () -> Vec> [INFO] [stdout] 33 + pub get_handler_instances: fn () -> Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:120 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - state: Arc, [INFO] [stdout] 136 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - state: Arc, [INFO] [stdout] 143 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, 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] 34 - pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, Any> { [INFO] [stdout] 34 + pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:40:94 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, 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] 40 - pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, Any> { [INFO] [stdout] 40 + pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, 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] 16 - fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, Any>; [INFO] [stdout] 16 + fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, 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] 17 - fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, Any>; [INFO] [stdout] 17 + fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:86 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | ... pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] 194 + pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - pub fn get_handler_instances() -> Vec> { [INFO] [stdout] 213 + pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:117 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | let mut locks : Vec>= 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] 87 - let mut locks : Vec>= vec![]; [INFO] [stdout] 87 + let mut locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:88:55 [INFO] [stdout] | [INFO] [stdout] 88 | let mut mut_locks : Vec>= 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] 88 - let mut mut_locks : Vec>= vec![]; [INFO] [stdout] 88 + let mut mut_locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:220:61 [INFO] [stdout] | [INFO] [stdout] 220 | Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] 220 + Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "d2678d4cfb87f8878aafd0239206013f8506ee6d562898d710536cd068908d51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2678d4cfb87f8878aafd0239206013f8506ee6d562898d710536cd068908d51", kill_on_drop: false }` [INFO] [stdout] d2678d4cfb87f8878aafd0239206013f8506ee6d562898d710536cd068908d51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f53b709d3495029c2bc12eb5bf120f76c954def112b147f85703ef52a320132 [INFO] running `Command { std: "docker" "start" "-a" "2f53b709d3495029c2bc12eb5bf120f76c954def112b147f85703ef52a320132", kill_on_drop: false }` [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_macros)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: Box [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] 22 - pub getters: Box [INFO] [stdout] 22 + pub getters: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub get_handler_instances: fn () -> 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] 33 - pub get_handler_instances: fn () -> Vec> [INFO] [stdout] 33 + pub get_handler_instances: fn () -> Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:120 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - state: Arc, [INFO] [stdout] 136 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - state: Arc, [INFO] [stdout] 143 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, 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] 34 - pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, Any> { [INFO] [stdout] 34 + pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:40:94 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, 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] 40 - pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, Any> { [INFO] [stdout] 40 + pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, 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] 16 - fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, Any>; [INFO] [stdout] 16 + fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, 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] 17 - fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, Any>; [INFO] [stdout] 17 + fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:86 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | ... pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] 194 + pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - pub fn get_handler_instances() -> Vec> { [INFO] [stdout] 213 + pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:117 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | let mut locks : Vec>= 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] 87 - let mut locks : Vec>= vec![]; [INFO] [stdout] 87 + let mut locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:88:55 [INFO] [stdout] | [INFO] [stdout] 88 | let mut mut_locks : Vec>= 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] 88 - let mut mut_locks : Vec>= vec![]; [INFO] [stdout] 88 + let mut mut_locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling entity_rust v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:220:61 [INFO] [stdout] | [INFO] [stdout] 220 | Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] 220 + Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/systems.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_macros)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> tests/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_macros)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/events/mod.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, Vec>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(type_macros)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: Box [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] 22 - pub getters: Box [INFO] [stdout] 22 + pub getters: Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | pub get_handler_instances: fn () -> 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] 33 - pub get_handler_instances: fn () -> Vec> [INFO] [stdout] 33 + pub get_handler_instances: fn () -> Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:132:120 [INFO] [stdout] | [INFO] [stdout] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - state: Arc, [INFO] [stdout] 136 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | state: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 143 - state: Arc, [INFO] [stdout] 143 + state: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:34:92 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, 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] 34 - pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, Any> { [INFO] [stdout] 34 + pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:40:94 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, 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] 40 - pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, Any> { [INFO] [stdout] 40 + pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, 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] 16 - fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, Any>; [INFO] [stdout] 16 + fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/mod.rs:17:72 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, 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] 17 - fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, Any>; [INFO] [stdout] 17 + fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:25:86 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stdout] 25 + fn run(&self, Vec>, Vec>); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | ... pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec [INFO] [stdout] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] 194 + pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - pub fn get_handler_instances() -> Vec> { [INFO] [stdout] 213 + pub fn get_handler_instances() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:62 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:163:117 [INFO] [stdout] | [INFO] [stdout] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sync_event_handler` [INFO] [stdout] --> tests/events.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn sync_event_handler(x: &i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:87:50 [INFO] [stdout] | [INFO] [stdout] 87 | let mut locks : Vec>= 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] 87 - let mut locks : Vec>= vec![]; [INFO] [stdout] 87 + let mut locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:88:55 [INFO] [stdout] | [INFO] [stdout] 88 | let mut mut_locks : Vec>= 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] 88 - let mut mut_locks : Vec>= vec![]; [INFO] [stdout] 88 + let mut mut_locks : Vec>= vec![]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/events/mod.rs:220:61 [INFO] [stdout] | [INFO] [stdout] 220 | Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | event!{ tick, step: super::Duration } [INFO] [stdout] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] 220 + Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/entity_rust-13cd366cd89195d8) [INFO] [stderr] Executable tests/components.rs (/opt/rustwide/target/debug/deps/components-ef8214f6418cf2d5) [INFO] [stderr] Executable tests/events.rs (/opt/rustwide/target/debug/deps/events-645b7519896e2bb4) [INFO] [stderr] Executable tests/lib.rs (/opt/rustwide/target/debug/deps/lib-787ae9f51a97d307) [INFO] [stderr] Executable tests/static_any_map.rs (/opt/rustwide/target/debug/deps/static_any_map-9d24158a6255fe90) [INFO] [stderr] Executable tests/systems.rs (/opt/rustwide/target/debug/deps/systems-098379cfe9ca6936) [INFO] running `Command { std: "docker" "inspect" "2f53b709d3495029c2bc12eb5bf120f76c954def112b147f85703ef52a320132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f53b709d3495029c2bc12eb5bf120f76c954def112b147f85703ef52a320132", kill_on_drop: false }` [INFO] [stdout] 2f53b709d3495029c2bc12eb5bf120f76c954def112b147f85703ef52a320132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-93/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" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e9dcd4bb563a4bb915c9b98a7fbd49f94f5810cf2d336c4e6230d40f5a4da9f [INFO] running `Command { std: "docker" "start" "-a" "8e9dcd4bb563a4bb915c9b98a7fbd49f94f5810cf2d336c4e6230d40f5a4da9f", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/events/mod.rs:25:16 [INFO] [stderr] | [INFO] [stderr] 25 | fn run(&self, Vec>, Vec>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/events/mod.rs:25:54 [INFO] [stderr] | [INFO] [stderr] 25 | fn run(&self, Vec>, Vec>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(type_macros)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/components/mod.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 22 | pub getters: Box [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] 22 - pub getters: Box [INFO] [stderr] 22 + pub getters: Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | pub get_handler_instances: fn () -> 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] 33 - pub get_handler_instances: fn () -> Vec> [INFO] [stderr] 33 + pub get_handler_instances: fn () -> Vec> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:132:32 [INFO] [stderr] | [INFO] [stderr] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:132:81 [INFO] [stderr] | [INFO] [stderr] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:132:120 [INFO] [stderr] | [INFO] [stderr] 132 | pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] 132 + pub type HandlerFn = fn(Arc, &Vec, Vec>, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:136:16 [INFO] [stderr] | [INFO] [stderr] 136 | state: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 - state: Arc, [INFO] [stderr] 136 + state: Arc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:143:16 [INFO] [stderr] | [INFO] [stderr] 143 | state: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 143 - state: Arc, [INFO] [stderr] 143 + state: Arc, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/components/mod.rs:34:92 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, 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] 34 - pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, Any> { [INFO] [stderr] 34 + pub fn get_components_read_lock<'mutex>(id : TypeId) -> MappedSharedMutexReadGuard<'mutex, dyn Any> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/components/mod.rs:40:94 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, 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] 40 - pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, Any> { [INFO] [stderr] 40 + pub fn get_components_write_lock<'mutex>(id : TypeId) -> MappedSharedMutexWriteGuard<'mutex, dyn Any> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/components/mod.rs:16:70 [INFO] [stderr] | [INFO] [stderr] 16 | fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, 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] 16 - fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, Any>; [INFO] [stderr] 16 + fn read_as_any<'mutex>(&self) -> MappedSharedMutexReadGuard<'mutex, dyn Any>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/components/mod.rs:17:72 [INFO] [stderr] | [INFO] [stderr] 17 | fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, 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] 17 - fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, Any>; [INFO] [stderr] 17 + fn write_as_any<'mutex>(&self) -> MappedSharedMutexWriteGuard<'mutex, dyn Any>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:25:47 [INFO] [stderr] | [INFO] [stderr] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stderr] 25 + fn run(&self, Vec>, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:25:86 [INFO] [stderr] | [INFO] [stderr] 25 | fn run(&self, Vec>, 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] 25 - fn run(&self, Vec>, Vec>); [INFO] [stderr] 25 + fn run(&self, Vec>, Vec>); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:194:39 [INFO] [stderr] | [INFO] [stderr] 194 | ... pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec [INFO] [stderr] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 194 - pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stderr] 194 + pub fn register_handler(state: Arc, handler_fn: HandlerFn, component_types: Vec, mut_component_types: Vec) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:213:46 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn get_handler_instances() -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 213 - pub fn get_handler_instances() -> Vec> { [INFO] [stderr] 213 + pub fn get_handler_instances() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:163:62 [INFO] [stderr] | [INFO] [stderr] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:163:117 [INFO] [stderr] | [INFO] [stderr] 163 | fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 163 - fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] 163 + fn run(&self, components: Vec>, mut_components: Vec>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:87:50 [INFO] [stderr] | [INFO] [stderr] 87 | let mut locks : Vec>= 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] 87 - let mut locks : Vec>= vec![]; [INFO] [stderr] 87 + let mut locks : Vec>= vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:88:55 [INFO] [stderr] | [INFO] [stderr] 88 | let mut mut_locks : Vec>= 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] 88 - let mut mut_locks : Vec>= vec![]; [INFO] [stderr] 88 + let mut mut_locks : Vec>= vec![]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/events/mod.rs:220:61 [INFO] [stderr] | [INFO] [stderr] 220 | Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | event!{ tick, step: super::Duration } [INFO] [stderr] | ------------------------------------- in this macro invocation [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] = note: this warning originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 220 - Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stderr] 220 + Box::new(HandlerInstance::new(h, data.clone())) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `entity_rust` (lib) generated 23 warnings [INFO] [stderr] warning: `entity_rust` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] warning: function is never used: `sync_event_handler` [INFO] [stderr] --> tests/events.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn sync_event_handler(x: &i64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stderr] --> tests/systems.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(type_macros)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `type_macros` has been stable since 1.13.0 and no longer requires an attribute to enable [INFO] [stderr] --> tests/lib.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(type_macros)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `entity_rust` (test "events") generated 1 warning [INFO] [stderr] warning: `entity_rust` (test "systems") generated 1 warning [INFO] [stderr] warning: `entity_rust` (test "lib") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/entity_rust-13cd366cd89195d8) [INFO] [stdout] [INFO] [stderr] Running tests/components.rs (/opt/rustwide/target/debug/deps/components-ef8214f6418cf2d5) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test generates_functions ... ok [INFO] [stdout] test gettable_lock ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/events.rs (/opt/rustwide/target/debug/deps/events-645b7519896e2bb4) [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-787ae9f51a97d307) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test run_sync_event ... ok [INFO] [stdout] test run_event_runs_system_events ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/static_any_map.rs (/opt/rustwide/target/debug/deps/static_any_map-9d24158a6255fe90) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test static_map_initial_set ... ok [INFO] [stdout] test static_map_multi_set ... ok [INFO] [stderr] Running tests/systems.rs (/opt/rustwide/target/debug/deps/systems-098379cfe9ca6936) [INFO] [stdout] test test_how_string_works_as_hashmap_index ... ok [INFO] [stdout] test static_map_multi_queue_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test generates_functions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e9dcd4bb563a4bb915c9b98a7fbd49f94f5810cf2d336c4e6230d40f5a4da9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e9dcd4bb563a4bb915c9b98a7fbd49f94f5810cf2d336c4e6230d40f5a4da9f", kill_on_drop: false }` [INFO] [stdout] 8e9dcd4bb563a4bb915c9b98a7fbd49f94f5810cf2d336c4e6230d40f5a4da9f