[INFO] fetching crate entity_rust 0.0.8... [INFO] checking entity_rust-0.0.8 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate entity_rust 0.0.8 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate entity_rust 0.0.8 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `entity_rust` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d21500b6fcdeef7bddb41fc31740ee39c0e4ebf86aab7486f091f4ebf1dec2aa [INFO] running `Command { std: "docker" "start" "-a" "d21500b6fcdeef7bddb41fc31740ee39c0e4ebf86aab7486f091f4ebf1dec2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d21500b6fcdeef7bddb41fc31740ee39c0e4ebf86aab7486f091f4ebf1dec2aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21500b6fcdeef7bddb41fc31740ee39c0e4ebf86aab7486f091f4ebf1dec2aa", kill_on_drop: false }` [INFO] [stdout] d21500b6fcdeef7bddb41fc31740ee39c0e4ebf86aab7486f091f4ebf1dec2aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235d6fcb39c297b7482156845bea9979a5e76924e7ffb70022b4c66a13515691 [INFO] running `Command { std: "docker" "start" "-a" "235d6fcb39c297b7482156845bea9979a5e76924e7ffb70022b4c66a13515691", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `entity_rust` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking poison v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shared-mutex v0.3.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking 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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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: 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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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: 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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] [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] [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] [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] [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] [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] [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] [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] [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] [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] [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] [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] [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] [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] [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] [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] [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] [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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] [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] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [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] = 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] = note: `#[warn(anonymous_parameters)]` 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: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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/components/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub getters: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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] [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] [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] [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] [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] [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: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] [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] [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] [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] [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [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] [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/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: 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] error[E0053]: method `read_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/components.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | component! { test_component, a: i64, b: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexReadGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `write_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/components.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | component! { test_component, a: i64, b: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexWriteGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexWriteGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> tests/events.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | event!(test_event, x: i64, y: i64 ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'_, dyn Any>`, found a different `MappedSharedMutexReadGuard<'_, dyn Any>` [INFO] [stdout] | help: change the parameter type to match the trait: `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&test_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] found signature `fn(&test_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> tests/systems.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | event!{ my_event , x: i64, y: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'_, dyn Any>`, found a different `MappedSharedMutexReadGuard<'_, dyn Any>` [INFO] [stdout] | help: change the parameter type to match the trait: `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&my_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] found signature `fn(&my_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> tests/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | event!{ test_event , x: i64, y: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'_, dyn Any>`, found a different `MappedSharedMutexReadGuard<'_, dyn Any>` [INFO] [stdout] | help: change the parameter type to match the trait: `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&test_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] found signature `fn(&test_event::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `run` has an incompatible type for trait [INFO] [stdout] --> tests/systems.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | event!{ my_event_2 , x: i64, y: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'_, dyn Any>`, found a different `MappedSharedMutexReadGuard<'_, dyn Any>` [INFO] [stdout] | help: change the parameter type to match the trait: `Vec>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&my_event_2::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] found signature `fn(&my_event_2::HandlerInstance, Vec>, Vec>)` [INFO] [stdout] = note: this error originates in the macro `event` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | component! { test_component, a: i64, b: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexReadGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexReadGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `write_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | component! { test_component, a: i64, b: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `MappedSharedMutexWriteGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexWriteGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/systems.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | / component! { position, [INFO] [stdout] 18 | | x: i64, [INFO] [stdout] 19 | | y: i64 [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `MappedSharedMutexReadGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexReadGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexReadGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `write_as_any` has an incompatible type for trait [INFO] [stdout] --> tests/systems.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | / component! { position, [INFO] [stdout] 18 | | x: i64, [INFO] [stdout] 19 | | y: i64 [INFO] [stdout] 20 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `MappedSharedMutexWriteGuard<'mutex, dyn Any>`, found a different `MappedSharedMutexWriteGuard<'mutex, dyn Any>` [INFO] [stdout] | help: change the output type to match the trait: `shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&ListGetters) -> shared_mutex::MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] found signature `fn(&ListGetters) -> MappedSharedMutexWriteGuard<'mutex, (dyn Any + 'static)>` [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/components.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | test_component::add_with_lock(components, 1, 2, 3); [INFO] [stdout] | ----------------------------- ^^^^^^^^^^ expected `MappedSharedMutexWriteGuard<'_, Vec<...>>`, found a different `MappedSharedMutexWriteGuard<'_, Vec<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `MappedSharedMutexWriteGuard<'_, Vec<...>>` and `MappedSharedMutexWriteGuard<'_, Vec<...>>` have similar names, but are actually distinct types [INFO] [stdout] note: `MappedSharedMutexWriteGuard<'_, Vec<...>>` is defined in crate `shared_mutex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/shared-mutex-0.3.1/src/lib.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct MappedSharedMutexWriteGuard<'mutex, T: ?Sized + 'mutex> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `MappedSharedMutexWriteGuard<'_, Vec<...>>` is defined in crate `shared_mutex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/shared-mutex-0.3.1/src/lib.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | pub struct MappedSharedMutexWriteGuard<'mutex, T: ?Sized + 'mutex> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `shared_mutex` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> tests/components.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | component! { test_component, a: i64, b: i64 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `component` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `entity_rust` (test "components") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `entity_rust` (test "events") due to 2 previous errors [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `entity_rust` (test "systems") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `entity_rust` (test "lib") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "235d6fcb39c297b7482156845bea9979a5e76924e7ffb70022b4c66a13515691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235d6fcb39c297b7482156845bea9979a5e76924e7ffb70022b4c66a13515691", kill_on_drop: false }` [INFO] [stdout] 235d6fcb39c297b7482156845bea9979a5e76924e7ffb70022b4c66a13515691 [INFO] checking entity_rust-0.0.8 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate entity_rust 0.0.8 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate entity_rust 0.0.8 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: support for rustc plugins has been removed from rustc. library `entity_rust` should not specify `plugin = true` [INFO] [stderr] warning: support for `plugin = true` will be removed from cargo in the future [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56f1b86305c3f7a51c1a371d590d9f9cd98757ea85b7382af77b3805c0ef3fcb [INFO] running `Command { std: "docker" "start" "-a" "56f1b86305c3f7a51c1a371d590d9f9cd98757ea85b7382af77b3805c0ef3fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56f1b86305c3f7a51c1a371d590d9f9cd98757ea85b7382af77b3805c0ef3fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f1b86305c3f7a51c1a371d590d9f9cd98757ea85b7382af77b3805c0ef3fcb", kill_on_drop: false }` [INFO] [stdout] 56f1b86305c3f7a51c1a371d590d9f9cd98757ea85b7382af77b3805c0ef3fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb34a744e18a0e2dedcfc6a1b79bfb5866ea1b83e3443ff5a96cef1bcb8e3f65 [INFO] running `Command { std: "docker" "start" "-a" "cb34a744e18a0e2dedcfc6a1b79bfb5866ea1b83e3443ff5a96cef1bcb8e3f65", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "cb34a744e18a0e2dedcfc6a1b79bfb5866ea1b83e3443ff5a96cef1bcb8e3f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb34a744e18a0e2dedcfc6a1b79bfb5866ea1b83e3443ff5a96cef1bcb8e3f65", kill_on_drop: false }` [INFO] [stdout] cb34a744e18a0e2dedcfc6a1b79bfb5866ea1b83e3443ff5a96cef1bcb8e3f65