[INFO] cloning repository https://github.com/kenny-goh/KScriptRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenny-goh/KScriptRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenny-goh%2FKScriptRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenny-goh%2FKScriptRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73547af8df41dc633d765255e0144dac7d80835c
[INFO] testing kenny-goh/KScriptRust against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenny-goh%2FKScriptRust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kenny-goh/KScriptRust
[INFO] finished tweaking git repo https://github.com/kenny-goh/KScriptRust
[INFO] tweaked toml for git repo https://github.com/kenny-goh/KScriptRust written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kenny-goh/KScriptRust on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kenny-goh/KScriptRust 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e653ef5d38afcdbbd65e0c012cd16a2bd5d43aeed063b3da394c922636b58caf
[INFO] running `Command { std: "docker" "start" "-a" "e653ef5d38afcdbbd65e0c012cd16a2bd5d43aeed063b3da394c922636b58caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e653ef5d38afcdbbd65e0c012cd16a2bd5d43aeed063b3da394c922636b58caf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e653ef5d38afcdbbd65e0c012cd16a2bd5d43aeed063b3da394c922636b58caf", kill_on_drop: false }`
[INFO] [stdout] e653ef5d38afcdbbd65e0c012cd16a2bd5d43aeed063b3da394c922636b58caf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 641544fa90f0cd56d13a1bb940fb9e895a58f9bc92398f87a64a050a7cbfa911
[INFO] running `Command { std: "docker" "start" "-a" "641544fa90f0cd56d13a1bb940fb9e895a58f9bc92398f87a64a050a7cbfa911", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling substring v1.4.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling profiling-procmacros v1.0.5
[INFO] [stderr]    Compiling serial_test_derive v0.6.0
[INFO] [stderr]    Compiling profiling v1.0.5
[INFO] [stderr]    Compiling serial_test v0.6.0
[INFO] [stderr]    Compiling kscript_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/vm.rs:193:42
[INFO] [stdout]     |
[INFO] [stdout] 193 |                         Some(content) => (*content)
[INFO] [stdout]     |                                          ^        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 193 -                         Some(content) => (*content)
[INFO] [stdout] 193 +                         Some(content) => *content 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread` and `time`
[INFO] [stdout]   --> src/tests.rs:1:20
[INFO] [stdout]    |
[INFO] [stdout]  1 | use std::{fs, mem, thread, time};
[INFO] [stdout]    |                    ^^^^^^  ^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NativeFn`, `NativeValue`, and `clock_native`
[INFO] [stdout]   --> src/tests.rs:4:23
[INFO] [stdout]    |
[INFO] [stdout]  4 | use crate::nativefn::{clock_native, NativeFn, NativeValue};
[INFO] [stdout]    |                       ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]   --> src/main.rs:30:1
[INFO] [stdout]    |
[INFO] [stdout] 30 | mod tests;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::BorrowMut`
[INFO] [stdout]  --> src/compiler.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::borrow::BorrowMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/token.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |             TokenType::Fun => write!(f, "Fun"),
[INFO] [stdout]     |             -------------- matches all the relevant values
[INFO] [stdout] 126 |             TokenType::Fun => write!(f, "Extend"),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/compiler.rs:1070:13
[INFO] [stdout]      |
[INFO] [stdout] 1070 |         let mut class_compiler = Some(Box::new(RefCell::new(ClassCompiler::new(self.current_class.take()))));
[INFO] [stdout]      |             ----^^^^^^^^^^^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/compiler.rs:1117:18
[INFO] [stdout]      |
[INFO] [stdout] 1117 |             Some(mut it) => {
[INFO] [stdout]      |                  ----^^
[INFO] [stdout]      |                  |
[INFO] [stdout]      |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marked`
[INFO] [stdout]    --> src/heap.rs:245:28
[INFO] [stdout]     |
[INFO] [stdout] 245 |     fn free_classes(&self, marked: &Vec<Value>) {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marked`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marked`
[INFO] [stdout]    --> src/heap.rs:249:30
[INFO] [stdout]     |
[INFO] [stdout] 249 |     fn free_instances(&self, marked: &Vec<Value>) {
[INFO] [stdout]     |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marked`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_count`
[INFO] [stdout]   --> src/nativefn.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn str_native(arg_count: usize, arguments: Vec<NativeValue>) -> NativeValue {
[INFO] [stdout]    |                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_count`
[INFO] [stdout]   --> src/nativefn.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn clock_native(arg_count: usize, arguments: Vec<NativeValue>) -> NativeValue {
[INFO] [stdout]    |                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arguments`
[INFO] [stdout]   --> src/nativefn.rs:27:39
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub fn clock_native(arg_count: usize, arguments: Vec<NativeValue>) -> NativeValue {
[INFO] [stdout]    |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_count`
[INFO] [stdout]   --> src/nativefn.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn write_file_native(arg_count: usize, arguments: Vec<NativeValue>) -> NativeValue {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arg_count`
[INFO] [stdout]   --> src/nativefn.rs:55:27
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn append_file_native(arg_count: usize, arguments: Vec<NativeValue>) -> NativeValue {
[INFO] [stdout]    |                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_object` is never used
[INFO] [stdout]   --> src/value.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Value {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn is_object(&self) ->bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `native_fn`, `closure`, `Class`, and `Instance` are never used
[INFO] [stdout]   --> src/object.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Object {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn native_fn(idx: usize) -> Self { NativeFnIndex(idx) }
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 23 |     pub fn closure(idx: usize) -> Self {ClosureIndex(idx) }
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 24 |     pub fn Class(idx: usize) -> Self { ClassIndex(idx) }
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 25 |     pub fn Instance(idx: usize) -> Self { InstanceIndex(idx) }
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_string` is never used
[INFO] [stdout]   --> src/token.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Token {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn to_string(&self)->String {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_CALLSTACK` is never used
[INFO] [stdout]   --> src/vm.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const MAX_CALLSTACK: usize = 256;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_STACK` is never used
[INFO] [stdout]   --> src/vm.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const MAX_VALUE_STACK: usize = 256;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEBUG` is never used
[INFO] [stdout]   --> src/vm.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const DEBUG: bool = true;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset` is never used
[INFO] [stdout]   --> src/vm.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl VM {
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_expr` is never used
[INFO] [stdout]    --> src/tests.rs:792:4
[INFO] [stdout]     |
[INFO] [stdout] 792 | fn run_expr(code: &String) ->Result<String, Error> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_code` is never used
[INFO] [stdout]    --> src/tests.rs:799:4
[INFO] [stdout]     |
[INFO] [stdout] 799 | fn run_code(code: &String) ->Result<String, Error> {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute` is never used
[INFO] [stdout]    --> src/tests.rs:806:4
[INFO] [stdout]     |
[INFO] [stdout] 806 | fn execute(code: &String) ->Result<String, Error>  {
[INFO] [stdout]     |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Class` should have a snake case name
[INFO] [stdout]   --> src/object.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn Class(idx: usize) -> Self { ClassIndex(idx) }
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to snake case (notice the capitalization): `class`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Instance` should have a snake case name
[INFO] [stdout]   --> src/object.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn Instance(idx: usize) -> Self { InstanceIndex(idx) }
[INFO] [stdout]    |            ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/vm.rs:689:26
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let result = (*(self.curr_function())).chunk.code[self.ip];
[INFO] [stdout]     |                          ^^----------------------^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            this raw pointer has type `*mut Function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<u8>`
[INFO] [stdout]    --> src/vm.rs:689:26
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let result = (*(self.curr_function())).chunk.code[self.ip];
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 689 |             let result = (&(*(self.curr_function())).chunk.code)[self.ip];
[INFO] [stdout]     |                          ++                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/vm.rs:706:25
[INFO] [stdout]     |
[INFO] [stdout] 706 |             let byte1 = (*(self.curr_function())).chunk.code[self.ip] as u16;
[INFO] [stdout]     |                         ^^----------------------^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut Function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<u8>`
[INFO] [stdout]    --> src/vm.rs:706:25
[INFO] [stdout]     |
[INFO] [stdout] 706 |             let byte1 = (*(self.curr_function())).chunk.code[self.ip] as u16;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 706 |             let byte1 = (&(*(self.curr_function())).chunk.code)[self.ip] as u16;
[INFO] [stdout]     |                         ++                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/vm.rs:707:25
[INFO] [stdout]     |
[INFO] [stdout] 707 |             let byte2 = (*(self.curr_function())).chunk.code[self.ip + 1] as u16;
[INFO] [stdout]     |                         ^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut Function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<u8>`
[INFO] [stdout]    --> src/vm.rs:707:25
[INFO] [stdout]     |
[INFO] [stdout] 707 |             let byte2 = (*(self.curr_function())).chunk.code[self.ip + 1] as u16;
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 707 |             let byte2 = (&(*(self.curr_function())).chunk.code)[self.ip + 1] as u16;
[INFO] [stdout]     |                         ++                                    +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> src/vm.rs:719:25
[INFO] [stdout]     |
[INFO] [stdout] 719 |             let value = (*(self.curr_function())).chunk.constants[pos];
[INFO] [stdout]     |                         ^^----------------------^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this raw pointer has type `*mut Function`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<Value>`
[INFO] [stdout]    --> src/vm.rs:719:25
[INFO] [stdout]     |
[INFO] [stdout] 719 |             let value = (*(self.curr_function())).chunk.constants[pos];
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 719 |             let value = (&(*(self.curr_function())).chunk.constants)[pos];
[INFO] [stdout]     |                         ++                                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/compiler.rs:387:25
[INFO] [stdout]     |
[INFO] [stdout] 387 |     fn current_function(&self) -> RefMut<Function> {
[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] 387 |     fn current_function(&self) -> RefMut<'_, Function> {
[INFO] [stdout]     |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kscript_rust` (bin "kscript_rust") due to 4 previous errors; 27 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "641544fa90f0cd56d13a1bb940fb9e895a58f9bc92398f87a64a050a7cbfa911", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "641544fa90f0cd56d13a1bb940fb9e895a58f9bc92398f87a64a050a7cbfa911", kill_on_drop: false }`
[INFO] [stdout] 641544fa90f0cd56d13a1bb940fb9e895a58f9bc92398f87a64a050a7cbfa911
