[INFO] fetching crate jazz_vm 0.1.5... [INFO] testing jazz_vm-0.1.5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jazz_vm 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate jazz_vm 0.1.5 [INFO] finished tweaking crates.io crate jazz_vm 0.1.5 [INFO] tweaked toml for crates.io crate jazz_vm 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jazz_vm 0.1.5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.9.2 (available: v3.0.0) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d8ee99fd834ab1daef45220462184bbd7c766965bae6b2cc8f00fdee2112911 [INFO] running `Command { std: "docker" "start" "-a" "5d8ee99fd834ab1daef45220462184bbd7c766965bae6b2cc8f00fdee2112911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d8ee99fd834ab1daef45220462184bbd7c766965bae6b2cc8f00fdee2112911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d8ee99fd834ab1daef45220462184bbd7c766965bae6b2cc8f00fdee2112911", kill_on_drop: false }` [INFO] [stdout] 5d8ee99fd834ab1daef45220462184bbd7c766965bae6b2cc8f00fdee2112911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2addd61d83ebedfd320306e5ff05ecad5d01cbe91ee5e443d32f3082d198a56 [INFO] running `Command { std: "docker" "start" "-a" "e2addd61d83ebedfd320306e5ff05ecad5d01cbe91ee5e443d32f3082d198a56", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling jazz_vm v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/fixed_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let mut arr: [::std::cell::Cell; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a Fn(&Executor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a dyn Fn(&Executor) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&JitProvider>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&dyn JitProvider>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&JitProvider> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&dyn JitProvider> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a dyn Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic_block.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &dyn Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a dyn Object; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | program: &CommonProgramContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | program: &dyn CommonProgramContext, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &dyn CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &JitProvider) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &dyn JitProvider) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&dyn Object, &'static Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static dyn Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basic_block.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | ... let mut target_opcode: Option = const_get_field_to_opcode( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 175 - ::std::mem::transmute::(value) [INFO] [stdout] 175 + i8::cast_unsigned(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 185 - ::std::mem::transmute::(value) [INFO] [stdout] 185 + u16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 195 - ::std::mem::transmute::(value) [INFO] [stdout] 195 + i16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 205 - ::std::mem::transmute::(value) [INFO] [stdout] 205 + u32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 215 - ::std::mem::transmute::(value) [INFO] [stdout] 215 + i32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 225 - ::std::mem::transmute::(value) [INFO] [stdout] 225 + u64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 235 - ::std::mem::transmute::(value) [INFO] [stdout] 235 + i64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 250 - ::std::mem::transmute::(value) [INFO] [stdout] 250 + f64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 5 - ::std::mem::transmute::(v) [INFO] [stdout] 5 + u64::to_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 11 - ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] 11 + u64::from_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 24 - ::std::mem::transmute::(v) [INFO] [stdout] 24 + f64::to_bits(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] 50 + _ => std::panic::panic_any(VMError::from("Invalid prototype object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 59 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 59 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 68 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 68 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 118 - _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] 118 + _ => std::panic::panic_any(VMError::from("Unknown type")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 146 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 146 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 43 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 58 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:70:75 [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] 70 + self.elements.borrow_mut().pop().unwrap_or_else(|| std::panic::panic_any(VMError::from("No elements"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 - panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] 67 + std::panic::panic_any(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | "Attempting to call a dynamic object without the `__call__` method" [INFO] [stdout] 77 | | ))) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] 75 + None => std::panic::panic_any(VMError::from(RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 - Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] 10 + Self::from_value(other).unwrap_or_else(|| std::panic::panic_any(VMError::from("Invalid cast"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 39 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 48 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 48 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 92 - panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] 92 + std::panic::panic_any(VMError::from("Cannot cast to target type")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 107 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] 28 + std::panic::panic_any(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 37 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 47 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 47 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 - panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] 68 + panic!("Index out of bound {:?}",id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] 50 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 54 - panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] 54 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 62 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 70 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 198 - panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] 198 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(errors::VMError::from( [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | format!("Not callable. Got: {:?}", callable_val) [INFO] [stdout] 109 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(errors::VMError::from( [INFO] [stdout] 107 + _ => std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1077 | eval_select_opcode_sequence!(self, left); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1086 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1102 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1136 - panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] 1136 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1161 - panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] 1161 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(errors::VMError::from(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 76 - panic!(errors::VMError::from(e)) [INFO] [stdout] 76 + std::panic::panic_any(errors::VMError::from(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 86 - panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] 86 + std::panic::panic_any(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 93 - panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] 93 + std::panic::panic_any(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 96 - panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] 96 + std::panic::panic_any(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 130 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 130 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 142 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 21 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 41 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 61 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 81 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 81 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 101 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 121 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 121 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 89 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 105 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 105 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 - panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] 138 + std::panic::panic_any(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] 25 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 36 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] 36 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 41 + None => std::panic::panic_any(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 57 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] 57 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] 60 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] 63 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] 69 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] 28 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as i64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 - Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] 35 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as f64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/value.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | format!("Not an object: {:?}", self) [INFO] [stdout] 33 | | ))); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 - panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] 31 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/fixed_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::ValueContext` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use value::ValueContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use value::Value; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let mut arr: [::std::cell::Cell; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a Fn(&Executor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a dyn Fn(&Executor) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&JitProvider>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&dyn JitProvider>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&JitProvider> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&dyn JitProvider> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a dyn Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic_block.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &dyn Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a dyn Object; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | program: &CommonProgramContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | program: &dyn CommonProgramContext, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &dyn CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &JitProvider) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &dyn JitProvider) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&dyn Object, &'static Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static dyn Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basic_block.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | ... let mut target_opcode: Option = const_get_field_to_opcode( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `END` is never used [INFO] [stdout] --> src/main.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | const END: i64 = 100000; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => panic!(e.unwrap().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => panic!("{}", e.unwrap().to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 175 - ::std::mem::transmute::(value) [INFO] [stdout] 175 + i8::cast_unsigned(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 185 - ::std::mem::transmute::(value) [INFO] [stdout] 185 + u16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 195 - ::std::mem::transmute::(value) [INFO] [stdout] 195 + i16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 205 - ::std::mem::transmute::(value) [INFO] [stdout] 205 + u32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 215 - ::std::mem::transmute::(value) [INFO] [stdout] 215 + i32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 225 - ::std::mem::transmute::(value) [INFO] [stdout] 225 + u64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 235 - ::std::mem::transmute::(value) [INFO] [stdout] 235 + i64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 250 - ::std::mem::transmute::(value) [INFO] [stdout] 250 + f64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 5 - ::std::mem::transmute::(v) [INFO] [stdout] 5 + u64::to_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 11 - ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] 11 + u64::from_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 24 - ::std::mem::transmute::(v) [INFO] [stdout] 24 + f64::to_bits(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] 50 + _ => std::panic::panic_any(VMError::from("Invalid prototype object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 59 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 59 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 68 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 68 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 118 - _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] 118 + _ => std::panic::panic_any(VMError::from("Unknown type")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 146 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 146 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 43 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 58 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:70:75 [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] 70 + self.elements.borrow_mut().pop().unwrap_or_else(|| std::panic::panic_any(VMError::from("No elements"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 - panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] 67 + std::panic::panic_any(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | "Attempting to call a dynamic object without the `__call__` method" [INFO] [stdout] 77 | | ))) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] 75 + None => std::panic::panic_any(VMError::from(RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 - Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] 10 + Self::from_value(other).unwrap_or_else(|| std::panic::panic_any(VMError::from("Invalid cast"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 39 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 48 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 48 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 92 - panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] 92 + std::panic::panic_any(VMError::from("Cannot cast to target type")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 107 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] 28 + std::panic::panic_any(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 37 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 47 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 47 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 - panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] 68 + panic!("Index out of bound {:?}",id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] 50 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 54 - panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] 54 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 62 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 70 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 198 - panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] 198 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(errors::VMError::from( [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | format!("Not callable. Got: {:?}", callable_val) [INFO] [stdout] 109 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(errors::VMError::from( [INFO] [stdout] 107 + _ => std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1077 | eval_select_opcode_sequence!(self, left); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1086 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1102 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1136 - panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] 1136 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1161 - panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] 1161 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(errors::VMError::from(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 76 - panic!(errors::VMError::from(e)) [INFO] [stdout] 76 + std::panic::panic_any(errors::VMError::from(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 86 - panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] 86 + std::panic::panic_any(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 93 - panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] 93 + std::panic::panic_any(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 96 - panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] 96 + std::panic::panic_any(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 130 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 130 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 142 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 21 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 41 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 61 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 81 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 81 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 101 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 121 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 121 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 89 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 105 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 105 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 - panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] 138 + std::panic::panic_any(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] 25 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 36 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] 36 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 41 + None => std::panic::panic_any(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 57 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] 57 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] 60 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] 63 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] 69 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] 28 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as i64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 - Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] 35 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as f64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/value.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | format!("Not an object: {:?}", self) [INFO] [stdout] 33 | | ))); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 - panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] 31 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.56s [INFO] running `Command { std: "docker" "inspect" "e2addd61d83ebedfd320306e5ff05ecad5d01cbe91ee5e443d32f3082d198a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2addd61d83ebedfd320306e5ff05ecad5d01cbe91ee5e443d32f3082d198a56", kill_on_drop: false }` [INFO] [stdout] e2addd61d83ebedfd320306e5ff05ecad5d01cbe91ee5e443d32f3082d198a56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28649a43335fcdcc014d59a62485730a2baeca041c5ca4f17ecc00ea419082f0 [INFO] running `Command { std: "docker" "start" "-a" "28649a43335fcdcc014d59a62485730a2baeca041c5ca4f17ecc00ea419082f0", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/fixed_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let mut arr: [::std::cell::Cell; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a Fn(&Executor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a dyn Fn(&Executor) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&JitProvider>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&dyn JitProvider>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&JitProvider> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&dyn JitProvider> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a dyn Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic_block.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &dyn Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a dyn Object; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | program: &CommonProgramContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | program: &dyn CommonProgramContext, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &dyn CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &JitProvider) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &dyn JitProvider) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&dyn Object, &'static Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static dyn Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basic_block.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | ... let mut target_opcode: Option = const_get_field_to_opcode( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 175 - ::std::mem::transmute::(value) [INFO] [stdout] 175 + i8::cast_unsigned(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 185 - ::std::mem::transmute::(value) [INFO] [stdout] 185 + u16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 195 - ::std::mem::transmute::(value) [INFO] [stdout] 195 + i16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 205 - ::std::mem::transmute::(value) [INFO] [stdout] 205 + u32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 215 - ::std::mem::transmute::(value) [INFO] [stdout] 215 + i32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 225 - ::std::mem::transmute::(value) [INFO] [stdout] 225 + u64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 235 - ::std::mem::transmute::(value) [INFO] [stdout] 235 + i64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 250 - ::std::mem::transmute::(value) [INFO] [stdout] 250 + f64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 5 - ::std::mem::transmute::(v) [INFO] [stdout] 5 + u64::to_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 11 - ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] 11 + u64::from_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 24 - ::std::mem::transmute::(v) [INFO] [stdout] 24 + f64::to_bits(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] 50 + _ => std::panic::panic_any(VMError::from("Invalid prototype object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 59 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 59 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 68 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 68 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 118 - _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] 118 + _ => std::panic::panic_any(VMError::from("Unknown type")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 146 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 146 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 43 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 58 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:70:75 [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] 70 + self.elements.borrow_mut().pop().unwrap_or_else(|| std::panic::panic_any(VMError::from("No elements"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 - panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] 67 + std::panic::panic_any(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | "Attempting to call a dynamic object without the `__call__` method" [INFO] [stdout] 77 | | ))) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] 75 + None => std::panic::panic_any(VMError::from(RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 - Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] 10 + Self::from_value(other).unwrap_or_else(|| std::panic::panic_any(VMError::from("Invalid cast"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 39 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 48 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 48 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 92 - panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] 92 + std::panic::panic_any(VMError::from("Cannot cast to target type")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 107 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] 28 + std::panic::panic_any(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 37 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 47 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 47 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 - panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] 68 + panic!("Index out of bound {:?}",id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] 50 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 54 - panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] 54 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 62 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 70 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 198 - panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] 198 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(errors::VMError::from( [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | format!("Not callable. Got: {:?}", callable_val) [INFO] [stdout] 109 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(errors::VMError::from( [INFO] [stdout] 107 + _ => std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1077 | eval_select_opcode_sequence!(self, left); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1086 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1102 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1136 - panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] 1136 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1161 - panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] 1161 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(errors::VMError::from(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 76 - panic!(errors::VMError::from(e)) [INFO] [stdout] 76 + std::panic::panic_any(errors::VMError::from(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 86 - panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] 86 + std::panic::panic_any(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 93 - panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] 93 + std::panic::panic_any(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 96 - panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] 96 + std::panic::panic_any(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 130 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 130 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 142 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 21 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 41 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 61 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 61 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 81 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 81 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 101 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 101 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 121 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 121 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 89 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 89 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 105 - panic!(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] 105 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object_pool.rs:138:20 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 - panic!(VMError::from("A static object with the same key already exists")); [INFO] [stdout] 138 + std::panic::panic_any(VMError::from("A static object with the same key already exists")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] 25 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 36 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] 36 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 - None => panic!(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 41 + None => std::panic::panic_any(errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 57 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] 57 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 60 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] 60 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] 63 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/object.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 69 - panic!(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] 69 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - Err(_) => panic!(VMError::from("Cannot parse as i64")) [INFO] [stdout] 28 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as i64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 35 - Err(_) => panic!(VMError::from("Cannot parse as f64")) [INFO] [stdout] 35 + Err(_) => std::panic::panic_any(VMError::from("Cannot parse as f64")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/primitive.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jazz_vm v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/value.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | format!("Not an object: {:?}", self) [INFO] [stdout] 33 | | ))); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 - panic!(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] 31 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/fixed_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let mut arr: [::std::cell::Cell; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a Fn(&Executor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a dyn Fn(&Executor) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&JitProvider>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&dyn JitProvider>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&JitProvider> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&dyn JitProvider> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a dyn Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit_test.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &dyn CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic_block.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &dyn Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a dyn Object; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | program: &CommonProgramContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | program: &dyn CommonProgramContext, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &dyn CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/fixed_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::ValueContext` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use value::ValueContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value::Value` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use value::Value; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(nll)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:74 [INFO] [stdout] | [INFO] [stdout] 14 | let mut arr: [::std::cell::Cell; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a Fn(&Executor) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn_impl: &'a dyn Fn(&Executor) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | inner: Box [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub type NativeFunction = Box Value + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | object: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&JitProvider>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | fn get_jit_provider(&self) -> Option<&dyn JitProvider>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 | fn as_any(&self) -> &dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&JitProvider> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn get_jit_provider(&self) -> Option<&dyn JitProvider> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: T, f: &'a dyn Fn(&Executor)) -> NativeFunction<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:67:38 [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 | pub fn create_static_object(&mut self, key: K, obj: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn deref(&self) -> &&'a dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/value.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | pub fn as_object_direct(&self) -> &'b dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | fn invoke_function(&self, _ctx: &dyn CommonProgramContext, _id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/jit_test.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &dyn CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/basic_block.rs:362:44 [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 362 | fn const_get_field_to_opcode(obj: &dyn Object, key: &str, pool: &ObjectPool, rt_handles: &mut Vec) -> Option { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:133:38 [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a Object; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | type Target = &'a dyn Object; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &JitProvider) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &dyn JitProvider) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | fn as_any(&self) -> &dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fn as_any_mut(&mut self) -> &mut dyn Any { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | program: &CommonProgramContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | program: &dyn CommonProgramContext, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/executor.rs:371:42 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 | pub fn eval_program(&self, program: &dyn CommonProgramContext, entry_fn: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn unwrap(self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(obj: Box) -> ObjectInfo { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 | pub fn as_object(&self) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn allocate(&mut self, mut inner: Box) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_pool.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &Object { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_direct(&self, id: usize) -> &dyn Object { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&dyn Object, &'static Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static dyn Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/static_root.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/hybrid/jit_test.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/hybrid/jit_test.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn invoke_function(&self, ctx: &CommonProgramContext, id: usize) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hybrid/program_context.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &JitProvider) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | self.jit_provider.as_ref().map(|v| v as &dyn JitProvider) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/basic_block.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | ... let mut target_opcode: Option = const_get_field_to_opcode( [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/array.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/dynamic_object.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/typed_array.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/builtin/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 | let array_obj: Box = Box::new(array::Array::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dynamic_trait.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 130 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | self as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | self as &dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | self as &mut dyn Any [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 175 - ::std::mem::transmute::(value) [INFO] [stdout] 175 + i8::cast_unsigned(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 185 - ::std::mem::transmute::(value) [INFO] [stdout] 185 + u16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 195 - ::std::mem::transmute::(value) [INFO] [stdout] 195 + i16::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 205 - ::std::mem::transmute::(value) [INFO] [stdout] 205 + u32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 215 - ::std::mem::transmute::(value) [INFO] [stdout] 215 + i32::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 225 - ::std::mem::transmute::(value) [INFO] [stdout] 225 + u64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 235 - ::std::mem::transmute::(value) [INFO] [stdout] 235 + i64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/page_table.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::mem::transmute::(value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 250 - ::std::mem::transmute::(value) [INFO] [stdout] 250 + f64::to_ne_bytes(value) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn get_program(&self) -> &Program<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program_context.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | fn get_program(&self) -> &Program<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hybrid/program.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dump(&self) -> ProgramInfo<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 5 - ::std::mem::transmute::(v) [INFO] [stdout] 5 + u64::to_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 11 - ::std::mem::transmute::<[u8; 8], u64>(v) [INFO] [stdout] 11 + u64::from_ne_bytes(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/hybrid/type_cast.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | ::std::mem::transmute::(v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 24 - ::std::mem::transmute::(v) [INFO] [stdout] 24 + f64::to_bits(v) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] 50 + _ => std::panic::panic_any(VMError::from("Invalid prototype object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 59 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 59 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 68 - _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] 68 + _ => std::panic::panic_any(VMError::from("Invalid target object")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 118 - _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] 118 + _ => std::panic::panic_any(VMError::from("Unknown type")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&dyn Object, &'static Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object_info.rs:61:59 [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static Object>(&*self.object) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | ::std::mem::transmute::<&Object, &'static dyn Object>(&*self.object) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/mod.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 146 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 146 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 43 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 - panic!(VMError::from("Array index out of bound")) [INFO] [stdout] 58 + std::panic::panic_any(VMError::from("Array index out of bound")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:70:75 [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - self.elements.borrow_mut().pop().unwrap_or_else(|| panic!(VMError::from("No elements"))) [INFO] [stdout] 70 + self.elements.borrow_mut().pop().unwrap_or_else(|| std::panic::panic_any(VMError::from("No elements"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/array.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 75 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 67 - panic!(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] 67 + std::panic::panic_any(VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/dynamic_object.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 76 | | "Attempting to call a dynamic object without the `__call__` method" [INFO] [stdout] 77 | | ))) [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 75 - None => panic!(VMError::from(RuntimeError::new( [INFO] [stdout] 75 + None => std::panic::panic_any(VMError::from(RuntimeError::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:10:58 [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 10 - Self::from_value(other).unwrap_or_else(|| panic!(VMError::from("Invalid cast"))) [INFO] [stdout] 10 + Self::from_value(other).unwrap_or_else(|| std::panic::panic_any(VMError::from("Invalid cast"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 39 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 48 - panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] 48 + std::panic::panic_any(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 92 - panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] 92 + std::panic::panic_any(VMError::from("Cannot cast to target type")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/builtin/typed_array.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] 107 + _ => std::panic::panic_any(VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 28 - panic!(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] 28 + std::panic::panic_any(::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 37 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 37 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 47 - panic!(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] 47 + std::panic::panic_any(::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/fixed_array.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/call_stack.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | fixed_array!(FixedArray32, 32); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `fixed_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 68 - panic!(format!("Index out of bound {:?}",id)); [INFO] [stdout] 68 + panic!("Index out of bound {:?}",id); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] 50 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 54 - panic!(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] 54 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 62 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 62 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 70 - panic!(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] 70 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/call_stack.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 198 - panic!(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] 198 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!(errors::VMError::from( [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | format!("Not callable. Got: {:?}", callable_val) [INFO] [stdout] 109 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 107 - _ => panic!(errors::VMError::from( [INFO] [stdout] 107 + _ => std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1077 | eval_select_opcode_sequence!(self, left); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1086 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | panic!(errors::VMError::from( [INFO] [stdout] | ____________________^ [INFO] [stdout] 53 | | "Attempting to modify the control flow from inside a Select block" [INFO] [stdout] 54 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 1102 | eval_select_opcode_sequence!(self, right); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `eval_select_opcode_sequence` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 52 - panic!(errors::VMError::from( [INFO] [stdout] 52 + std::panic::panic_any(errors::VMError::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1136:16 [INFO] [stdout] | [INFO] [stdout] 1136 | panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1136 - panic!(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] 1136 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/executor.rs:1161:20 [INFO] [stdout] | [INFO] [stdout] 1161 | panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1161 - panic!(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] 1161 + std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(errors::VMError::from(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 76 - panic!(errors::VMError::from(e)) [INFO] [stdout] 76 + std::panic::panic_any(errors::VMError::from(e)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 86 - panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] 86 + std::panic::panic_any(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 93 - panic!(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] 93 + std::panic::panic_any(errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 96 - panic!(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] 96 + std::panic::panic_any(errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 130 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 130 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/function.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 142 - panic!(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] 142 + std::panic::panic_any(errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 - _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] 21 + _ => std::panic::panic_any(VMError::from("Invalid operation")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generic_arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [WARN] too many lines in the log, truncating it