[INFO] cloning repository https://github.com/czipperz/magic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/czipperz/magic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fmagic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fmagic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2afa26ed6d3a46b4b87821cb266c90d4d94c534a [INFO] testing czipperz/magic against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fmagic" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/czipperz/magic on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/czipperz/magic [INFO] finished tweaking git repo https://github.com/czipperz/magic [INFO] tweaked toml for git repo https://github.com/czipperz/magic written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/czipperz/magic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfdd90210c00837724a099b2d0940f37c9d797650b0c137dd2b17b5d8ee137ce [INFO] running `Command { std: "docker" "start" "-a" "cfdd90210c00837724a099b2d0940f37c9d797650b0c137dd2b17b5d8ee137ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfdd90210c00837724a099b2d0940f37c9d797650b0c137dd2b17b5d8ee137ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfdd90210c00837724a099b2d0940f37c9d797650b0c137dd2b17b5d8ee137ce", kill_on_drop: false }` [INFO] [stdout] cfdd90210c00837724a099b2d0940f37c9d797650b0c137dd2b17b5d8ee137ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b60ec7c51e2566f67774e38f0e129e0edace219137848313f446beb19263ce7d [INFO] running `Command { std: "docker" "start" "-a" "b60ec7c51e2566f67774e38f0e129e0edace219137848313f446beb19263ce7d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling by_address v1.0.4 [INFO] [stderr] Compiling magic_core v0.1.0 (/opt/rustwide/workdir/magic_core) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub resolve: ByAddress>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub resolve: ByAddress>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/cost.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | Player(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, PlayerID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | Instance(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, &ActivatedAction) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub triggers: Vec>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub replacement_effects: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub self_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub global_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | cast_resolve: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | triggers: Vec>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | replacement_effects: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | self_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | global_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/event.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | AttachTo(Target, Arc), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/replacement_effect.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/state_events.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/state_events.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/test_util.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling magic_graphics v0.1.0 (/opt/rustwide/workdir/magic_graphics) [INFO] [stderr] Compiling magic_cards v0.1.0 (/opt/rustwide/workdir/magic_cards) [INFO] [stderr] Compiling magic_controller v0.1.0 (/opt/rustwide/workdir/magic_controller) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/controller.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) ui: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/controller.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | resolver: &ActionResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/cast.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/mana_ability.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/ankh_of_mishra.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/basalt_monolith.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | _: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/basalt_monolith.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | _: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/animate_dead.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/instants/ancestral_recall.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/sorceries/armageddon.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling magic v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.23s [INFO] running `Command { std: "docker" "inspect" "b60ec7c51e2566f67774e38f0e129e0edace219137848313f446beb19263ce7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60ec7c51e2566f67774e38f0e129e0edace219137848313f446beb19263ce7d", kill_on_drop: false }` [INFO] [stdout] b60ec7c51e2566f67774e38f0e129e0edace219137848313f446beb19263ce7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e66f83a6a3e284d131dfea622b9fa0cec9b259734e76a089aadfb286fa7d3991 [INFO] running `Command { std: "docker" "start" "-a" "e66f83a6a3e284d131dfea622b9fa0cec9b259734e76a089aadfb286fa7d3991", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub resolve: ByAddress>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub resolve: ByAddress>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/action.rs:47:47 [INFO] [stdout] | [INFO] [stdout] 47 | fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/cost.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | Player(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, PlayerID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | Instance(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/action/target.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, &ActivatedAction) -> bool` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | pub triggers: Vec>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | pub replacement_effects: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub self_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub global_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | cast_resolve: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | triggers: Vec>>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | replacement_effects: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | self_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/card/card_builder.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | global_effects: Vec>>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/event.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | AttachTo(Target, Arc), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/replacement_effect.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/state_events.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/state_events.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_core/src/test_util.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/controller.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) ui: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/controller.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | resolver: &ActionResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_controller/src/stack_controller.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | ui: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/cast.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/mana_ability.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/ankh_of_mishra.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/basalt_monolith.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | _: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/artifacts/basalt_monolith.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:29:48 [INFO] [stdout] | [INFO] [stdout] 29 | fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling magic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | effect: Arc, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/aura.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | _: &mut UserInterface, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/enchantments/auras/animate_dead.rs:49:46 [INFO] [stdout] | [INFO] [stdout] 49 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/instants/ancestral_recall.rs:21:42 [INFO] [stdout] | [INFO] [stdout] 21 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> magic_cards/src/sorceries/armageddon.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "e66f83a6a3e284d131dfea622b9fa0cec9b259734e76a089aadfb286fa7d3991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66f83a6a3e284d131dfea622b9fa0cec9b259734e76a089aadfb286fa7d3991", kill_on_drop: false }` [INFO] [stdout] e66f83a6a3e284d131dfea622b9fa0cec9b259734e76a089aadfb286fa7d3991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10efb47637e89f9d357b692970d2cad73de2535faddc8a156705dfbb7ed7957f [INFO] running `Command { std: "docker" "start" "-a" "10efb47637e89f9d357b692970d2cad73de2535faddc8a156705dfbb7ed7957f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/action.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | pub resolve: ByAddress>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/action.rs:32:32 [INFO] [stderr] | [INFO] [stderr] 32 | pub resolve: ByAddress>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/action.rs:47:47 [INFO] [stderr] | [INFO] [stderr] 47 | fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/cost.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | Sacrifice(Count, ByAddress bool>>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/target.rs:20:33 [INFO] [stderr] | [INFO] [stderr] 20 | Player(Count, ByAddress bool>>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, PlayerID) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/target.rs:21:35 [INFO] [stderr] | [INFO] [stderr] 21 | Instance(Count, ByAddress bool>>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, InstanceID) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/action/target.rs:22:42 [INFO] [stderr] | [INFO] [stderr] 22 | ActivatedAction(Count, ByAddress bool>>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&State, &ActivatedAction) -> bool` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card.rs:23:37 [INFO] [stderr] | [INFO] [stderr] 23 | pub triggers: Vec>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card.rs:24:48 [INFO] [stderr] | [INFO] [stderr] 24 | pub replacement_effects: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card.rs:25:41 [INFO] [stderr] | [INFO] [stderr] 25 | pub self_effects: Vec>>, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | pub global_effects: Vec>>, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card_builder.rs:13:40 [INFO] [stderr] | [INFO] [stderr] 13 | cast_resolve: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card_builder.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | triggers: Vec>>, [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn Trigger` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card_builder.rs:24:44 [INFO] [stderr] | [INFO] [stderr] 24 | replacement_effects: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ReplacementEffect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card_builder.rs:25:37 [INFO] [stderr] | [INFO] [stderr] 25 | self_effects: Vec>>, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/card/card_builder.rs:26:39 [INFO] [stderr] | [INFO] [stderr] 26 | global_effects: Vec>>, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/event.rs:26:26 [INFO] [stderr] | [INFO] [stderr] 26 | AttachTo(Target, Arc), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/replacement_effect.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/state_events.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/state_events.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_core/src/test_util.rs:9:42 [INFO] [stderr] | [INFO] [stderr] 9 | fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `magic_core` (lib) generated 21 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/cast.rs:16:46 [INFO] [stderr] | [INFO] [stderr] 16 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/mana_ability.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/artifacts/ankh_of_mishra.rs:47:42 [INFO] [stderr] | [INFO] [stderr] 47 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/artifacts/basalt_monolith.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | _: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/artifacts/basalt_monolith.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:29:48 [INFO] [stderr] | [INFO] [stderr] 29 | fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | effect: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:43:46 [INFO] [stderr] | [INFO] [stderr] 43 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | effect: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | effect: Arc, [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Effect` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/aura.rs:86:17 [INFO] [stderr] | [INFO] [stderr] 86 | _: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/enchantments/auras/animate_dead.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/instants/ancestral_recall.rs:21:42 [INFO] [stderr] | [INFO] [stderr] 21 | fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_cards/src/sorceries/armageddon.rs:20:46 [INFO] [stderr] | [INFO] [stderr] 20 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `magic_cards` (lib) generated 14 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/controller.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) ui: Box, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/controller.rs:10:32 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:54:14 [INFO] [stderr] | [INFO] [stderr] 54 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:138:42 [INFO] [stderr] | [INFO] [stderr] 138 | fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:152:14 [INFO] [stderr] | [INFO] [stderr] 152 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:153:16 [INFO] [stderr] | [INFO] [stderr] 153 | resolver: &ActionResolver, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ActionResolver` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:161:14 [INFO] [stderr] | [INFO] [stderr] 161 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:190:26 [INFO] [stderr] | [INFO] [stderr] 190 | fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> magic_controller/src/stack_controller.rs:197:14 [INFO] [stderr] | [INFO] [stderr] 197 | ui: &mut UserInterface, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn UserInterface` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `magic_controller` (lib) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/magic-7cc198c57900110b) [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] running `Command { std: "docker" "inspect" "10efb47637e89f9d357b692970d2cad73de2535faddc8a156705dfbb7ed7957f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10efb47637e89f9d357b692970d2cad73de2535faddc8a156705dfbb7ed7957f", kill_on_drop: false }` [INFO] [stdout] 10efb47637e89f9d357b692970d2cad73de2535faddc8a156705dfbb7ed7957f