[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fczipperz%2Fmagic" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/czipperz/magic on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-1/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50f6e5e31b9b6c9371f94e1aa596d05ae4320d214a88f3865081218755d27de4 [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" "50f6e5e31b9b6c9371f94e1aa596d05ae4320d214a88f3865081218755d27de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50f6e5e31b9b6c9371f94e1aa596d05ae4320d214a88f3865081218755d27de4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f6e5e31b9b6c9371f94e1aa596d05ae4320d214a88f3865081218755d27de4", kill_on_drop: false }` [INFO] [stdout] 50f6e5e31b9b6c9371f94e1aa596d05ae4320d214a88f3865081218755d27de4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3fc0d64dc5120dec53d8264cc572dcce6d1fa8ce0326a77e0cb493c1d02d250 [INFO] running `Command { std: "docker" "start" "-a" "d3fc0d64dc5120dec53d8264cc572dcce6d1fa8ce0326a77e0cb493c1d02d250", 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/card/card_builder.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | cast_resolve: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - cast_resolve: Option>>, [INFO] [stdout] 13 + cast_resolve: Option>>, [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - triggers: Vec>>, [INFO] [stdout] 23 + triggers: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - replacement_effects: Vec>>, [INFO] [stdout] 24 + replacement_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - self_effects: Vec>>, [INFO] [stdout] 25 + self_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - global_effects: Vec>>, [INFO] [stdout] 26 + global_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - AttachTo(Target, Arc), [INFO] [stdout] 26 + AttachTo(Target, Arc), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub resolve: ByAddress>, [INFO] [stdout] 32 + pub resolve: ByAddress>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] 22 + Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - Player(Count, ByAddress bool>>), [INFO] [stdout] 20 + Player(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - Instance(Count, ByAddress bool>>), [INFO] [stdout] 21 + Instance(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] 22 + ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub triggers: Vec>>, [INFO] [stdout] 23 + pub triggers: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub replacement_effects: Vec>>, [INFO] [stdout] 24 + pub replacement_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub self_effects: Vec>>, [INFO] [stdout] 25 + pub self_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub global_effects: Vec>>, [INFO] [stdout] 26 + pub global_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - ui: &mut UserInterface, [INFO] [stdout] 11 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - ui: &mut UserInterface, [INFO] [stdout] 36 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - ui: &mut UserInterface, [INFO] [stdout] 50 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] 9 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stdout] 47 + fn resolve(&self, state: &State, ui: &mut dyn UserInterface, action: ActivatedAction) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling magic_controller v0.1.0 (/opt/rustwide/workdir/magic_controller) [INFO] [stderr] Compiling magic_cards v0.1.0 (/opt/rustwide/workdir/magic_cards) [INFO] [stderr] Compiling magic_graphics v0.1.0 (/opt/rustwide/workdir/magic_graphics) [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - effect: Arc, [INFO] [stdout] 40 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - effect: Arc, [INFO] [stdout] 54 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - effect: Arc, [INFO] [stdout] 80 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 16 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 14 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 47 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - _: &mut UserInterface, [INFO] [stdout] 32 + _: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 48 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 21 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 20 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] 29 + fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 43 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - _: &mut UserInterface, [INFO] [stdout] 86 + _: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 49 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub(crate) ui: Box, [INFO] [stdout] 7 + pub(crate) ui: Box, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] 10 + pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - ui: &mut UserInterface, [INFO] [stdout] 54 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stdout] 138 + fn allow_mana_ability_responses(ui: &mut dyn UserInterface, state: &mut State) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - ui: &mut UserInterface, [INFO] [stdout] 152 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - resolver: &ActionResolver, [INFO] [stdout] 153 + resolver: &dyn ActionResolver, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - ui: &mut UserInterface, [INFO] [stdout] 161 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 - fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] 190 + fn select_mana(_ui: &mut dyn UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - ui: &mut UserInterface, [INFO] [stdout] 197 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] [stdout] warning: 9 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 5.90s [INFO] running `Command { std: "docker" "inspect" "d3fc0d64dc5120dec53d8264cc572dcce6d1fa8ce0326a77e0cb493c1d02d250", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3fc0d64dc5120dec53d8264cc572dcce6d1fa8ce0326a77e0cb493c1d02d250", kill_on_drop: false }` [INFO] [stdout] d3fc0d64dc5120dec53d8264cc572dcce6d1fa8ce0326a77e0cb493c1d02d250 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1a32930655ece022c272c6a95b663b2f138ccae8a7cbc5da52f2b23f014618c [INFO] running `Command { std: "docker" "start" "-a" "b1a32930655ece022c272c6a95b663b2f138ccae8a7cbc5da52f2b23f014618c", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - cast_resolve: Option>>, [INFO] [stdout] 13 + cast_resolve: Option>>, [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - triggers: Vec>>, [INFO] [stdout] 23 + triggers: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - replacement_effects: Vec>>, [INFO] [stdout] 24 + replacement_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - self_effects: Vec>>, [INFO] [stdout] 25 + self_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - global_effects: Vec>>, [INFO] [stdout] 26 + global_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - AttachTo(Target, Arc), [INFO] [stdout] 26 + AttachTo(Target, Arc), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub resolve: ByAddress>, [INFO] [stdout] 32 + pub resolve: ByAddress>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] 22 + Sacrifice(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - Player(Count, ByAddress bool>>), [INFO] [stdout] 20 + Player(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - Instance(Count, ByAddress bool>>), [INFO] [stdout] 21 + Instance(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] 22 + ActivatedAction(Count, ByAddress bool>>), [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub triggers: Vec>>, [INFO] [stdout] 23 + pub triggers: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub replacement_effects: Vec>>, [INFO] [stdout] 24 + pub replacement_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub self_effects: Vec>>, [INFO] [stdout] 25 + pub self_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub global_effects: Vec>>, [INFO] [stdout] 26 + pub global_effects: Vec>>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - ui: &mut UserInterface, [INFO] [stdout] 11 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - ui: &mut UserInterface, [INFO] [stdout] 36 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - ui: &mut UserInterface, [INFO] [stdout] 50 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] 9 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, _: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stdout] 47 + fn resolve(&self, state: &State, ui: &mut dyn UserInterface, action: ActivatedAction) [INFO] [stdout] | [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_cards/src/enchantments/auras/aura.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | effect: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - effect: Arc, [INFO] [stdout] 40 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - effect: Arc, [INFO] [stdout] 54 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - effect: Arc, [INFO] [stdout] 80 + effect: Arc, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 16 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 14 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 47 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - _: &mut UserInterface, [INFO] [stdout] 32 + _: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 48 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 21 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 20 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] 29 + fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stdout] | [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:43:46 [INFO] [stdout] | [INFO] [stdout] 43 | fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 43 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - _: &mut UserInterface, [INFO] [stdout] 86 + _: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] 49 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub(crate) ui: Box, [INFO] [stdout] 7 + pub(crate) ui: Box, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] 10 + pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - ui: &mut UserInterface, [INFO] [stdout] 54 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 - fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stdout] 138 + fn allow_mana_ability_responses(ui: &mut dyn UserInterface, state: &mut State) -> Vec { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - ui: &mut UserInterface, [INFO] [stdout] 152 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 - resolver: &ActionResolver, [INFO] [stdout] 153 + resolver: &dyn ActionResolver, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - ui: &mut UserInterface, [INFO] [stdout] 161 + ui: &mut dyn UserInterface, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 - fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] 190 + fn select_mana(_ui: &mut dyn UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 - ui: &mut UserInterface, [INFO] [stdout] 197 + ui: &mut dyn UserInterface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "b1a32930655ece022c272c6a95b663b2f138ccae8a7cbc5da52f2b23f014618c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a32930655ece022c272c6a95b663b2f138ccae8a7cbc5da52f2b23f014618c", kill_on_drop: false }` [INFO] [stdout] b1a32930655ece022c272c6a95b663b2f138ccae8a7cbc5da52f2b23f014618c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca0d9f2dfe77eea726d5947bccc1f0f089cd5eb1fc70418de3315a4ac0e977c2 [INFO] running `Command { std: "docker" "start" "-a" "ca0d9f2dfe77eea726d5947bccc1f0f089cd5eb1fc70418de3315a4ac0e977c2", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - cast_resolve: Option>>, [INFO] [stderr] 13 + cast_resolve: Option>>, [INFO] [stderr] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - triggers: Vec>>, [INFO] [stderr] 23 + triggers: Vec>>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - replacement_effects: Vec>>, [INFO] [stderr] 24 + replacement_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - self_effects: Vec>>, [INFO] [stderr] 25 + self_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - global_effects: Vec>>, [INFO] [stderr] 26 + global_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - AttachTo(Target, Arc), [INFO] [stderr] 26 + AttachTo(Target, Arc), [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - pub resolve: ByAddress>, [INFO] [stderr] 32 + pub resolve: ByAddress>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - Sacrifice(Count, ByAddress bool>>), [INFO] [stderr] 22 + Sacrifice(Count, ByAddress bool>>), [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - Player(Count, ByAddress bool>>), [INFO] [stderr] 20 + Player(Count, ByAddress bool>>), [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - Instance(Count, ByAddress bool>>), [INFO] [stderr] 21 + Instance(Count, ByAddress bool>>), [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - ActivatedAction(Count, ByAddress bool>>), [INFO] [stderr] 22 + ActivatedAction(Count, ByAddress bool>>), [INFO] [stderr] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - pub triggers: Vec>>, [INFO] [stderr] 23 + pub triggers: Vec>>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub replacement_effects: Vec>>, [INFO] [stderr] 24 + pub replacement_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - pub self_effects: Vec>>, [INFO] [stderr] 25 + pub self_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - pub global_effects: Vec>>, [INFO] [stderr] 26 + pub global_effects: Vec>>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - ui: &mut UserInterface, [INFO] [stderr] 11 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 - ui: &mut UserInterface, [INFO] [stderr] 36 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - ui: &mut UserInterface, [INFO] [stderr] 50 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - fn resolve(&self, _: &State, _: &mut UserInterface, _: ActivatedAction) -> Vec { [INFO] [stderr] 9 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, _: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - fn resolve(&self, state: &State, ui: &mut UserInterface, action: ActivatedAction) [INFO] [stderr] 47 + fn resolve(&self, state: &State, ui: &mut dyn UserInterface, action: ActivatedAction) [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub(crate) ui: Box, [INFO] [stderr] 7 + pub(crate) ui: Box, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stderr] 10 + pub(crate) stack: Vec<(Arc, ActivatedAction)>, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - ui: &mut UserInterface, [INFO] [stderr] 54 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 138 - fn allow_mana_ability_responses(ui: &mut UserInterface, state: &mut State) -> Vec { [INFO] [stderr] 138 + fn allow_mana_ability_responses(ui: &mut dyn UserInterface, state: &mut State) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 152 - ui: &mut UserInterface, [INFO] [stderr] 152 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 153 - resolver: &ActionResolver, [INFO] [stderr] 153 + resolver: &dyn ActionResolver, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 161 - ui: &mut UserInterface, [INFO] [stderr] 161 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 190 - fn select_mana(_ui: &mut UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stderr] 190 + fn select_mana(_ui: &mut dyn UserInterface, _state: &State, cost: ManaCost) -> Option { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 197 - ui: &mut UserInterface, [INFO] [stderr] 197 + ui: &mut dyn UserInterface, [INFO] [stderr] | [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/enchantments/auras/aura.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | effect: Arc, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - effect: Arc, [INFO] [stderr] 40 + effect: Arc, [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - effect: Arc, [INFO] [stderr] 54 + effect: Arc, [INFO] [stderr] | [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] | ^^^^^^ [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] running 0 tests [INFO] [stderr] = note: for more information, see [INFO] [stdout] [INFO] [stderr] help: use `dyn` [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 80 - effect: Arc, [INFO] [stderr] 80 + effect: Arc, [INFO] [stderr] | [INFO] [stderr] [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 16 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 14 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 47 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - _: &mut UserInterface, [INFO] [stderr] 32 + _: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 48 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 21 - fn resolve(&self, _: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 21 + fn resolve(&self, _: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 20 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 20 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stderr] 29 + fn attach(action: ActivatedAction, effect: Arc) -> Event { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 43 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 43 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 86 - _: &mut UserInterface, [INFO] [stderr] 86 + _: &mut dyn UserInterface, [INFO] [stderr] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn resolve(&self, state: &State, _: &mut UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] 49 + fn resolve(&self, state: &State, _: &mut dyn UserInterface, action: ActivatedAction) -> Vec { [INFO] [stderr] | [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-2ec75b3127996017) [INFO] running `Command { std: "docker" "inspect" "ca0d9f2dfe77eea726d5947bccc1f0f089cd5eb1fc70418de3315a4ac0e977c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0d9f2dfe77eea726d5947bccc1f0f089cd5eb1fc70418de3315a4ac0e977c2", kill_on_drop: false }` [INFO] [stdout] ca0d9f2dfe77eea726d5947bccc1f0f089cd5eb1fc70418de3315a4ac0e977c2