[INFO] cloning repository https://github.com/emliunix/wasmly [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emliunix/wasmly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5567c95e5abb79f2439163e161e03c8580e01b0b [INFO] building emliunix/wasmly against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femliunix%2Fwasmly" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emliunix/wasmly on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emliunix/wasmly [INFO] finished tweaking git repo https://github.com/emliunix/wasmly [INFO] tweaked toml for git repo https://github.com/emliunix/wasmly written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/emliunix/wasmly 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07af7bb917bee821e49b788f7dec731d6b8007aad0a5506e3372ed0a23be8c2f [INFO] running `Command { std: "docker" "start" "-a" "07af7bb917bee821e49b788f7dec731d6b8007aad0a5506e3372ed0a23be8c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07af7bb917bee821e49b788f7dec731d6b8007aad0a5506e3372ed0a23be8c2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07af7bb917bee821e49b788f7dec731d6b8007aad0a5506e3372ed0a23be8c2f", kill_on_drop: false }` [INFO] [stdout] 07af7bb917bee821e49b788f7dec731d6b8007aad0a5506e3372ed0a23be8c2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e78557b413a674c9f629cc417761e1331b81c5353a6264a1ac3d8855f51e21 [INFO] running `Command { std: "docker" "start" "-a" "f7e78557b413a674c9f629cc417761e1331b81c5353a6264a1ac3d8855f51e21", kill_on_drop: false }` [INFO] [stderr] Compiling wasmly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Label` is never used [INFO] [stdout] --> src/main.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `num_rets` is never used [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Label { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 12 | fn num_rets(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StackItem` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | enum StackItem { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_instrs` is never used [INFO] [stdout] --> src/main.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn block_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct Level<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `instr` are never used [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl<'a> Level<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 88 | fn new(instrs: &'a Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn instr(&self) -> &'a Instr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InstrCursor` is never used [INFO] [stdout] --> src/main.rs:101:7 [INFO] [stdout] | [INFO] [stdout] 101 | trait InstrCursor<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VM` is never constructed [INFO] [stdout] --> src/main.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct VM { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 158 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 159 | fn new() -> VM { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn run(&mut self, instrs: &Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn step<'a>(&mut self, instr: &'a Instr, cursor: &mut Vec>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | fn result(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | fn push(&mut self, item: StackItem) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | fn pop(&mut self) -> StackItem { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | i32, push_i32, I32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 272 | i64, push_i64, I64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | f32, push_f32, F32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 274 | f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | i32, pop_i32, I32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 279 | i64, pop_i64, I64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 280 | f32, pop_f32, F32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 281 | f64, pop_f64, F64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn pop_label(&mut self, mut n_labels: usize) -> (Label, Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AdminInstr` is never used [INFO] [stdout] --> src/cont.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum AdminInstr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/cont.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Config (AdminInstr, Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_i32` is never used [INFO] [stdout] --> src/cont.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | impl_val!(val_i32, I32, i32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Instance` is never constructed [INFO] [stdout] --> src/cont.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Instance { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/cont.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Instance { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn run(&mut self, instrs: &Vec) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn step<'a>(&mut self, config: Config<&'a [Instr]>) -> Config<&'a [Instr]> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I32`, `I64`, `F32`, `F64`, and `Func` are never constructed [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 6 | I32, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | F32, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | F64, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | Func(Vec, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` 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 `func_tys` is never used [INFO] [stdout] --> src/types.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Ty { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] 14 | pub fn func_tys(&self) -> (&[Ty], &[Ty]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty`, `Index`, and `ValTy` are never constructed [INFO] [stdout] --> src/types.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum BlockType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 24 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Index(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | ValTy(Ty), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` 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: multiple variants are never constructed [INFO] [stdout] --> src/types.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Instr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | I32Const(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | I32Add, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | I32Eq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | LocalTee(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | LocalGet(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | LocalSet(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | Br(usize), [INFO] [stdout] | ^^ [INFO] [stdout] 39 | If(BlockType, Vec, Vec), [INFO] [stdout] | ^^ [INFO] [stdout] 40 | Loop(BlockType, Vec), [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | Block(BlockType, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` 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: variants `I32`, `I64`, `F32`, `F64`, and `NULL` are never constructed [INFO] [stdout] --> src/types.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Val { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 46 | I32(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | I64(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | NULL(Ty), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Val` 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: function `block_type` is never used [INFO] [stdout] --> src/types.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn block_type>(ind_tys: &I, ty: &BlockType) -> Ty { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "f7e78557b413a674c9f629cc417761e1331b81c5353a6264a1ac3d8855f51e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e78557b413a674c9f629cc417761e1331b81c5353a6264a1ac3d8855f51e21", kill_on_drop: false }` [INFO] [stdout] f7e78557b413a674c9f629cc417761e1331b81c5353a6264a1ac3d8855f51e21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb941f29c4665c299cd2e1a9e4d0dba388bb6a1c022173d9ae3c9ec36277020 [INFO] running `Command { std: "docker" "start" "-a" "fdb941f29c4665c299cd2e1a9e4d0dba388bb6a1c022173d9ae3c9ec36277020", kill_on_drop: false }` [INFO] [stderr] Compiling wasmly v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/cont.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | AdminInstr::Label(i, vs, es, k) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lbl` [INFO] [stdout] --> src/main.rs:287:37 [INFO] [stdout] | [INFO] [stdout] 287 | if let StackItem::Label(lbl) = &self.stack[i] { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nested_instrs` is never used [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn nested_instrs(instr: &Instr) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `n_func_rets` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn n_func_rets(ty: &Ty) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `halt` is never read [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 150 | struct VM { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 151 | stack: Vec, [INFO] [stdout] 152 | halt: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_i64`, `push_f32`, `push_f64`, `pop_i64`, `pop_f32`, and `pop_f64` are never used [INFO] [stdout] --> src/main.rs:272:14 [INFO] [stdout] | [INFO] [stdout] 158 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | i64, push_i64, I64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 273 | f32, push_f32, F32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 274 | f64, push_f64, F64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | i64, pop_i64, I64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 280 | f32, pop_f32, F32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 281 | f64, pop_f64, F64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_stack_push` which comes from the expansion of the macro `impl_stack_pop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `val_f32` is never used [INFO] [stdout] --> src/cont.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | impl_val!(val_f32, F32, f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_val` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/cont.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 160 | fn indent(mut i: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_cont` is never used [INFO] [stdout] --> src/cont.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn print_cont(k: &AdminInstr, n: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_config` is never used [INFO] [stdout] --> src/cont.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn print_config(config: &Config) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I64`, `F32`, and `F64` are never constructed [INFO] [stdout] --> src/types.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Ty { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 6 | I32, [INFO] [stdout] 7 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | F32, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | F64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ty` 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: variant `Index` is never constructed [INFO] [stdout] --> src/types.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum BlockType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 24 | Empty, [INFO] [stdout] 25 | Index(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockType` 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: variants `Unreachable` and `LocalSet` are never constructed [INFO] [stdout] --> src/types.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Instr { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Unreachable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | LocalSet(usize), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` 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: variants `I64`, `F32`, `F64`, and `NULL` are never constructed [INFO] [stdout] --> src/types.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum Val { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 46 | I32(i32), [INFO] [stdout] 47 | I64(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | F32(f32), [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | NULL(Ty), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Val` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "fdb941f29c4665c299cd2e1a9e4d0dba388bb6a1c022173d9ae3c9ec36277020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb941f29c4665c299cd2e1a9e4d0dba388bb6a1c022173d9ae3c9ec36277020", kill_on_drop: false }` [INFO] [stdout] fdb941f29c4665c299cd2e1a9e4d0dba388bb6a1c022173d9ae3c9ec36277020