[INFO] fetching crate entity_rust 0.0.8... [INFO] testing entity_rust-0.0.8 against try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839 [INFO] extracting crate entity_rust 0.0.8 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate entity_rust 0.0.8 on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "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" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 172babdd4fc0880a906aacc07bae4b4340bcb332727b1fe4b706490b6925a9b8 [INFO] running `Command { std: "docker" "start" "-a" "172babdd4fc0880a906aacc07bae4b4340bcb332727b1fe4b706490b6925a9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "172babdd4fc0880a906aacc07bae4b4340bcb332727b1fe4b706490b6925a9b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "172babdd4fc0880a906aacc07bae4b4340bcb332727b1fe4b706490b6925a9b8", kill_on_drop: false }` [INFO] [stdout] 172babdd4fc0880a906aacc07bae4b4340bcb332727b1fe4b706490b6925a9b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f9364e39834ddac10d1c909567c9e5e192a2ae7c899052bd82a3116acd9aaa4 [INFO] running `Command { std: "docker" "start" "-a" "8f9364e39834ddac10d1c909567c9e5e192a2ae7c899052bd82a3116acd9aaa4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [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.7 [INFO] [stderr] Compiling uuid v1.1.2 [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 4.04s [INFO] running `Command { std: "docker" "inspect" "8f9364e39834ddac10d1c909567c9e5e192a2ae7c899052bd82a3116acd9aaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9364e39834ddac10d1c909567c9e5e192a2ae7c899052bd82a3116acd9aaa4", kill_on_drop: false }` [INFO] [stdout] 8f9364e39834ddac10d1c909567c9e5e192a2ae7c899052bd82a3116acd9aaa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59f5686395b47cecd486f8332e1dc5d4c972a63c576483aac2f7b4230b49f25c [INFO] running `Command { std: "docker" "start" "-a" "59f5686395b47cecd486f8332e1dc5d4c972a63c576483aac2f7b4230b49f25c", 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] [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] [stderr] Compiling entity_rust v0.0.8 (/opt/rustwide/workdir) [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] = 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: 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: 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: function `sync_event_handler` is never used [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: 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 1.27s [INFO] running `Command { std: "docker" "inspect" "59f5686395b47cecd486f8332e1dc5d4c972a63c576483aac2f7b4230b49f25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f5686395b47cecd486f8332e1dc5d4c972a63c576483aac2f7b4230b49f25c", kill_on_drop: false }` [INFO] [stdout] 59f5686395b47cecd486f8332e1dc5d4c972a63c576483aac2f7b4230b49f25c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1482c75e901bc11bbd44e84ed5d25bfbf9c04e9a4aa82fc0a768d41b82cd9323 [INFO] running `Command { std: "docker" "start" "-a" "1482c75e901bc11bbd44e84ed5d25bfbf9c04e9a4aa82fc0a768d41b82cd9323", 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 `sync_event_handler` is never used [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/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: 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: `entity_rust` (test "events") generated 1 warning [INFO] [stderr] warning: `entity_rust` (test "lib") generated 1 warning [INFO] [stderr] warning: `entity_rust` (test "systems") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/entity_rust-cb6ad87f8acc618f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/components.rs (/opt/rustwide/target/debug/deps/components-81c3cd32afbbdee8) [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.00s [INFO] [stdout] [INFO] [stderr] Running tests/events.rs (/opt/rustwide/target/debug/deps/events-2d2f56c2d5a02779) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-2db84899cf261caf) [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-fc4beb2ab2517af6) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test static_map_initial_set ... ok [INFO] [stdout] test test_how_string_works_as_hashmap_index ... ok [INFO] [stdout] test static_map_multi_set ... FAILED [INFO] [stdout] test static_map_multi_queue_set ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- static_map_multi_set stdout ---- [INFO] [stdout] thread 'static_map_multi_set' panicked at 'assertion failed: queue.len() == 3', tests/static_any_map.rs:33:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f995763ab30 - std::backtrace_rs::backtrace::libunwind::trace::h385ffbf574363e81 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x7f995763ab30 - std::backtrace_rs::backtrace::trace_unsynchronized::h1d1dbabbc7babee7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f995763ab30 - std::sys_common::backtrace::_print_fmt::h3fd7a321b650d311 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x7f995763ab30 - ::fmt::h9c5fc513eb6f6c7a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x7f995769388c - core::fmt::write::h149259a69b3e2f89 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x7f995762c2d5 - std::io::Write::write_fmt::h6d11f4b16fd2c9e6 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x7f995763d721 - std::sys_common::backtrace::_print::h350a49f9ba10dc38 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x7f995763d721 - std::sys_common::backtrace::print::hc9483bcde74add9a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x7f995763d721 - std::panicking::default_hook::{{closure}}::h033c319db21062da [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x7f995763d376 - std::panicking::default_hook::h082702b84ddf9cba [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x7f995763de53 - std::panicking::rust_panic_with_hook::hb5031567964b2362 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x7f995763dd09 - std::panicking::begin_panic_handler::{{closure}}::h040f81592aed215a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x7f995763b004 - std::sys_common::backtrace::__rust_end_short_backtrace::hb55752442d66befe [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x7f995763da72 - rust_begin_unwind [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x7f99576028f3 - core::panicking::panic_fmt::hab8e33512c332233 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x7f99576027bd - core::panicking::panic::hf97f736a376a5fe9 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55eaa9021f84 - static_any_map::static_map_multi_set::h4ef00f8c7ac58906 [INFO] [stdout] at /opt/rustwide/workdir/tests/static_any_map.rs:33:2 [INFO] [stdout] 17: 0x55eaa9021e1a - static_any_map::static_map_multi_set::{{closure}}::hd7f6df6f9f0a1c14 [INFO] [stdout] at /opt/rustwide/workdir/tests/static_any_map.rs:23:1 [INFO] [stdout] 18: 0x55eaa902371e - core::ops::function::FnOnce::call_once::hd6c0ba03cd8ec18e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 19: 0x7f99579f9d63 - core::ops::function::FnOnce::call_once::ha7afe1ddf9a8665b [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x7f99579f9d63 - test::__rust_begin_short_backtrace::h02df713062fe0d09 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:572:5 [INFO] [stdout] 21: 0x7f99579f8b5c - as core::ops::function::FnOnce>::call_once::h4f2b36c78ff85792 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 22: 0x7f99579f8b5c - as core::ops::function::FnOnce<()>>::call_once::h8624c6094a076c25 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x7f99579f8b5c - std::panicking::try::do_call::h0c501a0f7fa5bee0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x7f99579f8b5c - std::panicking::try::h60ab49b272d3e4f0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x7f99579f8b5c - std::panic::catch_unwind::h5f34d55961997ae8 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x7f99579f8b5c - test::run_test_in_process::hcf99044408a39ffa [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:595:18 [INFO] [stdout] 27: 0x7f99579f8b5c - test::run_test::run_test_inner::{{closure}}::h5f747e7c34969277 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:489:39 [INFO] [stdout] 28: 0x7f99579c1dcc - test::run_test::run_test_inner::{{closure}}::hfbc9b7f814e7611c [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:516:37 [INFO] [stdout] 29: 0x7f99579c1dcc - std::sys_common::backtrace::__rust_begin_short_backtrace::hc864e8be9763567e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x7f99579c8f9f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h635fae7f98a9851a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 31: 0x7f99579c8f9f - as core::ops::function::FnOnce<()>>::call_once::hb0e77e0fbf0b74e7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x7f99579c8f9f - std::panicking::try::do_call::h843a2c7f433b6950 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x7f99579c8f9f - std::panicking::try::h64dfa5d8b1ef556f [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x7f99579c8f9f - std::panic::catch_unwind::h3af2f5bf220b9738 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x7f99579c8f9f - std::thread::Builder::spawn_unchecked_::{{closure}}::h8fd0a07746213f59 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 36: 0x7f99579c8f9f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h589aaf080555aafb [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 37: 0x7f9957647853 - as core::ops::function::FnOnce>::call_once::h4a4c573311170bd5 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 38: 0x7f9957647853 - as core::ops::function::FnOnce>::call_once::h4c3a154b8915668e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 39: 0x7f9957647853 - std::sys::unix::thread::Thread::new::thread_start::h9d4e5992c5fda7ce [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7f9957347609 - start_thread [INFO] [stdout] 41: 0x7f995749e133 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] static_map_multi_set [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test static_any_map' [INFO] running `Command { std: "docker" "inspect" "1482c75e901bc11bbd44e84ed5d25bfbf9c04e9a4aa82fc0a768d41b82cd9323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1482c75e901bc11bbd44e84ed5d25bfbf9c04e9a4aa82fc0a768d41b82cd9323", kill_on_drop: false }` [INFO] [stdout] 1482c75e901bc11bbd44e84ed5d25bfbf9c04e9a4aa82fc0a768d41b82cd9323