[INFO] cloning repository https://github.com/keithbugeja/pixardis-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keithbugeja/pixardis-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithbugeja%2Fpixardis-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithbugeja%2Fpixardis-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ca055ec44290cb9fdef8602384310896eca635c [INFO] building keithbugeja/pixardis-web against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithbugeja%2Fpixardis-web" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/keithbugeja/pixardis-web [INFO] finished tweaking git repo https://github.com/keithbugeja/pixardis-web [INFO] tweaked toml for git repo https://github.com/keithbugeja/pixardis-web written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/keithbugeja/pixardis-web on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/keithbugeja/pixardis-web 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anstyle v1.0.1 [INFO] [stderr] Downloaded clap_derive v4.3.12 [INFO] [stderr] Downloaded clap v4.3.19 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded clap_builder v4.3.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0febd57eabaf7013ff3c9726c74a228db4c460862d49b1f3d154d64ff94350e [INFO] running `Command { std: "docker" "start" "-a" "f0febd57eabaf7013ff3c9726c74a228db4c460862d49b1f3d154d64ff94350e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0febd57eabaf7013ff3c9726c74a228db4c460862d49b1f3d154d64ff94350e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0febd57eabaf7013ff3c9726c74a228db4c460862d49b1f3d154d64ff94350e", kill_on_drop: false }` [INFO] [stdout] f0febd57eabaf7013ff3c9726c74a228db4c460862d49b1f3d154d64ff94350e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 666b9091b720d9f428f6f3197ed8f738733817e1066e24be6283068ab357937c [INFO] running `Command { std: "docker" "start" "-a" "666b9091b720d9f428f6f3197ed8f738733817e1066e24be6283068ab357937c", kill_on_drop: false }` [INFO] [stderr] warning: web v0.1.0 (/opt/rustwide/workdir/web) ignoring invalid dependency `compiler` which is missing a lib target [INFO] [stderr] warning: web v0.1.0 (/opt/rustwide/workdir/web) ignoring invalid dependency `vm` which is missing a lib target [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling errno v0.3.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stdout] warning: methods `get_print_output` and `clear_print_output` are never used [INFO] [stdout] --> vm/src/pixardis/pixardis.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl PixardisVirtualMachine { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_print_output(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn clear_print_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `stop`, and `reset` are never used [INFO] [stdout] --> vm/src/machine/executor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Executor [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | { [INFO] [stdout] 5 | fn run(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | fn step(&mut self, cycles: usize) -> Result<(), VirtualMachineError>; [INFO] [stdout] 7 | fn stop(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn reset(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> compiler/src/analysis/symbol.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter { [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] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter<'_, String, SymbolEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stdout] warning: unused import: `pixardis_print_code` [INFO] [stdout] --> web/src/lib.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::pixardis::{PixardisInstruction, pixardis_print_code}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoggerMessage` [INFO] [stdout] --> web/src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | logger::{Logger, LoggerMessage}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut logger = Logger::new(source); [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: variants `Error` and `Full` are never constructed [INFO] [stdout] --> web/src/../../vm/src/pixardis/pixardis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PixardisLogLevel { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 17 | None, [INFO] [stdout] 18 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixardisLogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `stop`, and `reset` are never used [INFO] [stdout] --> web/src/../../vm/src/machine/executor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Executor [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | { [INFO] [stdout] 5 | fn run(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | fn step(&mut self, cycles: usize) -> Result<(), VirtualMachineError>; [INFO] [stdout] 7 | fn stop(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn reset(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_analysed_tree`, `is_function_declaration_scope`, and `check_variable_exists_in_scope` are never used [INFO] [stdout] --> web/src/../../compiler/src/analysis/semantic.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SemanticAnalyser<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_analysed_tree(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_function_declaration_scope(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn check_variable_exists_in_scope(&mut self, name: &str, scope_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_code`, `pass`, and `get_function_return_type` are never used [INFO] [stdout] --> web/src/../../compiler/src/codegen/generator.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> CodeGenerator<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn print_code(&self, show_line_numbers: bool, show_scope: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pass(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_function_return_type(&mut self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> web/src/../../compiler/src/analysis/symbol.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter { [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] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter<'_, String, SymbolEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.78s [INFO] running `Command { std: "docker" "inspect" "666b9091b720d9f428f6f3197ed8f738733817e1066e24be6283068ab357937c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "666b9091b720d9f428f6f3197ed8f738733817e1066e24be6283068ab357937c", kill_on_drop: false }` [INFO] [stdout] 666b9091b720d9f428f6f3197ed8f738733817e1066e24be6283068ab357937c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8ac7315a6b1c411a6242b74e9a04a16ab77745f306ecc51aa64edcf9886c84a7 [INFO] running `Command { std: "docker" "start" "-a" "8ac7315a6b1c411a6242b74e9a04a16ab77745f306ecc51aa64edcf9886c84a7", kill_on_drop: false }` [INFO] [stderr] warning: web v0.1.0 (/opt/rustwide/workdir/web) ignoring invalid dependency `compiler` which is missing a lib target [INFO] [stderr] warning: web v0.1.0 (/opt/rustwide/workdir/web) ignoring invalid dependency `vm` which is missing a lib target [INFO] [stderr] Compiling shared v0.1.0 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stderr] Compiling web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Compiling vm v0.1.0 (/opt/rustwide/workdir/vm) [INFO] [stdout] warning: unused import: `pixardis_print_code` [INFO] [stdout] --> web/src/lib.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | use shared::pixardis::{PixardisInstruction, pixardis_print_code}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoggerMessage` [INFO] [stdout] --> web/src/lib.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | logger::{Logger, LoggerMessage}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_print_output` and `clear_print_output` are never used [INFO] [stdout] --> vm/src/pixardis/pixardis.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl PixardisVirtualMachine { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn get_print_output(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn clear_print_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `stop`, and `reset` are never used [INFO] [stdout] --> vm/src/machine/executor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Executor [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | { [INFO] [stdout] 5 | fn run(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | fn step(&mut self, cycles: usize) -> Result<(), VirtualMachineError>; [INFO] [stdout] 7 | fn stop(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn reset(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> compiler/src/analysis/symbol.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter { [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] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter<'_, String, SymbolEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> web/src/lib.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut logger = Logger::new(source); [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: variants `Error` and `Full` are never constructed [INFO] [stdout] --> web/src/../../vm/src/pixardis/pixardis.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum PixardisLogLevel { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 17 | None, [INFO] [stdout] 18 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixardisLogLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run`, `stop`, and `reset` are never used [INFO] [stdout] --> web/src/../../vm/src/machine/executor.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Executor [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | { [INFO] [stdout] 5 | fn run(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | fn step(&mut self, cycles: usize) -> Result<(), VirtualMachineError>; [INFO] [stdout] 7 | fn stop(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | fn reset(&mut self) -> Result<(), VirtualMachineError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_analysed_tree`, `is_function_declaration_scope`, and `check_variable_exists_in_scope` are never used [INFO] [stdout] --> web/src/../../compiler/src/analysis/semantic.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a> SemanticAnalyser<'a> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get_analysed_tree(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn is_function_declaration_scope(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn check_variable_exists_in_scope(&mut self, name: &str, scope_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_code`, `pass`, and `get_function_return_type` are never used [INFO] [stdout] --> web/src/../../compiler/src/codegen/generator.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'a> CodeGenerator<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn print_code(&self, show_line_numbers: bool, show_scope: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn pass(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_function_return_type(&mut self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> web/src/../../compiler/src/analysis/symbol.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter { [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] 176 | pub fn get_iter(&self) -> std::collections::hash_map::Iter<'_, String, SymbolEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.66s [INFO] running `Command { std: "docker" "inspect" "8ac7315a6b1c411a6242b74e9a04a16ab77745f306ecc51aa64edcf9886c84a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac7315a6b1c411a6242b74e9a04a16ab77745f306ecc51aa64edcf9886c84a7", kill_on_drop: false }` [INFO] [stdout] 8ac7315a6b1c411a6242b74e9a04a16ab77745f306ecc51aa64edcf9886c84a7