[INFO] cloning repository https://github.com/mabruckner/mathland [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mabruckner/mathland" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fmathland", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fmathland'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0300787f6e0bf4b369640848341e08536843a9a [INFO] checking mabruckner/mathland against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fmathland" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mabruckner/mathland on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mabruckner/mathland [INFO] finished tweaking git repo https://github.com/mabruckner/mathland [INFO] tweaked toml for git repo https://github.com/mabruckner/mathland written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mabruckner/mathland already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mabruckner/yew.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.6 [INFO] [stderr] Downloaded stdweb-derive v0.5.1 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.3 [INFO] [stderr] Downloaded base-x v0.2.4 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded syn v0.15.30 [INFO] [stderr] Downloaded cc v1.0.34 [INFO] [stderr] Downloaded backtrace v0.3.15 [INFO] [stderr] Downloaded http v0.1.17 [INFO] [stderr] Downloaded serde_derive v1.0.90 [INFO] [stderr] Downloaded serde v1.0.90 [INFO] [stderr] Downloaded stdweb v0.4.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3a95f32b240cfc4e896441011d706ddd4c21e6d9658ef28ed7be09387b02861 [INFO] running `Command { std: "docker" "start" "-a" "a3a95f32b240cfc4e896441011d706ddd4c21e6d9658ef28ed7be09387b02861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3a95f32b240cfc4e896441011d706ddd4c21e6d9658ef28ed7be09387b02861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3a95f32b240cfc4e896441011d706ddd4c21e6d9658ef28ed7be09387b02861", kill_on_drop: false }` [INFO] [stdout] a3a95f32b240cfc4e896441011d706ddd4c21e6d9658ef28ed7be09387b02861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f367dfd2e7be86ea9d62564ef68cfbc3891fab2bad4116576ae7a9a50675ca6a [INFO] running `Command { std: "docker" "start" "-a" "f367dfd2e7be86ea9d62564ef68cfbc3891fab2bad4116576ae7a9a50675ca6a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling stdweb v0.4.15 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling base-x v0.2.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.6 [INFO] [stderr] Checking yew v0.7.0 (https://github.com/mabruckner/yew.git?branch=svg-hack#b69be1d5) [INFO] [stderr] Checking mathland v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/lib.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::distributions::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/enemy.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | 0...3 => ("Circle", Box::new(CircleCard())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub card: Box, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | pub card: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub obstacles: Vec<([f32; 2], Box)>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub obstacles: Vec<([f32; 2], Box)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub encounters: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | pub encounters: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub enemy: Box, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | pub enemy: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub problem: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub problem: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub _anim_task: Box, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | pub _anim_task: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | fn generate_problem(&mut self) -> Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | fn generate_problem(&mut self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn generate_problem(&mut self) -> Box { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | fn generate_problem(&mut self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Distribution` is imported redundantly [INFO] [stdout] --> src/lib.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::distributions::{Normal, Distribution}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | use rand::prelude::*; [INFO] [stdout] | ---------------- the item `Distribution` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/enemy.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | 0...3 => ("Circle", Box::new(CircleCard())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | let (name, card): (_, Box) = match self.level { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | let (name, card): (_, Box) = match self.level { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | pub card: Box, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | pub card: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub obstacles: Vec<([f32; 2], Box)>, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | pub obstacles: Vec<([f32; 2], Box)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub encounters: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | pub encounters: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | pub enemy: Box, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | pub enemy: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | pub problem: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 107 | pub problem: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | pub _anim_task: Box, [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | pub _anim_task: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | fn generate_problem(&mut self) -> Box; [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 | fn generate_problem(&mut self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn generate_problem(&mut self) -> Box { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 | fn generate_problem(&mut self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:118:35 [INFO] [stdout] | [INFO] [stdout] 118 | let (name, card): (_, Box) = match self.level { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | let (name, card): (_, Box) = match self.level { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | std::mem::replace(&mut self.state, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 343 | let _ = std::mem::replace(&mut self.state, s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lib.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | std::mem::replace(&mut self.state, s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 343 | let _ = std::mem::replace(&mut self.state, s); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: stdweb v0.4.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f367dfd2e7be86ea9d62564ef68cfbc3891fab2bad4116576ae7a9a50675ca6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f367dfd2e7be86ea9d62564ef68cfbc3891fab2bad4116576ae7a9a50675ca6a", kill_on_drop: false }` [INFO] [stdout] f367dfd2e7be86ea9d62564ef68cfbc3891fab2bad4116576ae7a9a50675ca6a