[INFO] cloning repository https://github.com/GGalizzi/composite
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GGalizzi/composite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Fcomposite", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Fcomposite'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f35f4f5fe931886f4d07a5725ad898db53947d4
[INFO] checking GGalizzi/composite against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Fcomposite" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/GGalizzi/composite
[INFO] finished tweaking git repo https://github.com/GGalizzi/composite
[INFO] tweaked toml for git repo https://github.com/GGalizzi/composite written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/GGalizzi/composite on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/GGalizzi/composite already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 001676876ade7d48f780f351cb2b9e5e343bcbd33e90fc88f0e37902422c2d69
[INFO] running `Command { std: "docker" "start" "-a" "001676876ade7d48f780f351cb2b9e5e343bcbd33e90fc88f0e37902422c2d69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "001676876ade7d48f780f351cb2b9e5e343bcbd33e90fc88f0e37902422c2d69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "001676876ade7d48f780f351cb2b9e5e343bcbd33e90fc88f0e37902422c2d69", kill_on_drop: false }`
[INFO] [stdout] 001676876ade7d48f780f351cb2b9e5e343bcbd33e90fc88f0e37902422c2d69
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7384599fd8034dfcd6aff92ee4458c8824020ec653abebb515458c13d255fe31
[INFO] running `Command { std: "docker" "start" "-a" "7384599fd8034dfcd6aff92ee4458c8824020ec653abebb515458c13d255fe31", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking composite v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: could not compile `composite` (lib test) due to 5 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `ComponentData` and `EntityManager`
[INFO] [stdout]   --> src/behavior.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                       ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<Event>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                           ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:51
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager<Event>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn match_families(&self, &FamilyMap) -> Vec<&'static str>;
[INFO] [stdout]     |                              ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FamilyMap`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |     fn set_families(&mut self, Vec<&'static str>);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<&'static str>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:145:33
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn belongs_to_family(&self, &'static str) -> bool;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(append,drain)]
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `append` has been stable since 1.4.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(append,drain)]
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/behavior.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub behaviors: Vec<Box<Behavior<T,Event>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub behaviors: Vec<Box<dyn Behavior<T,Event>>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/behavior.rs:46:48
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new((behaviors, families): (Vec<Box<Behavior<T, Event>>>, HashMap<&'static str, Vec<usize>>)) -> BehaviorManager<T, Event> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new((behaviors, families): (Vec<Box<dyn Behavior<T, Event>>>, HashMap<&'static str, Vec<usize>>)) -> BehaviorManager<T, Event> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntityDataHolder`
[INFO] [stdout]   --> src/behavior.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::family::FamilyDataHolder`
[INFO] [stdout]   --> src/behavior.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use super::family::FamilyDataHolder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `idx` is never read
[INFO] [stdout]    --> src/lib.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut idx: Option<usize> = None;
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:332:119
[INFO] [stdout]     |
[INFO] [stdout] 332 | ...ntDataHolder>(&'a mut self, ent: Entity, processor: &'a mut BehaviorManager<A,B>) -> EntityBuilder<D,A,B> {
[INFO] [stdout]     |                   -- the lifetime is named here         -- the lifetime is named here   ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn build_ent<'a, A,B: EventDataHolder>(&'a mut self, ent: Entity, processor: &'a mut BehaviorManager<A,B>) -> EntityBuilder<'a, D,A,B> {
[INFO] [stdout]     |                                                                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn unwrap(&mut self) -> &mut T {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D inherent-method-on-receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn as_ref(&self) -> ComponentPresence<&T> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn as_mut(&mut self) -> ComponentPresence<&mut T> {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn has_it(&self) -> bool {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:85:21
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn lacks_it(&self) -> bool {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/event.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn global_events(&mut self) -> ::std::vec::Drain<Holder> {
[INFO] [stdout]    |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn global_events(&mut self) -> ::std::vec::Drain<'_, Holder> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ComponentData` and `EntityManager`
[INFO] [stdout]   --> src/behavior.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:23
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                       ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<Event>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                   ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                           ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/behavior.rs:35:51
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn process(&self, Vec<Event>, Entity, &mut T, &mut EventManager<Event>);
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager<Event>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |     fn match_families(&self, &FamilyMap) -> Vec<&'static str>;
[INFO] [stdout]     |                              ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FamilyMap`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |     fn set_families(&mut self, Vec<&'static str>);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<&'static str>`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/lib.rs:145:33
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn belongs_to_family(&self, &'static str) -> bool;
[INFO] [stdout]     |                                 ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str`
[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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(append,drain)]
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `append` has been stable since 1.4.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | #![feature(append,drain)]
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/behavior.rs:40:28
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub behaviors: Vec<Box<Behavior<T,Event>>>,
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub behaviors: Vec<Box<dyn Behavior<T,Event>>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/behavior.rs:46:48
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new((behaviors, families): (Vec<Box<Behavior<T, Event>>>, HashMap<&'static str, Vec<usize>>)) -> BehaviorManager<T, Event> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new((behaviors, families): (Vec<Box<dyn Behavior<T, Event>>>, HashMap<&'static str, Vec<usize>>)) -> BehaviorManager<T, Event> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EntityDataHolder`
[INFO] [stdout]   --> src/behavior.rs:27:20
[INFO] [stdout]    |
[INFO] [stdout] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::family::FamilyDataHolder`
[INFO] [stdout]   --> src/behavior.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use super::family::FamilyDataHolder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `idx` is never read
[INFO] [stdout]    --> src/lib.rs:202:38
[INFO] [stdout]     |
[INFO] [stdout] 202 |         let mut idx: Option<usize> = None;
[INFO] [stdout]     |                                      ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:332:119
[INFO] [stdout]     |
[INFO] [stdout] 332 | ...ntDataHolder>(&'a mut self, ent: Entity, processor: &'a mut BehaviorManager<A,B>) -> EntityBuilder<D,A,B> {
[INFO] [stdout]     |                   -- the lifetime is named here         -- the lifetime is named here   ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 332 |     pub fn build_ent<'a, A,B: EventDataHolder>(&'a mut self, ent: Entity, processor: &'a mut BehaviorManager<A,B>) -> EntityBuilder<'a, D,A,B> {
[INFO] [stdout]     |                                                                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn unwrap(&mut self) -> &mut T {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D inherent-method-on-receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn as_ref(&self) -> ComponentPresence<&T> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn as_mut(&mut self) -> ComponentPresence<&mut T> {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn has_it(&self) -> bool {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target
[INFO] [stdout]   --> src/component_presence.rs:85:21
[INFO] [stdout]    |
[INFO] [stdout] 85 |     pub fn lacks_it(&self) -> bool {
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90 | impl<T> Deref for ComponentPresence<T> {
[INFO] [stdout]    | -------------------------------------- trait implemented here
[INFO] [stdout] 91 |     type Target = T;
[INFO] [stdout]    |     ----------- with `Target` set here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/event.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn global_events(&mut self) -> ::std::vec::Drain<Holder> {
[INFO] [stdout]    |                          ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn global_events(&mut self) -> ::std::vec::Drain<'_, Holder> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `composite` (lib) due to 5 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7384599fd8034dfcd6aff92ee4458c8824020ec653abebb515458c13d255fe31", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7384599fd8034dfcd6aff92ee4458c8824020ec653abebb515458c13d255fe31", kill_on_drop: false }`
[INFO] [stdout] 7384599fd8034dfcd6aff92ee4458c8824020ec653abebb515458c13d255fe31
