[INFO] cloning repository https://github.com/zackradisic/tyvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zackradisic/tyvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzackradisic%2Ftyvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzackradisic%2Ftyvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b5f68ebc786124210f9f8be0e6fd5de15bb44fa [INFO] testing zackradisic/tyvm against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzackradisic%2Ftyvm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zackradisic/tyvm on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zackradisic/tyvm [INFO] finished tweaking git repo https://github.com/zackradisic/tyvm [INFO] tweaked toml for git repo https://github.com/zackradisic/tyvm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zackradisic/tyvm 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f0b63e1902b47fd4ed912e3c963a50599e74a102ca99feb090d0a6b8b648584 [INFO] running `Command { std: "docker" "start" "-a" "5f0b63e1902b47fd4ed912e3c963a50599e74a102ca99feb090d0a6b8b648584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f0b63e1902b47fd4ed912e3c963a50599e74a102ca99feb090d0a6b8b648584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f0b63e1902b47fd4ed912e3c963a50599e74a102ca99feb090d0a6b8b648584", kill_on_drop: false }` [INFO] [stdout] 5f0b63e1902b47fd4ed912e3c963a50599e74a102ca99feb090d0a6b8b648584 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0317ff3c9fb612d525bfd47434e6d80d5ff465a4edd24c82f9bfd5723be57e56 [INFO] running `Command { std: "docker" "start" "-a" "0317ff3c9fb612d525bfd47434e6d80d5ff465a4edd24c82f9bfd5723be57e56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.18 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling supports-unicode v2.0.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling index_vec v0.1.3 [INFO] [stderr] Compiling unicode-id-start v1.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling oxc_index v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling oxc_allocator v0.1.3 [INFO] [stderr] Compiling oxc_span v0.1.3 [INFO] [stderr] Compiling oxc_diagnostics v0.1.0 [INFO] [stderr] Compiling oxc_syntax v0.1.3 [INFO] [stderr] Compiling oxc_ast v0.1.2 [INFO] [stderr] Compiling oxc_parser v0.1.2 [INFO] [stderr] Compiling tyvm_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stdout] --> src/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::btree_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/compile.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/compile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option` [INFO] [stdout] --> src/compile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::panicking` [INFO] [stdout] --> src/compile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::panicking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::AllocBox as Box` [INFO] [stdout] --> src/compile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::AllocBox as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/compile.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{common::*, ir}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytemuck::Zeroable` [INFO] [stdout] --> src/compile.rs:1351:9 [INFO] [stdout] | [INFO] [stdout] 1351 | use bytemuck::Zeroable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/compile.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | fn alloc_constant_object(&mut self, string: &ObjectLit<'alloc>) -> ConstantTableIdx { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/compile.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let size = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional_idx` [INFO] [stdout] --> src/compile.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optional_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compile.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 532 | / Expr::Unary(Unary { [INFO] [stdout] 533 | | op: UnaryOperator::UnaryNegation, [INFO] [stdout] 534 | | expr, [INFO] [stdout] 535 | | }) => { [INFO] [stdout] | |______________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 539 | Expr::Unary(_) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compile.rs:1058:72 [INFO] [stdout] | [INFO] [stdout] 1058 | .and_then(|f| f.locals.iter().enumerate().rev().find(|(i, l)| l == &name)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/ir.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn try_into_object_lit(&self, arena: &'ir Arena) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail_call` [INFO] [stdout] --> src/ir_transform_oxc.rs:388:69 [INFO] [stdout] | [INFO] [stdout] 388 | fn transform_expr(&self, expr: &'input ast::Expression<'input>, tail_call: bool) -> Expr<'ir> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tail_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compile.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Function<'alloc> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param_skip_instr_idx` is never read [INFO] [stdout] --> src/compile.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct OptionalParam<'alloc> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | param_skip_instr_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_u32` is never used [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl<'alloc> Compiler<'alloc> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 312 | fn push_u32(&mut self, val: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MAX_VAL` is never used [INFO] [stdout] --> src/op.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const OP_MAX_VAL: u8 = Op::Exit as u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.01s [INFO] running `Command { std: "docker" "inspect" "0317ff3c9fb612d525bfd47434e6d80d5ff465a4edd24c82f9bfd5723be57e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0317ff3c9fb612d525bfd47434e6d80d5ff465a4edd24c82f9bfd5723be57e56", kill_on_drop: false }` [INFO] [stdout] 0317ff3c9fb612d525bfd47434e6d80d5ff465a4edd24c82f9bfd5723be57e56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f74c4c9ec9dab853b972e4ec0eefba5a518621607718e96345ee84a32649226 [INFO] running `Command { std: "docker" "start" "-a" "7f74c4c9ec9dab853b972e4ec0eefba5a518621607718e96345ee84a32649226", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stdout] --> src/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::btree_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/compile.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/compile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option` [INFO] [stdout] --> src/compile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::panicking` [INFO] [stdout] --> src/compile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::panicking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::AllocBox as Box` [INFO] [stdout] --> src/compile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::AllocBox as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/compile.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{common::*, ir}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytemuck::Zeroable` [INFO] [stdout] --> src/compile.rs:1351:9 [INFO] [stdout] | [INFO] [stdout] 1351 | use bytemuck::Zeroable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/compile.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | fn alloc_constant_object(&mut self, string: &ObjectLit<'alloc>) -> ConstantTableIdx { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/compile.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let size = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional_idx` [INFO] [stdout] --> src/compile.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optional_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tyvm_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compile.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 532 | / Expr::Unary(Unary { [INFO] [stdout] 533 | | op: UnaryOperator::UnaryNegation, [INFO] [stdout] 534 | | expr, [INFO] [stdout] 535 | | }) => { [INFO] [stdout] | |______________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 539 | Expr::Unary(_) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compile.rs:1058:72 [INFO] [stdout] | [INFO] [stdout] 1058 | .and_then(|f| f.locals.iter().enumerate().rev().find(|(i, l)| l == &name)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/ir.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn try_into_object_lit(&self, arena: &'ir Arena) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail_call` [INFO] [stdout] --> src/ir_transform_oxc.rs:388:69 [INFO] [stdout] | [INFO] [stdout] 388 | fn transform_expr(&self, expr: &'input ast::Expression<'input>, tail_call: bool) -> Expr<'ir> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tail_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compile.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Function<'alloc> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param_skip_instr_idx` is never read [INFO] [stdout] --> src/compile.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct OptionalParam<'alloc> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | param_skip_instr_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_u32` is never used [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl<'alloc> Compiler<'alloc> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 312 | fn push_u32(&mut self, val: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MAX_VAL` is never used [INFO] [stdout] --> src/op.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const OP_MAX_VAL: u8 = Op::Exit as u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stdout] --> src/compile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::btree_map::Entry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/compile.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroUsize` [INFO] [stdout] --> src/compile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::NonZeroUsize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::option` [INFO] [stdout] --> src/compile.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::panicking` [INFO] [stdout] --> src/compile.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread::panicking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::AllocBox as Box` [INFO] [stdout] --> src/compile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::common::AllocBox as Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::*` [INFO] [stdout] --> src/compile.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{common::*, ir}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytemuck::Zeroable` [INFO] [stdout] --> src/compile.rs:1351:9 [INFO] [stdout] | [INFO] [stdout] 1351 | use bytemuck::Zeroable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler` [INFO] [stdout] --> src/compile.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> src/compile.rs:180:41 [INFO] [stdout] | [INFO] [stdout] 180 | fn alloc_constant_object(&mut self, string: &ObjectLit<'alloc>) -> ConstantTableIdx { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/compile.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let size = 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `optional_idx` [INFO] [stdout] --> src/compile.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optional_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile.rs:465:13 [INFO] [stdout] | [INFO] [stdout] 465 | let mut optional_idx: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compile.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 532 | / Expr::Unary(Unary { [INFO] [stdout] 533 | | op: UnaryOperator::UnaryNegation, [INFO] [stdout] 534 | | expr, [INFO] [stdout] 535 | | }) => { [INFO] [stdout] | |______________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 539 | Expr::Unary(_) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compile.rs:1058:72 [INFO] [stdout] | [INFO] [stdout] 1058 | .and_then(|f| f.locals.iter().enumerate().rev().find(|(i, l)| l == &name)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arena` [INFO] [stdout] --> src/ir.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn try_into_object_lit(&self, arena: &'ir Arena) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail_call` [INFO] [stdout] --> src/ir_transform_oxc.rs:388:69 [INFO] [stdout] | [INFO] [stdout] 388 | fn transform_expr(&self, expr: &'input ast::Expression<'input>, tail_call: bool) -> Expr<'ir> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tail_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/compile.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Function<'alloc> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `param_skip_instr_idx` is never read [INFO] [stdout] --> src/compile.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct OptionalParam<'alloc> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 80 | param_skip_instr_idx: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionalParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_u32` is never used [INFO] [stdout] --> src/compile.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 145 | impl<'alloc> Compiler<'alloc> { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 312 | fn push_u32(&mut self, val: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OP_MAX_VAL` is never used [INFO] [stdout] --> src/op.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | const OP_MAX_VAL: u8 = Op::Exit as u8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "7f74c4c9ec9dab853b972e4ec0eefba5a518621607718e96345ee84a32649226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f74c4c9ec9dab853b972e4ec0eefba5a518621607718e96345ee84a32649226", kill_on_drop: false }` [INFO] [stdout] 7f74c4c9ec9dab853b972e4ec0eefba5a518621607718e96345ee84a32649226 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c758f5ae4c6c273cc27fc383d8a8f671eebf76af360ba73b4246bcd33a757e22 [INFO] running `Command { std: "docker" "start" "-a" "c758f5ae4c6c273cc27fc383d8a8f671eebf76af360ba73b4246bcd33a757e22", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::collections::btree_map::Entry` [INFO] [stderr] --> src/compile.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::btree_map::Entry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HashMap` and `HashSet` [INFO] [stderr] --> src/compile.rs:3:44 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::NonZeroUsize` [INFO] [stderr] --> src/compile.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::num::NonZeroUsize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::option` [INFO] [stderr] --> src/compile.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::option; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::panicking` [INFO] [stderr] --> src/compile.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::thread::panicking; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::common::AllocBox as Box` [INFO] [stderr] --> src/compile.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::common::AllocBox as Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::*` [INFO] [stderr] --> src/compile.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use crate::{common::*, ir}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytemuck::Zeroable` [INFO] [stderr] --> src/compile.rs:1351:9 [INFO] [stderr] | [INFO] [stderr] 1351 | use bytemuck::Zeroable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compiler` [INFO] [stderr] --> src/compile.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `compiler` [INFO] [stderr] --> src/compile.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | fn compile(&self, compiler: &mut Compiler<'alloc>) {} [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `string` [INFO] [stderr] --> src/compile.rs:180:41 [INFO] [stderr] | [INFO] [stderr] 180 | fn alloc_constant_object(&mut self, string: &ObjectLit<'alloc>) -> ConstantTableIdx { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `size` [INFO] [stderr] --> src/compile.rs:247:13 [INFO] [stderr] | [INFO] [stderr] 247 | let size = 1; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `optional_idx` [INFO] [stderr] --> src/compile.rs:465:17 [INFO] [stderr] | [INFO] [stderr] 465 | let mut optional_idx: usize = 0; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optional_idx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/compile.rs:465:13 [INFO] [stderr] | [INFO] [stderr] 465 | let mut optional_idx: usize = 0; [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/compile.rs:539:13 [INFO] [stderr] | [INFO] [stderr] 532 | / Expr::Unary(Unary { [INFO] [stderr] 533 | | op: UnaryOperator::UnaryNegation, [INFO] [stderr] 534 | | expr, [INFO] [stderr] 535 | | }) => { [INFO] [stderr] | |______________- matches all the relevant values [INFO] [stderr] ... [INFO] [stderr] 539 | Expr::Unary(_) => todo!(), [INFO] [stderr] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/compile.rs:1058:72 [INFO] [stderr] | [INFO] [stderr] 1058 | .and_then(|f| f.locals.iter().enumerate().rev().find(|(i, l)| l == &name)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arena` [INFO] [stderr] --> src/ir.rs:125:39 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn try_into_object_lit(&self, arena: &'ir Arena) -> Option> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arena` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tail_call` [INFO] [stderr] --> src/ir_transform_oxc.rs:388:69 [INFO] [stderr] | [INFO] [stderr] 388 | fn transform_expr(&self, expr: &'input ast::Expression<'input>, tail_call: bool) -> Expr<'ir> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tail_call` [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/compile.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Function<'alloc> { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 68 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `param_skip_instr_idx` is never read [INFO] [stderr] --> src/compile.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct OptionalParam<'alloc> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 80 | param_skip_instr_idx: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OptionalParam` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `push_u32` is never used [INFO] [stderr] --> src/compile.rs:312:8 [INFO] [stderr] | [INFO] [stderr] 145 | impl<'alloc> Compiler<'alloc> { [INFO] [stderr] | ----------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 312 | fn push_u32(&mut self, val: u32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `OP_MAX_VAL` is never used [INFO] [stderr] --> src/op.rs:69:7 [INFO] [stderr] | [INFO] [stderr] 69 | const OP_MAX_VAL: u8 = Op::Exit as u8; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tyvm_compiler` (lib) generated 22 warnings (run `cargo fix --lib -p tyvm_compiler` to apply 9 suggestions) [INFO] [stderr] warning: `tyvm_compiler` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tyvm_compiler-ec0223227696e86f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tyvm_compiler-a8e07695b2655f85) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tyvm_compiler [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c758f5ae4c6c273cc27fc383d8a8f671eebf76af360ba73b4246bcd33a757e22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c758f5ae4c6c273cc27fc383d8a8f671eebf76af360ba73b4246bcd33a757e22", kill_on_drop: false }` [INFO] [stdout] c758f5ae4c6c273cc27fc383d8a8f671eebf76af360ba73b4246bcd33a757e22