[INFO] cloning repository https://github.com/darmie/brass_vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darmie/brass_vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarmie%2Fbrass_vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarmie%2Fbrass_vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2620b1827a672d2c61e1bf00fe5147fc68b5e98e [INFO] checking darmie/brass_vm against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarmie%2Fbrass_vm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darmie/brass_vm [INFO] finished tweaking git repo https://github.com/darmie/brass_vm [INFO] tweaked toml for git repo https://github.com/darmie/brass_vm written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darmie/brass_vm on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/darmie/brass_vm 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] [stderr] Downloaded cranelift-module v0.84.0 [INFO] [stderr] Downloaded strum_macros v0.24.0 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded strum v0.24.0 [INFO] [stderr] Downloaded cranelift v0.84.0 [INFO] [stderr] Downloaded utf8-read v0.4.0 [INFO] [stderr] Downloaded cranelift-frontend v0.84.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.84.0 [INFO] [stderr] Downloaded cranelift-native v0.84.0 [INFO] [stderr] Downloaded cranelift-bforest v0.84.0 [INFO] [stderr] Downloaded cranelift-jit v0.84.0 [INFO] [stderr] Downloaded regalloc2 v0.1.3 [INFO] [stderr] Downloaded cranelift-entity v0.84.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.84.0 [INFO] [stderr] Downloaded cranelift-codegen v0.84.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 204e90125478d2755a2c7094c20d3af9214404aadf5d92b9338c6970d1a0db1e [INFO] running `Command { std: "docker" "start" "-a" "204e90125478d2755a2c7094c20d3af9214404aadf5d92b9338c6970d1a0db1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204e90125478d2755a2c7094c20d3af9214404aadf5d92b9338c6970d1a0db1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204e90125478d2755a2c7094c20d3af9214404aadf5d92b9338c6970d1a0db1e", kill_on_drop: false }` [INFO] [stdout] 204e90125478d2755a2c7094c20d3af9214404aadf5d92b9338c6970d1a0db1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca089bbbaa184e16d702f2d703d30f28c5dee7c2ef50e2cfb4cfb0bc9f92f3f7 [INFO] running `Command { std: "docker" "start" "-a" "ca089bbbaa184e16d702f2d703d30f28c5dee7c2ef50e2cfb4cfb0bc9f92f3f7", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling cranelift-codegen-shared v0.84.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Checking cranelift-entity v0.84.0 [INFO] [stderr] Checking slice-group-by v0.3.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking utf8-read v0.4.0 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.84.0 [INFO] [stderr] Checking stickyimmix v0.1.0 (/opt/rustwide/workdir/crates/stickyimmix) [INFO] [stderr] Checking cranelift-bforest v0.84.0 [INFO] [stdout] warning: associated items `into_mut_ptr`, `size`, and `from_raw_parts` are never used [INFO] [stdout] --> crates/stickyimmix/src/blockalloc.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn into_mut_ptr(self) -> BlockPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn size(&self) -> BlockSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub unsafe fn from_raw_parts(ptr: BlockPtr, size: BlockSize) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_mark` is never read [INFO] [stdout] --> crates/stickyimmix/src/blockmeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockMeta { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | line_mark: [bool; constants::LINE_COUNT], [INFO] [stdout] 7 | block_mark: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_line`, `mark_block`, `reset`, and `line_iter` are never used [INFO] [stdout] --> crates/stickyimmix/src/blockmeta.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BlockMeta { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn mark_line(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn mark_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn line_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_PTR_MASK` is never used [INFO] [stdout] --> crates/stickyimmix/src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const BLOCK_PTR_MASK: usize = !(BLOCK_SIZE - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_mut_ptr`, `size`, and `from_raw_parts` are never used [INFO] [stdout] --> crates/stickyimmix/src/blockalloc.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Block { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn into_mut_ptr(self) -> BlockPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn size(&self) -> BlockSize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub unsafe fn from_raw_parts(ptr: BlockPtr, size: BlockSize) -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_mark` is never read [INFO] [stdout] --> crates/stickyimmix/src/blockmeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BlockMeta { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | line_mark: [bool; constants::LINE_COUNT], [INFO] [stdout] 7 | block_mark: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mark_block`, `reset`, and `line_iter` are never used [INFO] [stdout] --> crates/stickyimmix/src/blockmeta.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl BlockMeta { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn mark_block(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn line_iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLOCK_PTR_MASK` is never used [INFO] [stdout] --> crates/stickyimmix/src/constants.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const BLOCK_PTR_MASK: usize = !(BLOCK_SIZE - 1); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_class`, `mark`, and `size_bytes` are never read [INFO] [stdout] --> crates/stickyimmix/src/heap.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 270 | struct TestHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 271 | size_class: SizeClass, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 272 | mark: Mark, [INFO] [stdout] | ^^^^ [INFO] [stdout] 273 | type_id: TestTypeId, [INFO] [stdout] 274 | size_bytes: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regalloc2 v0.1.3 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Compiling cranelift-codegen v0.84.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Checking cranelift-native v0.84.0 [INFO] [stderr] Checking cranelift-frontend v0.84.0 [INFO] [stderr] Checking cranelift-module v0.84.0 [INFO] [stderr] Checking cranelift-jit v0.84.0 [INFO] [stderr] Checking cranelift v0.84.0 [INFO] [stderr] Checking brass v0.1.0 (/opt/rustwide/workdir/crates/brass) [INFO] [stdout] warning: unused import: `IntoPrimitive` [INFO] [stdout] --> crates/brass/src/op.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use num_enum::{IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/brass/src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/brass/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/brass/src/code.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | curline += (c >> 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 571 - curline += (c >> 3); [INFO] [stdout] 571 + curline += c >> 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoPrimitive` and `TryFromPrimitive` [INFO] [stdout] --> crates/brass/src/code_hash.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use num_enum::{IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> crates/brass/src/code_hash.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | c.ints[(f.ops[i - 3].p2.unwrap() as usize)] as i32; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - c.ints[(f.ops[i - 3].p2.unwrap() as usize)] as i32; [INFO] [stdout] 149 + c.ints[f.ops[i - 3].p2.unwrap() as usize ] as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoPrimitive` [INFO] [stdout] --> crates/brass/src/op.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use num_enum::{IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/brass/src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> crates/brass/src/compiler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/brass/src/code.rs:571:28 [INFO] [stdout] | [INFO] [stdout] 571 | curline += (c >> 3); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 571 - curline += (c >> 3); [INFO] [stdout] 571 + curline += c >> 3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoPrimitive` and `TryFromPrimitive` [INFO] [stdout] --> crates/brass/src/code_hash.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use num_enum::{IntoPrimitive, TryFromPrimitive}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> crates/brass/src/code_hash.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | c.ints[(f.ops[i - 3].p2.unwrap() as usize)] as i32; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - c.ints[(f.ops[i - 3].p2.unwrap() as usize)] as i32; [INFO] [stdout] 149 + c.ints[f.ops[i - 3].p2.unwrap() as usize ] as i32; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/brass/src/code.rs:437:20 [INFO] [stdout] | [INFO] [stdout] 437 | if let Err(e) = Code::check_error() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `OP_NARGS` is never used [INFO] [stdout] --> crates/brass/src/op.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub static OP_NARGS: [i8; 100] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Opcode` is never constructed [INFO] [stdout] --> crates/brass/src/op.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> crates/brass/src/op.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Opcode { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 155 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValueTypeU` is never used [INFO] [stdout] --> crates/brass/src/types.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum ValueTypeU { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ValueType` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub struct ValueType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> crates/brass/src/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl ValueType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 105 | pub fn hash(self, isrec: bool) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> crates/brass/src/types.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl ValueType { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 199 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjField` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct ObjField { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjProto` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct ObjProto { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnumConstruct` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct EnumConstruct { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RuntimeObj` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct RuntimeObj {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HLFunction` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct HLFunction { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuncField` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct FuncField { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Constant` is never constructed [INFO] [stdout] --> crates/brass/src/types.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct Constant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> crates/brass/src/decoder.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Decoder<'input> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `file_position`, `advance`, `read_bytes`, `read_index`, and `read` are never used [INFO] [stdout] --> crates/brass/src/decoder.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'input> Decoder<'input> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(buf: &'input [u8]) -> Decoder<'input> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn file_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn advance(&mut self, count: usize) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn read_bytes(&mut self, buf: &mut [u8]) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn read_index(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn read>(&mut self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Decode` is never used [INFO] [stdout] --> crates/brass/src/decoder.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | pub trait Decode<'input>: Sized + 'input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOT_RELOAD_EXTRA_GLOBALS` is never used [INFO] [stdout] --> crates/brass/src/compiler.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const HOT_RELOAD_EXTRA_GLOBALS: i32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HLModule` is never constructed [INFO] [stdout] --> crates/brass/src/compiler.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HLModule<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `init_globals`, and `translate_global` are never used [INFO] [stdout] --> crates/brass/src/compiler.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> HLModule<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(code: &'a Code) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn init(&mut self, hot_reload: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn init_globals(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn translate_global(&mut self, t: Type, name: String, writable: bool, offset: Offset32)-> GlobalValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionCompiler` is never constructed [INFO] [stdout] --> crates/brass/src/compiler.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct FunctionCompiler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DecodeErrorKind` is never used [INFO] [stdout] --> crates/brass/src/errors.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DecodeErrorKind { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecodeError` is never constructed [INFO] [stdout] --> crates/brass/src/errors.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DecodeError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_info` is never used [INFO] [stdout] --> crates/brass/src/errors.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl DecodeError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 26 | pub(crate) fn with_info(kind: DecodeErrorKind, position: usize) -> DecodeError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HLVERSION` is never used [INFO] [stdout] --> crates/brass/src/code.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | static HLVERSION: u32 = 0x010C00; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ERRORS` is never used [INFO] [stdout] --> crates/brass/src/code.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | static mut ERRORS:Option = None; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `UINDEX` is never used [INFO] [stdout] --> crates/brass/src/code.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn UINDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `INDEX` is never used [INFO] [stdout] --> crates/brass/src/code.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn INDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Code` is never constructed [INFO] [stdout] --> crates/brass/src/code.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/brass/src/code.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl Code { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 83 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn read_string(decoder: &mut crate::decoder::Decoder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn get_ustring(&mut self, index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn read_ustring(decoder: &mut crate::decoder::Decoder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn get_type(decoder: &mut crate::decoder::Decoder) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn read_type( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn read_strings( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | pub fn read_function(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn read_opcode(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | pub fn debug_infos(decoder: &mut Decoder, nops: usize) -> Result, DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | fn map_err(e: DecodeError) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 598 | fn check_error() -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | pub fn read(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeHash` is never constructed [INFO] [stdout] --> crates/brass/src/code_hash.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CodeHash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/brass/src/code_hash.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CodeHash { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn alloc(mut code: &Code) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn hash_type_rec(&mut self, pos: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn hash_native(&self, n: Native) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn hash_fun_sign(&self, f: HLFunction) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | fn hfun(&self, hasher: &mut Crc32Hasher, idx: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn hash_fun(&self, f: HLFunction) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn code_hash_type(&self, t: ValueType) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn finalize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Native` is never constructed [INFO] [stdout] --> crates/brass/src/native.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Native { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `UINDEX` should have a snake case name [INFO] [stdout] --> crates/brass/src/code.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn UINDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `uindex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `INDEX` should have a snake case name [INFO] [stdout] --> crates/brass/src/code.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn INDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> crates/brass/src/code.rs:437:20 [INFO] [stdout] | [INFO] [stdout] 437 | if let Err(e) = Code::check_error() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref`, `Abstract`, and `Void` are never constructed [INFO] [stdout] --> crates/brass/src/types.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum ValueTypeU { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 89 | Ref(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 90 | Abstract(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | Null, [INFO] [stdout] 92 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueTypeU` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash` is never used [INFO] [stdout] --> crates/brass/src/types.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl ValueType { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 105 | pub fn hash(self, isrec: bool) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global` is never read [INFO] [stdout] --> crates/brass/src/types.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 263 | pub struct Constant { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 264 | pub global: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Constant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `file_position` is never used [INFO] [stdout] --> crates/brass/src/decoder.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'input> Decoder<'input> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn file_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOT_RELOAD_EXTRA_GLOBALS` is never used [INFO] [stdout] --> crates/brass/src/compiler.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const HOT_RELOAD_EXTRA_GLOBALS: i32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HLModule` is never constructed [INFO] [stdout] --> crates/brass/src/compiler.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct HLModule<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init`, `init_globals`, and `translate_global` are never used [INFO] [stdout] --> crates/brass/src/compiler.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> HLModule<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(code: &'a Code) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn init(&mut self, hot_reload: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn init_globals(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn translate_global(&mut self, t: Type, name: String, writable: bool, offset: Offset32)-> GlobalValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionCompiler` is never constructed [INFO] [stdout] --> crates/brass/src/compiler.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct FunctionCompiler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotReadIndex`, `CouldNotReadStringAtIndex`, and `InvalidString` are never constructed [INFO] [stdout] --> crates/brass/src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum DecodeErrorKind { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | CouldNotReadIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | CouldNotReadStringAtIndex, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | InvalidStringIndex, [INFO] [stdout] 13 | InvalidString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecodeErrorKind` 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: struct `CodeHash` is never constructed [INFO] [stdout] --> crates/brass/src/code_hash.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CodeHash { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> crates/brass/src/code_hash.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl CodeHash { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 22 | pub fn alloc(mut code: &Code) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn hash_type_rec(&mut self, pos: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn hash_native(&self, n: Native) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn hash_fun_sign(&self, f: HLFunction) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | fn hfun(&self, hasher: &mut Crc32Hasher, idx: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn hash_fun(&self, f: HLFunction) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn code_hash_type(&self, t: ValueType) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn finalize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lib`, `name`, `t`, and `findex` are never read [INFO] [stdout] --> crates/brass/src/native.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Native { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | pub lib:String, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | pub name:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub t:ValueType, [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub findex:usize [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Native` 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 `UINDEX` should have a snake case name [INFO] [stdout] --> crates/brass/src/code.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn UINDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `uindex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `INDEX` should have a snake case name [INFO] [stdout] --> crates/brass/src/code.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn INDEX(decoder: &mut Decoder) -> Result { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.15s [INFO] running `Command { std: "docker" "inspect" "ca089bbbaa184e16d702f2d703d30f28c5dee7c2ef50e2cfb4cfb0bc9f92f3f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca089bbbaa184e16d702f2d703d30f28c5dee7c2ef50e2cfb4cfb0bc9f92f3f7", kill_on_drop: false }` [INFO] [stdout] ca089bbbaa184e16d702f2d703d30f28c5dee7c2ef50e2cfb4cfb0bc9f92f3f7