[INFO] fetching crate jazz_vm 0.1.5... [INFO] checking jazz_vm-0.1.5 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate jazz_vm 0.1.5 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate jazz_vm 0.1.5 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 778e0d7ba818639cfdf94e51a67163fd838bdd4eaa86c56ff68367da6c325d71 [INFO] running `Command { std: "docker" "start" "-a" "778e0d7ba818639cfdf94e51a67163fd838bdd4eaa86c56ff68367da6c325d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778e0d7ba818639cfdf94e51a67163fd838bdd4eaa86c56ff68367da6c325d71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778e0d7ba818639cfdf94e51a67163fd838bdd4eaa86c56ff68367da6c325d71", kill_on_drop: false }` [INFO] [stdout] 778e0d7ba818639cfdf94e51a67163fd838bdd4eaa86c56ff68367da6c325d71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c212f86582e35961d1ce90c48360e2e60fc4d666f02b8efa452dd3ba14c44746 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c212f86582e35961d1ce90c48360e2e60fc4d666f02b8efa452dd3ba14c44746", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bincode v0.9.2 [INFO] [stderr] Checking 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)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ExecutorImpl) -> Value + Send` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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:62 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ExecutorImpl) -> Value + Send` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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:62 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` 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: 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)]` on by default [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)]` on by default [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | panic!(VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!("{}", VMError::from("No elements"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!("{}", VMError::from("No elements"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | panic!("{}", VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!("{}", VMError::from(RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | panic!("{}", VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!("{}", VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!("{}", VMError::from(RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 48 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!("{}", VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | panic!(VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 92 | panic!("{}", VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("{}", VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 48 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/mod.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!(VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!("{}", VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 92 | panic!("{}", VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("{}", VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | panic!("{}", ::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/builtin/mod.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!(VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!("{}", VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | panic!("{}", ::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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!("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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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!("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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 62 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 62 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 198 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 198 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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] 1077 | eval_select_opcode_sequence!(self, left); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1136 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1161 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1136 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1161 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", errors::VMError::from(e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 86 | panic!("{}", errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 93 | panic!("{}", errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 96 | panic!("{}", errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | panic!(errors::VMError::from(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", errors::VMError::from(e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 130 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | panic!(errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 86 | panic!("{}", errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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: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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 89 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 105 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 138 | panic!("{}", VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 93 | panic!("{}", errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 36 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 96 | panic!("{}", errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 130 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!("{}", errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/generic_arithmetic.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/generic_arithmetic.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!(VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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.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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 89 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!("{}", VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!("{}", VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 105 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 138 | panic!("{}", VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 36 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!("{}", errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!("{}", VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!("{}", VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 139 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 136 warnings emitted [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)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ExecutorImpl) -> Value + Send` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:62 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn CommonProgramContext` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^ help: use `dyn`: `dyn JitProvider` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Executor)` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut ExecutorImpl) -> Value + Send` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^ help: use `dyn`: `dyn Any` [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] | ^^^^^^ help: use `dyn`: `dyn Object` [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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/fixed_array.rs:14:62 [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` 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: 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)]` on by default [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)]` on by default [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!("{}", VMError::from("No elements"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | panic!("{}", VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!("{}", VMError::from(RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!("{}", VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 48 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 92 | panic!("{}", VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("{}", VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!("{}", VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | panic!("{}", ::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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!("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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 62 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 198 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1136 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1161 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", errors::VMError::from(e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 86 | panic!("{}", errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 93 | panic!("{}", errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 96 | panic!("{}", errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 130 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 89 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 105 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 138 | panic!("{}", VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 36 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!("{}", errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!("{}", VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!("{}", VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => std::panic::panic_any(e.unwrap().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 142 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `END` [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | const END: i64 = 100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 58 | panic!("{}", VMError::from("Array index out of bound")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | self.elements.borrow_mut().pop().unwrap_or_else(|| panic!("{}", VMError::from("No elements"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 67 | panic!("{}", VMError::from("Attempting to set field on a frozen dynamic object")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | None => panic!("{}", VMError::from(RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 10 | Self::from_value(other).unwrap_or_else(|| panic!("{}", VMError::from("Invalid cast"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 39 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 48 | panic!("{}", VMError::from("TypedArray index out of bound")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 92 | panic!("{}", VMError::from("Cannot cast to target type")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/builtin/mod.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!(VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | _ => panic!("{}", VMError::from("Invalid prototype object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 59 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 68 | _ => panic!("{}", VMError::from("Invalid target object")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 118 | _ => panic!("{}", VMError::from("Unknown type")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 146 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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/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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | panic!("{}", ::errors::VMError::from("FixedArray overflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 37 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | panic!("{}", ::errors::VMError::from("FixedArray underflow")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (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!("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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 50 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack overflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Maximum stack depth exceeded"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 62 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 70 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Virtual stack underflow"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 198 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Argument index out of bound"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 52 | panic!("{}", errors::VMError::from( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1136 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Leaving a basic block without terminator"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 1161 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Static object not found"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 76 | panic!("{}", errors::VMError::from(e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 86 | panic!("{}", errors::VMError::from("Cannot rebind this")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 93 | panic!("{}", errors::VMError::from("Cannot bind from inside the function")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 96 | panic!("{}", errors::VMError::from("Binding this is only supported on virtual functions")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 130 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 142 | panic!("{}", errors::VMError::from("Cannot optimize virtual functions within itself")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 61 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 81 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 101 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!("{}", VMError::from("Invalid operation")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 89 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 105 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Type mismatch"))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 138 | panic!("{}", VMError::from("A static object with the same key already exists")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Not callable"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 36 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot set field"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 41 | None => panic!("{}", errors::VMError::from(errors::FieldNotFoundError::from_field_name(name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 57 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to i64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 60 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to f64"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to str"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 69 | panic!("{}", errors::VMError::from(errors::RuntimeError::new("Cannot cast to bool"))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 28 | Err(_) => panic!("{}", VMError::from("Cannot parse as i64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 35 | Err(_) => panic!("{}", VMError::from("Cannot parse as f64")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 75 | _ => panic!("{}", VMError::from(FieldNotFoundError::from_field_name(field_name))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [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 is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 31 | panic!("{}", errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 | std::panic::panic_any(errors::VMError::from(errors::RuntimeError::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [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 is no longer accepted in Rust 2021 [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 192 | Err(e) => std::panic::panic_any(e.unwrap().to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 140 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.04s [INFO] running `Command { std: "docker" "inspect" "c212f86582e35961d1ce90c48360e2e60fc4d666f02b8efa452dd3ba14c44746", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c212f86582e35961d1ce90c48360e2e60fc4d666f02b8efa452dd3ba14c44746", kill_on_drop: false }` [INFO] [stdout] c212f86582e35961d1ce90c48360e2e60fc4d666f02b8efa452dd3ba14c44746