[INFO] cloning repository https://github.com/gael-bigot/czc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gael-bigot/czc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgael-bigot%2Fczc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgael-bigot%2Fczc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a928d94e19bc68d7683f46ac745a8c0d5a01376 [INFO] checking gael-bigot/czc against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgael-bigot%2Fczc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gael-bigot/czc [INFO] finished tweaking git repo https://github.com/gael-bigot/czc [INFO] tweaked toml for git repo https://github.com/gael-bigot/czc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gael-bigot/czc on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gael-bigot/czc 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest Rust 1.90.0-nightly compatible version [INFO] [stderr] Adding json v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be3e5f99464f716ba8cf4d04fef276e3a6cce25f0d6890a71436bfe8edd08b2f [INFO] running `Command { std: "docker" "start" "-a" "be3e5f99464f716ba8cf4d04fef276e3a6cce25f0d6890a71436bfe8edd08b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be3e5f99464f716ba8cf4d04fef276e3a6cce25f0d6890a71436bfe8edd08b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3e5f99464f716ba8cf4d04fef276e3a6cce25f0d6890a71436bfe8edd08b2f", kill_on_drop: false }` [INFO] [stdout] be3e5f99464f716ba8cf4d04fef276e3a6cce25f0d6890a71436bfe8edd08b2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 111e59517ea392d217951bb7778b130f2636f06cbec4785e0f8afd9fcdb49a48 [INFO] running `Command { std: "docker" "start" "-a" "111e59517ea392d217951bb7778b130f2636f06cbec4785e0f8afd9fcdb49a48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling chumsky v0.10.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking ucd-trie v0.1.7 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Checking logos v0.15.0 [INFO] [stderr] Checking pest v2.8.0 [INFO] [stderr] Checking parse-hyperlinks v0.23.4 [INFO] [stderr] Checking ebnf v0.1.4 [INFO] [stderr] Checking czc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/assembler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::*, casm::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::*` [INFO] [stdout] --> src/assembler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ast::*, casm::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/assembler.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | if let Some(imm) = bytecode.imm { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:408:39 [INFO] [stdout] | [INFO] [stdout] 408 | CasmInstruction::Call(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:411:38 [INFO] [stdout] | [INFO] [stdout] 411 | CasmInstruction::Jmp(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | CasmInstruction::JmpIfNeq(label, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/assembler.rs:414:50 [INFO] [stdout] | [INFO] [stdout] 414 | CasmInstruction::JmpIfNeq(label, op) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:431:40 [INFO] [stdout] | [INFO] [stdout] 431 | CasmInstruction::Label(label) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | for (i, arg) in self.paren_args.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 175 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:206:30 [INFO] [stdout] | [INFO] [stdout] 206 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:219:34 [INFO] [stdout] | [INFO] [stdout] 219 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | Operand::DerefFp(offset) => 1, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | Operand::DerefAp(offset) => 0, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | Operand::Int(n) => unreachable!(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:229:34 [INFO] [stdout] | [INFO] [stdout] 229 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/assembler.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | Operand::Int(n) => 1, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:317:34 [INFO] [stdout] | [INFO] [stdout] 317 | Operand::DerefFp(offset) => 2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/assembler.rs:318:34 [INFO] [stdout] | [INFO] [stdout] 318 | Operand::DerefAp(offset) => 4, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imm` [INFO] [stdout] --> src/assembler.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | if let Some(imm) = bytecode.imm { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_imm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:408:39 [INFO] [stdout] | [INFO] [stdout] 408 | CasmInstruction::Call(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:411:38 [INFO] [stdout] | [INFO] [stdout] 411 | CasmInstruction::Jmp(label) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:414:43 [INFO] [stdout] | [INFO] [stdout] 414 | CasmInstruction::JmpIfNeq(label, op) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/assembler.rs:414:50 [INFO] [stdout] | [INFO] [stdout] 414 | CasmInstruction::JmpIfNeq(label, op) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/assembler.rs:431:40 [INFO] [stdout] | [INFO] [stdout] 431 | CasmInstruction::Label(label) => {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ast.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | for (i, arg) in self.paren_args.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lower_to_casm.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | ExprAssignment::Assign(ident, expr) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lower_to_casm.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | ExprAssignment::Assign(ident, expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lower_to_casm.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | CodeElement::LocalVar(ident, expr) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lower_to_casm.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | CodeElement::LocalVar(ident, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value1` [INFO] [stdout] --> src/lower_to_casm.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let value1 = self.compile_expr(expr1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lower_to_casm.rs:88:40 [INFO] [stdout] | [INFO] [stdout] 88 | ExprAssignment::Assign(ident, expr) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lower_to_casm.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | ExprAssignment::Assign(ident, expr) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum CodeElement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 96 | Instruction(Instruction), [INFO] [stdout] 97 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | Reference(Identifier, Expr), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 99 | LocalVar(Identifier, Option), [INFO] [stdout] 100 | TempVar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | CompoundAssertEqual(Expr, Expr), [INFO] [stdout] 102 | StaticAssert, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | FuncCall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 106 | Label, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Function(Identifier, Vec, Vec), [INFO] [stdout] 108 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | NameSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 110 | TypeDef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 111 | WithAttr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 112 | With, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | Hint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | Directive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeElement` has a derived impl for the trait `Clone`, 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: variants `CallAbs`, `IncrFp`, and `Deref` are never constructed [INFO] [stdout] --> src/casm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CasmInstruction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | CallAbs(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | IncrFp(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Deref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CasmInstruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniVm` is never constructed [INFO] [stdout] --> src/minivm.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MiniVm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/minivm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MiniVm { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn load_program(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn mov_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn mov_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn add_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn add_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn sub_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn sub_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn mul_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn mul_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn jmp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn jnz(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn call(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn ret(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn print_mem(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident` [INFO] [stdout] --> src/lower_to_casm.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | CodeElement::LocalVar(ident, expr) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ident` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/lower_to_casm.rs:156:46 [INFO] [stdout] | [INFO] [stdout] 156 | CodeElement::LocalVar(ident, expr) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value1` [INFO] [stdout] --> src/lower_to_casm.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | let value1 = self.compile_expr(expr1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_value1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/assembler.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | data["data"].push(format!("{:#x}", bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 468 | let _ = data["data"].push(format!("{:#x}", bytes)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/assembler.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | data["data"].push(format!("{:#x}", imm)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 470 | let _ = data["data"].push(format!("{:#x}", imm)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum CodeElement { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 96 | Instruction(Instruction), [INFO] [stdout] 97 | Const, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 98 | Reference(Identifier, Expr), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 99 | LocalVar(Identifier, Option), [INFO] [stdout] 100 | TempVar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | CompoundAssertEqual(Expr, Expr), [INFO] [stdout] 102 | StaticAssert, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | FuncCall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 106 | Label, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | Function(Identifier, Vec, Vec), [INFO] [stdout] 108 | Struct, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | NameSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 110 | TypeDef, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 111 | WithAttr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 112 | With, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | Hint, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | Directive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 115 | Import, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeElement` has a derived impl for the trait `Clone`, 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: variants `CallAbs`, `IncrFp`, and `Deref` are never constructed [INFO] [stdout] --> src/casm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CasmInstruction { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | CallAbs(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | IncrFp(u64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | Deref { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CasmInstruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiniVm` is never constructed [INFO] [stdout] --> src/minivm.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct MiniVm { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/minivm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MiniVm { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn load_program(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn mov_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn mov_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn add_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn add_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn sub_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn sub_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn mul_fp_fp(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn mul_fp_imm(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn jmp(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn jnz(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn call(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn ret(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn print_mem(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/assembler.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | data["data"].push(format!("{:#x}", bytes)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 468 | let _ = data["data"].push(format!("{:#x}", bytes)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/assembler.rs:470:17 [INFO] [stdout] | [INFO] [stdout] 470 | data["data"].push(format!("{:#x}", imm)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 470 | let _ = data["data"].push(format!("{:#x}", imm)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.56s [INFO] running `Command { std: "docker" "inspect" "111e59517ea392d217951bb7778b130f2636f06cbec4785e0f8afd9fcdb49a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111e59517ea392d217951bb7778b130f2636f06cbec4785e0f8afd9fcdb49a48", kill_on_drop: false }` [INFO] [stdout] 111e59517ea392d217951bb7778b130f2636f06cbec4785e0f8afd9fcdb49a48