[INFO] cloning repository https://github.com/ardifx01/kaba [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ardifx01/kaba" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fardifx01%2Fkaba", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fardifx01%2Fkaba'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf40c901b0620ad08a0d65cffdfaf9628b3e78fb [INFO] checking ardifx01/kaba against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fardifx01%2Fkaba" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ardifx01/kaba [INFO] finished tweaking git repo https://github.com/ardifx01/kaba [INFO] tweaked toml for git repo https://github.com/ardifx01/kaba written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ardifx01/kaba on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ardifx01/kaba already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa6cecd0f4fac45ebf807479600ab7eddb26c5d56cf2283fd996400460c42984 [INFO] running `Command { std: "docker" "start" "-a" "fa6cecd0f4fac45ebf807479600ab7eddb26c5d56cf2283fd996400460c42984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa6cecd0f4fac45ebf807479600ab7eddb26c5d56cf2283fd996400460c42984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa6cecd0f4fac45ebf807479600ab7eddb26c5d56cf2283fd996400460c42984", kill_on_drop: false }` [INFO] [stdout] fa6cecd0f4fac45ebf807479600ab7eddb26c5d56cf2283fd996400460c42984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c513f81ec59c46eae7257f6390ad336869c5b16d6926a6091a594de2a50bf50 [INFO] running `Command { std: "docker" "start" "-a" "2c513f81ec59c46eae7257f6390ad336869c5b16d6926a6091a594de2a50bf50", kill_on_drop: false }` [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clap_builder v4.5.24 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking kaba_compiler v0.5.3 (/opt/rustwide/workdir/kaba_compiler) [INFO] [stderr] Checking clap v4.5.24 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile(src: &str) -> Result<(AstNode<'_>, SymbolTable)> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile(src: &str) -> Result<'_, (AstNode<'_>, SymbolTable)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn as_sym(&self) -> &AstNode { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | pub fn as_sym(&self) -> &AstNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn as_body_statements(&self) -> &[AstNode] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | pub fn as_body_statements(&self) -> &[AstNode<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn as_function_params(&self) -> &[FunctionParam] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn as_function_params(&self) -> &[FunctionParam<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:309:34 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn as_function_return_tn(&self) -> Option<&AstNode> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn as_function_return_tn(&self) -> Option<&AstNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn as_tn(&self) -> &TypeNotation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 432 | pub fn as_tn(&self) -> &TypeNotation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/lexer.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn lex(src: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn lex(src: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kaba_runtime_prototype v0.5.3 (/opt/rustwide/workdir/kaba_runtime_prototype) [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | self.run_main()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | self.run_main()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | fn run_main(&'a self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 64 | | let ast = self.ast.as_ref().unwrap(); [INFO] [stdout] 65 | | let runner = ExpressionRunner::new(ast, ast, &self.state); [INFO] [stdout] 66 | | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:22:76 [INFO] [stdout] | [INFO] [stdout] 22 | fn assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 23 | | match lhs { [INFO] [stdout] 24 | | Lhs::Identifier(name) => { [INFO] [stdout] 25 | | self.state.update_value(name, val)?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(RuntimeValue::Void) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | self.state.update_value(name, val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:50:80 [INFO] [stdout] | [INFO] [stdout] 50 | fn add_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 51 | | match lhs { [INFO] [stdout] 52 | | Lhs::Identifier(name) => { [INFO] [stdout] 53 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 84 | | Ok(RuntimeValue::Void) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/lib.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile(src: &str) -> Result<(AstNode<'_>, SymbolTable)> { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn compile(src: &str) -> Result<'_, (AstNode<'_>, SymbolTable)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:87:80 [INFO] [stdout] | [INFO] [stdout] 87 | fn sub_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 88 | | match lhs { [INFO] [stdout] 89 | | Lhs::Identifier(name) => { [INFO] [stdout] 90 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(RuntimeValue::Void) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:124:80 [INFO] [stdout] | [INFO] [stdout] 124 | fn mul_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 125 | | match lhs { [INFO] [stdout] 126 | | Lhs::Identifier(name) => { [INFO] [stdout] 127 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok(RuntimeValue::Void) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:161:80 [INFO] [stdout] | [INFO] [stdout] 161 | fn div_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 162 | | match lhs { [INFO] [stdout] 163 | | Lhs::Identifier(name) => { [INFO] [stdout] 164 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 195 | | Ok(RuntimeValue::Void) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:198:80 [INFO] [stdout] | [INFO] [stdout] 198 | fn mod_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 199 | | match lhs { [INFO] [stdout] 200 | | Lhs::Identifier(name) => { [INFO] [stdout] 201 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Ok(RuntimeValue::Void) [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn run(&self) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 238 | | let lhs_node = match &self.ast.variant { [INFO] [stdout] 239 | | AstNodeVariant::Assign { lhs, .. } [INFO] [stdout] 240 | | | AstNodeVariant::AddAssign { lhs, .. } [INFO] [stdout] ... | [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | / match &self.ast.variant { [INFO] [stdout] 289 | | AstNodeVariant::Assign { .. } => self.assign(&lhs, val), [INFO] [stdout] 290 | | AstNodeVariant::AddAssign { .. } => self.add_assign(&lhs, val), [INFO] [stdout] 291 | | AstNodeVariant::SubAssign { .. } => self.sub_assign(&lhs, val), [INFO] [stdout] ... | [INFO] [stdout] 296 | | _ => unreachable!(), [INFO] [stdout] 297 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | AstNodeVariant::Assign { .. } => self.assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn as_sym(&self) -> &AstNode { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 256 | pub fn as_sym(&self) -> &AstNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:289:31 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn as_body_statements(&self) -> &[AstNode] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | pub fn as_body_statements(&self) -> &[AstNode<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:301:31 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn as_function_params(&self) -> &[FunctionParam] { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 301 | pub fn as_function_params(&self) -> &[FunctionParam<'_>] { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:309:34 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn as_function_return_tn(&self) -> Option<&AstNode> { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn as_function_return_tn(&self) -> Option<&AstNode<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/ast.rs:432:18 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn as_tn(&self) -> &TypeNotation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 432 | pub fn as_tn(&self) -> &TypeNotation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_compiler/src/lexer.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn lex(src: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn lex(src: &str) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:290:49 [INFO] [stdout] | [INFO] [stdout] 290 | AstNodeVariant::AddAssign { .. } => self.add_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | AstNodeVariant::SubAssign { .. } => self.sub_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | AstNodeVariant::MulAssign { .. } => self.mul_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:293:49 [INFO] [stdout] | [INFO] [stdout] 293 | AstNodeVariant::DivAssign { .. } => self.div_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | AstNodeVariant::ModAssign { .. } => self.mod_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | fn run_function_call(&self, callee: &'a AstNode, args: &'a [AstNode]) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 28 | | let f_ptr = match &callee.variant { [INFO] [stdout] 29 | | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.run_function_ptr_call(f_ptr, &evaluated_args) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.run_function_ptr_call(f_ptr, &evaluated_args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:50:97 [INFO] [stdout] | [INFO] [stdout] 50 | fn run_field_access(&self, object: &'a AstNode, field: &'a AstNode) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 51 | | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] 52 | | let field = field.variant.as_sym_name(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | unreachable!() [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | return Ok(rec.as_record()[field].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:62:97 [INFO] [stdout] | [INFO] [stdout] 62 | fn run_index_access(&self, object: &'a AstNode, index: &'a AstNode) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 63 | | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] 64 | | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | unreachable!() [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | return Ok(arr.as_array()[i].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:82:74 [INFO] [stdout] | [INFO] [stdout] 82 | fn literal_to_value(&self, lit: &'a Literal) -> Result { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 83 | | let val = match lit { [INFO] [stdout] 84 | | Literal::Void => RuntimeValue::Void, [INFO] [stdout] ... | [INFO] [stdout] 126 | | Ok(val) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(val) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn run(&self) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 132 | | match &self.ast.variant { [INFO] [stdout] 133 | | AstNodeVariant::Assign { .. } [INFO] [stdout] 134 | | | AstNodeVariant::AddAssign { .. } [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / match &self.ast.variant { [INFO] [stdout] 133 | | AstNodeVariant::Assign { .. } [INFO] [stdout] 134 | | | AstNodeVariant::AddAssign { .. } [INFO] [stdout] 135 | | | AstNodeVariant::SubAssign { .. } [INFO] [stdout] ... | [INFO] [stdout] 178 | | _ => unreachable!(), [INFO] [stdout] 179 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 138 | | AstNodeVariant::ModAssign { .. } => { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 139 | | AssignmentRunner::new(self.ast, self.root, self.state).run() [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | AssignmentRunner::new(self.ast, self.root, self.state).run() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:154:55 [INFO] [stdout] | [INFO] [stdout] 154 | | AstNodeVariant::Mod { lhs, rhs, .. } => { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 155 | | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] 156 | | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(self.run_binary_op(&lhs_val, &rhs_val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:161:84 [INFO] [stdout] | [INFO] [stdout] 161 | AstNodeVariant::Not { expr, .. } | AstNodeVariant::Neg { expr, .. } => { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 162 | | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | Ok(self.run_unary_op(&val)) [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | Ok(self.run_unary_op(&val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:167:66 [INFO] [stdout] | [INFO] [stdout] 167 | AstNodeVariant::FunctionCall { callee, args, .. } => { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 168 | | self.run_function_call(callee, args) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | self.run_function_call(callee, args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:170:62 [INFO] [stdout] | [INFO] [stdout] 170 | AstNodeVariant::FieldAccess { object, field } => self.run_field_access(object, field), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | AstNodeVariant::IndexAccess { object, index, .. } => { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 172 | | self.run_index_access(object, index) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | self.run_index_access(object, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 176 | AstNodeVariant::Literal { lit, .. } => self.literal_to_value(lit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | BodyRunner::new(f, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | return Ok(val.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn return_value(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn return_value(&self) -> Ref<'_, RuntimeValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_value(&self, id: &str) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 75 | | let ss = self.ss.borrow(); [INFO] [stdout] 76 | | let scope = ss [INFO] [stdout] 77 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(scope.get(id).unwrap().clone()) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(scope.get(id).unwrap().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | ExpressionRunner::new(self.ast, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | ExpressionRunner::new(self.ast, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let val = ExpressionRunner::new(iterable, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let val = ExpressionRunner::new(iterable, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kaba_runtime_prototype` (lib) due to 135 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | self.run_main()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | self.run_main()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:63:51 [INFO] [stdout] | [INFO] [stdout] 63 | fn run_main(&'a self) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 64 | | let ast = self.ast.as_ref().unwrap(); [INFO] [stdout] 65 | | let runner = ExpressionRunner::new(ast, ast, &self.state); [INFO] [stdout] 66 | | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime.rs:66:38 [INFO] [stdout] | [INFO] [stdout] 66 | runner.run_function_ptr_call(self.state.get_value("main")?, &[]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:22:76 [INFO] [stdout] | [INFO] [stdout] 22 | fn assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ____________________________________________________________________________^ [INFO] [stdout] 23 | | match lhs { [INFO] [stdout] 24 | | Lhs::Identifier(name) => { [INFO] [stdout] 25 | | self.state.update_value(name, val)?; [INFO] [stdout] ... | [INFO] [stdout] 47 | | Ok(RuntimeValue::Void) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | self.state.update_value(name, val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:50:80 [INFO] [stdout] | [INFO] [stdout] 50 | fn add_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 51 | | match lhs { [INFO] [stdout] 52 | | Lhs::Identifier(name) => { [INFO] [stdout] 53 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 84 | | Ok(RuntimeValue::Void) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:87:80 [INFO] [stdout] | [INFO] [stdout] 87 | fn sub_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 88 | | match lhs { [INFO] [stdout] 89 | | Lhs::Identifier(name) => { [INFO] [stdout] 90 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 121 | | Ok(RuntimeValue::Void) [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:124:80 [INFO] [stdout] | [INFO] [stdout] 124 | fn mul_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 125 | | match lhs { [INFO] [stdout] 126 | | Lhs::Identifier(name) => { [INFO] [stdout] 127 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok(RuntimeValue::Void) [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:161:80 [INFO] [stdout] | [INFO] [stdout] 161 | fn div_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 162 | | match lhs { [INFO] [stdout] 163 | | Lhs::Identifier(name) => { [INFO] [stdout] 164 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 195 | | Ok(RuntimeValue::Void) [INFO] [stdout] 196 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:198:80 [INFO] [stdout] | [INFO] [stdout] 198 | fn mod_assign(&self, lhs: &Lhs, val: RuntimeValue) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 199 | | match lhs { [INFO] [stdout] 200 | | Lhs::Identifier(name) => { [INFO] [stdout] 201 | | let old_val = self.state.get_value(name)?; [INFO] [stdout] ... | [INFO] [stdout] 232 | | Ok(RuntimeValue::Void) [INFO] [stdout] 233 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | let old_val = self.state.get_value(name)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | self.state.update_value(name, new_val)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | Ok(RuntimeValue::Void) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn run(&self) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 238 | | let lhs_node = match &self.ast.variant { [INFO] [stdout] 239 | | AstNodeVariant::Assign { lhs, .. } [INFO] [stdout] 240 | | | AstNodeVariant::AddAssign { lhs, .. } [INFO] [stdout] ... | [INFO] [stdout] 298 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let record = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:263:27 [INFO] [stdout] | [INFO] [stdout] 263 | let arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let idx = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | ExpressionRunner::new(rhs, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | / match &self.ast.variant { [INFO] [stdout] 289 | | AstNodeVariant::Assign { .. } => self.assign(&lhs, val), [INFO] [stdout] 290 | | AstNodeVariant::AddAssign { .. } => self.add_assign(&lhs, val), [INFO] [stdout] 291 | | AstNodeVariant::SubAssign { .. } => self.sub_assign(&lhs, val), [INFO] [stdout] ... | [INFO] [stdout] 296 | | _ => unreachable!(), [INFO] [stdout] 297 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | AstNodeVariant::Assign { .. } => self.assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:290:49 [INFO] [stdout] | [INFO] [stdout] 290 | AstNodeVariant::AddAssign { .. } => self.add_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | AstNodeVariant::SubAssign { .. } => self.sub_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | AstNodeVariant::MulAssign { .. } => self.mul_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:293:49 [INFO] [stdout] | [INFO] [stdout] 293 | AstNodeVariant::DivAssign { .. } => self.div_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/assignment.rs:294:49 [INFO] [stdout] | [INFO] [stdout] 294 | AstNodeVariant::ModAssign { .. } => self.mod_assign(&lhs, val), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:27:99 [INFO] [stdout] | [INFO] [stdout] 27 | fn run_function_call(&self, callee: &'a AstNode, args: &'a [AstNode]) -> Result { [INFO] [stdout] | ___________________________________________________________________________________________________^ [INFO] [stdout] 28 | | let f_ptr = match &callee.variant { [INFO] [stdout] 29 | | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 47 | | self.run_function_ptr_call(f_ptr, &evaluated_args) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | self.run_function_call(callee, args)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | self.run_index_access(object, index)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | let val = ExpressionRunner::new(arg, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | self.run_function_ptr_call(f_ptr, &evaluated_args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:50:97 [INFO] [stdout] | [INFO] [stdout] 50 | fn run_field_access(&self, object: &'a AstNode, field: &'a AstNode) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 51 | | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] 52 | | let field = field.variant.as_sym_name(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | unreachable!() [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let object = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | return Ok(rec.as_record()[field].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:62:97 [INFO] [stdout] | [INFO] [stdout] 62 | fn run_index_access(&self, object: &'a AstNode, index: &'a AstNode) -> Result { [INFO] [stdout] | _________________________________________________________________________________________________^ [INFO] [stdout] 63 | | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] 64 | | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | unreachable!() [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let object_arr = ExpressionRunner::new(object, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let index = ExpressionRunner::new(index, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | return Ok(arr.as_array()[i].clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:82:74 [INFO] [stdout] | [INFO] [stdout] 82 | fn literal_to_value(&self, lit: &'a Literal) -> Result { [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 83 | | let val = match lit { [INFO] [stdout] 84 | | Literal::Void => RuntimeValue::Void, [INFO] [stdout] ... | [INFO] [stdout] 126 | | Ok(val) [INFO] [stdout] 127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | let val = ExpressionRunner::new(elem, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 112 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(val) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:131:47 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn run(&self) -> Result { [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 132 | | match &self.ast.variant { [INFO] [stdout] 133 | | AstNodeVariant::Assign { .. } [INFO] [stdout] 134 | | | AstNodeVariant::AddAssign { .. } [INFO] [stdout] ... | [INFO] [stdout] 180 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | / match &self.ast.variant { [INFO] [stdout] 133 | | AstNodeVariant::Assign { .. } [INFO] [stdout] 134 | | | AstNodeVariant::AddAssign { .. } [INFO] [stdout] 135 | | | AstNodeVariant::SubAssign { .. } [INFO] [stdout] ... | [INFO] [stdout] 178 | | _ => unreachable!(), [INFO] [stdout] 179 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 138 | | AstNodeVariant::ModAssign { .. } => { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 139 | | AssignmentRunner::new(self.ast, self.root, self.state).run() [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | AssignmentRunner::new(self.ast, self.root, self.state).run() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:154:55 [INFO] [stdout] | [INFO] [stdout] 154 | | AstNodeVariant::Mod { lhs, rhs, .. } => { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 155 | | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] 156 | | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 155 | let lhs_val = ExpressionRunner::new(lhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:156:31 [INFO] [stdout] | [INFO] [stdout] 156 | let rhs_val = ExpressionRunner::new(rhs, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | Ok(self.run_binary_op(&lhs_val, &rhs_val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:161:84 [INFO] [stdout] | [INFO] [stdout] 161 | AstNodeVariant::Not { expr, .. } | AstNodeVariant::Neg { expr, .. } => { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] 162 | | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] 163 | | [INFO] [stdout] 164 | | Ok(self.run_unary_op(&val)) [INFO] [stdout] 165 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | Ok(self.run_unary_op(&val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:167:66 [INFO] [stdout] | [INFO] [stdout] 167 | AstNodeVariant::FunctionCall { callee, args, .. } => { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 168 | | self.run_function_call(callee, args) [INFO] [stdout] 169 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | self.run_function_call(callee, args) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:170:62 [INFO] [stdout] | [INFO] [stdout] 170 | AstNodeVariant::FieldAccess { object, field } => self.run_field_access(object, field), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:171:66 [INFO] [stdout] | [INFO] [stdout] 171 | AstNodeVariant::IndexAccess { object, index, .. } => { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 172 | | self.run_index_access(object, index) [INFO] [stdout] 173 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | self.run_index_access(object, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:175:52 [INFO] [stdout] | [INFO] [stdout] 175 | AstNodeVariant::Symbol { name, .. } => self.state.get_value(name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:176:52 [INFO] [stdout] | [INFO] [stdout] 176 | AstNodeVariant::Literal { lit, .. } => self.literal_to_value(lit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:329:17 [INFO] [stdout] | [INFO] [stdout] 329 | BodyRunner::new(f, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/expression.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | return Ok(val.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn return_value(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 66 | pub fn return_value(&self) -> Ref<'_, RuntimeValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:74:63 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_value(&self, id: &str) -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 75 | | let ss = self.ss.borrow(); [INFO] [stdout] 76 | | let scope = ss [INFO] [stdout] 77 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(scope.get(id).unwrap().clone()) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/state.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | Ok(scope.get(id).unwrap().clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let val = ExpressionRunner::new(val, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | let val = ExpressionRunner::new(expr, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | ExpressionRunner::new(self.ast, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | ExpressionRunner::new(self.ast, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | ExpressionRunner::new(cond, self.root, self.state).run()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, RuntimeValue> [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let val = ExpressionRunner::new(iterable, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> kaba_runtime_prototype/src/runtime/statement.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | let val = ExpressionRunner::new(iterable, self.root, self.state).run()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kaba_runtime_prototype` (lib test) due to 135 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2c513f81ec59c46eae7257f6390ad336869c5b16d6926a6091a594de2a50bf50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c513f81ec59c46eae7257f6390ad336869c5b16d6926a6091a594de2a50bf50", kill_on_drop: false }` [INFO] [stdout] 2c513f81ec59c46eae7257f6390ad336869c5b16d6926a6091a594de2a50bf50