[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 beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenny-goh%2FKScriptRust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kenny-goh/KScriptRust on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eac9a60c13f9fe306df2d6980184e471914463a62ee6f882bedee0aaca3e18a [INFO] running `Command { std: "docker" "start" "-a" "0eac9a60c13f9fe306df2d6980184e471914463a62ee6f882bedee0aaca3e18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eac9a60c13f9fe306df2d6980184e471914463a62ee6f882bedee0aaca3e18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eac9a60c13f9fe306df2d6980184e471914463a62ee6f882bedee0aaca3e18a", kill_on_drop: false }` [INFO] [stdout] 0eac9a60c13f9fe306df2d6980184e471914463a62ee6f882bedee0aaca3e18a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2077576e664009b273a26c68c0a67579bdfecb3742f8511f073fd5419b18bc2d [INFO] running `Command { std: "docker" "start" "-a" "2077576e664009b273a26c68c0a67579bdfecb3742f8511f073fd5419b18bc2d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling rustversion v1.0.6 [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 quote v1.0.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.5 [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) { [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) { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | pub fn str_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn str_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 17 + pub fn str_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | pub fn clock_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn clock_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 27 + pub fn clock_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 34 | pub fn write_file_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn write_file_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 34 + pub fn write_file_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 55 | pub fn append_file_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 55 - pub fn append_file_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 55 + pub fn append_file_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [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 { [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 { [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] warning: 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` [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: `#[warn(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] warning: 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` [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] warning: 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` [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] warning: 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` [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 { [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "2077576e664009b273a26c68c0a67579bdfecb3742f8511f073fd5419b18bc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2077576e664009b273a26c68c0a67579bdfecb3742f8511f073fd5419b18bc2d", kill_on_drop: false }` [INFO] [stdout] 2077576e664009b273a26c68c0a67579bdfecb3742f8511f073fd5419b18bc2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 249fef51c20907384dee4ef1e48266f70c8077eb363f69e7da4fade42dea02a4 [INFO] running `Command { std: "docker" "start" "-a" "249fef51c20907384dee4ef1e48266f70c8077eb363f69e7da4fade42dea02a4", kill_on_drop: false }` [INFO] [stderr] Compiling kscript_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:139:3 [INFO] [stdout] | [INFO] [stdout] 139 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:173:3 [INFO] [stdout] | [INFO] [stdout] 173 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:217:3 [INFO] [stdout] | [INFO] [stdout] 217 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:231:3 [INFO] [stdout] | [INFO] [stdout] 231 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:248:3 [INFO] [stdout] | [INFO] [stdout] 248 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:268:3 [INFO] [stdout] | [INFO] [stdout] 268 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:283:3 [INFO] [stdout] | [INFO] [stdout] 283 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:300:3 [INFO] [stdout] | [INFO] [stdout] 300 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:315:3 [INFO] [stdout] | [INFO] [stdout] 315 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:333:3 [INFO] [stdout] | [INFO] [stdout] 333 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:350:3 [INFO] [stdout] | [INFO] [stdout] 350 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:367:3 [INFO] [stdout] | [INFO] [stdout] 367 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:383:3 [INFO] [stdout] | [INFO] [stdout] 383 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:400:3 [INFO] [stdout] | [INFO] [stdout] 400 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:420:3 [INFO] [stdout] | [INFO] [stdout] 420 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:437:3 [INFO] [stdout] | [INFO] [stdout] 437 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:455:3 [INFO] [stdout] | [INFO] [stdout] 455 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:474:3 [INFO] [stdout] | [INFO] [stdout] 474 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:485:3 [INFO] [stdout] | [INFO] [stdout] 485 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:505:3 [INFO] [stdout] | [INFO] [stdout] 505 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:526:3 [INFO] [stdout] | [INFO] [stdout] 526 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:555:3 [INFO] [stdout] | [INFO] [stdout] 555 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:587:3 [INFO] [stdout] | [INFO] [stdout] 587 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:604:3 [INFO] [stdout] | [INFO] [stdout] 604 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:623:3 [INFO] [stdout] | [INFO] [stdout] 623 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:643:3 [INFO] [stdout] | [INFO] [stdout] 643 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:664:3 [INFO] [stdout] | [INFO] [stdout] 664 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:674:3 [INFO] [stdout] | [INFO] [stdout] 674 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:693:3 [INFO] [stdout] | [INFO] [stdout] 693 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:715:3 [INFO] [stdout] | [INFO] [stdout] 715 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:736:3 [INFO] [stdout] | [INFO] [stdout] 736 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serial` in this scope [INFO] [stdout] --> src/tests.rs:760:3 [INFO] [stdout] | [INFO] [stdout] 760 | #[serial] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use serial_test::serial; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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 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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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) { [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) { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 17 | pub fn str_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn str_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 17 + pub fn str_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | pub fn clock_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn clock_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 27 + pub fn clock_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 34 | pub fn write_file_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 34 - pub fn write_file_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 34 + pub fn write_file_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 55 | pub fn append_file_native(_arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `INITIAL_SIZE` [INFO] [stdout] | [INFO] [stdout] 55 - pub fn append_file_native(arg_count: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] 55 + pub fn append_file_native(heap::INITIAL_SIZE: usize, arguments: Vec) -> NativeValue { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kscript_rust` (bin "kscript_rust" test) due to 48 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "249fef51c20907384dee4ef1e48266f70c8077eb363f69e7da4fade42dea02a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249fef51c20907384dee4ef1e48266f70c8077eb363f69e7da4fade42dea02a4", kill_on_drop: false }` [INFO] [stdout] 249fef51c20907384dee4ef1e48266f70c8077eb363f69e7da4fade42dea02a4