[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fmagic" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/czipperz/magic on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-3/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0a1c78527c23b6d1602fcc73f59c34414b7ffd6c363be43761494dad68d5918 [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" "e0a1c78527c23b6d1602fcc73f59c34414b7ffd6c363be43761494dad68d5918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0a1c78527c23b6d1602fcc73f59c34414b7ffd6c363be43761494dad68d5918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a1c78527c23b6d1602fcc73f59c34414b7ffd6c363be43761494dad68d5918", kill_on_drop: false }` [INFO] [stdout] e0a1c78527c23b6d1602fcc73f59c34414b7ffd6c363be43761494dad68d5918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3371f9f44fdf87e2c97aac7068a890ca7c4363f4c478d4b9680ca22ccd0d3131 [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" "3371f9f44fdf87e2c97aac7068a890ca7c4363f4c478d4b9680ca22ccd0d3131", kill_on_drop: false }` [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: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_controller v0.1.0 (/opt/rustwide/workdir/magic_controller) [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] [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 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 3.84s [INFO] running `Command { std: "docker" "inspect" "3371f9f44fdf87e2c97aac7068a890ca7c4363f4c478d4b9680ca22ccd0d3131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3371f9f44fdf87e2c97aac7068a890ca7c4363f4c478d4b9680ca22ccd0d3131", kill_on_drop: false }` [INFO] [stdout] 3371f9f44fdf87e2c97aac7068a890ca7c4363f4c478d4b9680ca22ccd0d3131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08617c222701a01fa832b047d9067b47c240ab57a64c99dd4125b9192705feb4 [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" "08617c222701a01fa832b047d9067b47c240ab57a64c99dd4125b9192705feb4", kill_on_drop: false }` [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: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] [stderr] Compiling magic v0.1.0 (/opt/rustwide/workdir) [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: 20 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] [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 0.71s [INFO] running `Command { std: "docker" "inspect" "08617c222701a01fa832b047d9067b47c240ab57a64c99dd4125b9192705feb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08617c222701a01fa832b047d9067b47c240ab57a64c99dd4125b9192705feb4", kill_on_drop: false }` [INFO] [stdout] 08617c222701a01fa832b047d9067b47c240ab57a64c99dd4125b9192705feb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 628f229eecdc8f99fbfee9999303ab5d73aa955b83338d3186e860870d4e04b2 [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" "628f229eecdc8f99fbfee9999303ab5d73aa955b83338d3186e860870d4e04b2", kill_on_drop: false }` [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: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 20 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] 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] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/magic-fdead912bb3037d9) [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" "628f229eecdc8f99fbfee9999303ab5d73aa955b83338d3186e860870d4e04b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628f229eecdc8f99fbfee9999303ab5d73aa955b83338d3186e860870d4e04b2", kill_on_drop: false }` [INFO] [stdout] 628f229eecdc8f99fbfee9999303ab5d73aa955b83338d3186e860870d4e04b2