[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] testing GGalizzi/composite against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGGalizzi%2Fcomposite" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GGalizzi/composite on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/GGalizzi/composite already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d4ada2df6f5db1fd0638f143f61fb67c328bad8e6f2b3254e274a670a2df844 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d4ada2df6f5db1fd0638f143f61fb67c328bad8e6f2b3254e274a670a2df844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d4ada2df6f5db1fd0638f143f61fb67c328bad8e6f2b3254e274a670a2df844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4ada2df6f5db1fd0638f143f61fb67c328bad8e6f2b3254e274a670a2df844", kill_on_drop: false }` [INFO] [stdout] 7d4ada2df6f5db1fd0638f143f61fb67c328bad8e6f2b3254e274a670a2df844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8160453489dd5e9cada2e3ff9a41d1dc0df9a02167786b9edca88be5b0d485a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8160453489dd5e9cada2e3ff9a41d1dc0df9a02167786b9edca88be5b0d485a6", kill_on_drop: false }` [INFO] [stderr] Compiling composite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ComponentData`, `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)]` 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, Entity, &mut T, &mut EventManager); [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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>>, HashMap<&'static str, Vec>)) -> BehaviorManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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: 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: value assigned to `idx` is never read [INFO] [stdout] --> src/lib.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut idx: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "8160453489dd5e9cada2e3ff9a41d1dc0df9a02167786b9edca88be5b0d485a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8160453489dd5e9cada2e3ff9a41d1dc0df9a02167786b9edca88be5b0d485a6", kill_on_drop: false }` [INFO] [stdout] 8160453489dd5e9cada2e3ff9a41d1dc0df9a02167786b9edca88be5b0d485a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab3f182005923191f7e09515f41200659c6ab415af7381dacc0a5d3615edfd0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ab3f182005923191f7e09515f41200659c6ab415af7381dacc0a5d3615edfd0", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ComponentData`, `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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling composite v0.1.0 (/opt/rustwide/workdir) [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, Entity, &mut T, &mut EventManager); [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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>>, HashMap<&'static str, Vec>)) -> BehaviorManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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: 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: value assigned to `idx` is never read [INFO] [stdout] --> src/lib.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut idx: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentData`, `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)]` 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, Entity, &mut T, &mut EventManager); [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:51 [INFO] [stdout] | [INFO] [stdout] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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>>, HashMap<&'static str, Vec>)) -> BehaviorManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [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: 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: value assigned to `idx` is never read [INFO] [stdout] --> src/lib.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut idx: Option = None; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "8ab3f182005923191f7e09515f41200659c6ab415af7381dacc0a5d3615edfd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab3f182005923191f7e09515f41200659c6ab415af7381dacc0a5d3615edfd0", kill_on_drop: false }` [INFO] [stdout] 8ab3f182005923191f7e09515f41200659c6ab415af7381dacc0a5d3615edfd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0a06b42ad720ebe9e3c816e1f93b07e4703ab3939e096aaaa57453b02652e4e4 [INFO] running `Command { std: "docker" "start" "-a" "0a06b42ad720ebe9e3c816e1f93b07e4703ab3939e096aaaa57453b02652e4e4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `ComponentData`, `EntityManager` [INFO] [stderr] --> src/behavior.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/behavior.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:43 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/behavior.rs:40:28 [INFO] [stderr] | [INFO] [stderr] 40 | pub behaviors: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/behavior.rs:46:48 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new((behaviors, families): (Vec>>, HashMap<&'static str, Vec>)) -> BehaviorManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/lib.rs:140:30 [INFO] [stderr] | [INFO] [stderr] 140 | fn match_families(&self, &FamilyMap) -> Vec<&'static str>; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FamilyMap` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/lib.rs:143:32 [INFO] [stderr] | [INFO] [stderr] 143 | fn set_families(&mut self, Vec<&'static str>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<&'static str>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/lib.rs:145:33 [INFO] [stderr] | [INFO] [stderr] 145 | fn belongs_to_family(&self, &'static str) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::family::FamilyDataHolder` [INFO] [stderr] --> src/behavior.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use super::family::FamilyDataHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityDataHolder` [INFO] [stderr] --> src/behavior.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `idx` is never read [INFO] [stderr] --> src/lib.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | let mut idx: Option = None; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(append,drain)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `append` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(append,drain)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ComponentData`, `EntityManager` [INFO] [stderr] --> src/behavior.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/behavior.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:35 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Entity` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:43 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/behavior.rs:35:51 [INFO] [stderr] | [INFO] [stderr] 35 | fn process(&self, Vec, Entity, &mut T, &mut EventManager); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut EventManager` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/behavior.rs:40:28 [INFO] [stderr] | [INFO] [stderr] 40 | pub behaviors: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/behavior.rs:46:48 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn new((behaviors, families): (Vec>>, HashMap<&'static str, Vec>)) -> BehaviorManager { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Behavior` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/lib.rs:140:30 [INFO] [stderr] | [INFO] [stderr] 140 | fn match_families(&self, &FamilyMap) -> Vec<&'static str>; [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FamilyMap` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/lib.rs:143:32 [INFO] [stderr] | [INFO] [stderr] 143 | fn set_families(&mut self, Vec<&'static str>); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vec<&'static str>` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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/lib.rs:145:33 [INFO] [stderr] | [INFO] [stderr] 145 | fn belongs_to_family(&self, &'static str) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'static str` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::family::FamilyDataHolder` [INFO] [stderr] --> src/behavior.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use super::family::FamilyDataHolder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EntityDataHolder` [INFO] [stderr] --> src/behavior.rs:27:20 [INFO] [stderr] | [INFO] [stderr] 27 | use super::{Entity,EntityDataHolder, ComponentData, EntityManager}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `idx` is never read [INFO] [stderr] --> src/lib.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | let mut idx: Option = None; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: the feature `drain` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:5:19 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(append,drain)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `append` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | #![feature(append,drain)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/composite-e5a1e6c22e2b8f21) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests composite [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/behavior.rs - behavior (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - EntityDataHolder (line 125) ... FAILED [INFO] [stdout] test src/builder.rs - builder (line 8) ... FAILED [INFO] [stdout] test src/family.rs - families (line 32) ... FAILED [INFO] [stdout] test src/builder.rs - builder (line 23) ... FAILED [INFO] [stdout] test src/lib.rs - EntityManager (line 260) ... FAILED [INFO] [stdout] test src/component_presence.rs - component_presence::ComponentPresence (line 16) ... FAILED [INFO] [stdout] test src/component_presence.rs - component_presence::ComponentPresence (line 29) ... FAILED [INFO] [stdout] test src/event.rs - event (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/behavior.rs - behavior (line 10) stdout ---- [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> src/behavior.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_behavior_rs_10_0() { [INFO] [stdout] | - this opening brace... [INFO] [stdout] ... [INFO] [stdout] 12 | } _doctest_main_src_behavior_rs_10_0() } [INFO] [stdout] | - ...matches this closing brace ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `]` [INFO] [stdout] --> src/behavior.rs:19:65 [INFO] [stdout] | [INFO] [stdout] 11 | behaviors!([MovementBehavior: family: movable, events: movement]]); [INFO] [stdout] | - unclosed delimiter ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/behavior.rs:19:66 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_behavior_rs_10_0() { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 11 | behaviors!([MovementBehavior: family: movable, events: movement]]); [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EntityDataHolder (line 125) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ComponentPresence` in this scope [INFO] [stdout] --> src/lib.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 4 | component1: ComponentPresence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Component1` in this scope [INFO] [stdout] --> src/lib.rs:127:35 [INFO] [stdout] | [INFO] [stdout] 3 | struct EntityData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | component1: ComponentPresence, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentPresence` in this scope [INFO] [stdout] --> src/lib.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 5 | component2: ComponentPresence, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Component2` in this scope [INFO] [stdout] --> src/lib.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 3 | struct EntityData { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 4 | component1: ComponentPresence, [INFO] [stdout] 5 | component2: ComponentPresence, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `prototypes` in this scope [INFO] [stdout] --> src/builder.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | prototypes!([tree: Glyph{ch:'t'}, Position{ .. Default::default()}], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Build` [INFO] [stdout] --> src/builder.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 7 | let ent = Build::tree(&mut manager).get_id(); [INFO] [stdout] | ^^^^^ use of undeclared type `Build` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/builder.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 7 | let ent = Build::tree(&mut manager).get_id(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/family.rs - families (line 32) stdout ---- [INFO] [stdout] error: cannot find macro `families` in this scope [INFO] [stdout] --> src/family.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 3 | families!( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/builder.rs - builder (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Build` [INFO] [stdout] --> src/builder.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 11 | Build::orc(&mut manager).at(10,15); [INFO] [stdout] | ^^^^^ use of undeclared type `Build` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Build` in this scope [INFO] [stdout] --> src/builder.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 3 | impl<'a> Build<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `manager` in this scope [INFO] [stdout] --> src/builder.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 11 | Build::orc(&mut manager).at(10,15); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - EntityManager (line 260) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityManager` [INFO] [stdout] --> src/lib.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut manager = EntityManager::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EntityManager` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/lib.rs:263:31 [INFO] [stdout] | [INFO] [stdout] 5 | manager.add_component_to(ent, Position{x: 1, y: 2}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/component_presence.rs - component_presence::ComponentPresence (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityManager` [INFO] [stdout] --> src/component_presence.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut manager = EntityManager::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EntityManager` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/component_presence.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 5 | manager.add_component_to(ent, Position{x:1, y:2}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/component_presence.rs - component_presence::ComponentPresence (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityManager` [INFO] [stdout] --> src/component_presence.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut manager = EntityManager::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EntityManager` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/event.rs - event (line 17) stdout ---- [INFO] [stdout] error: cannot find macro `events` in this scope [INFO] [stdout] --> src/event.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 15 | events!([input, InputEvent], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Key` in this scope [INFO] [stdout] --> src/event.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub pressed_key: Key, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/behavior.rs - behavior (line 10) [INFO] [stdout] src/builder.rs - builder (line 23) [INFO] [stdout] src/builder.rs - builder (line 8) [INFO] [stdout] src/component_presence.rs - component_presence::ComponentPresence (line 16) [INFO] [stdout] src/component_presence.rs - component_presence::ComponentPresence (line 29) [INFO] [stdout] src/event.rs - event (line 17) [INFO] [stdout] src/family.rs - families (line 32) [INFO] [stdout] src/lib.rs - EntityDataHolder (line 125) [INFO] [stdout] src/lib.rs - EntityManager (line 260) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0a06b42ad720ebe9e3c816e1f93b07e4703ab3939e096aaaa57453b02652e4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a06b42ad720ebe9e3c816e1f93b07e4703ab3939e096aaaa57453b02652e4e4", kill_on_drop: false }` [INFO] [stdout] 0a06b42ad720ebe9e3c816e1f93b07e4703ab3939e096aaaa57453b02652e4e4