[INFO] cloning repository https://github.com/svenslaggare/stackjit-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svenslaggare/stackjit-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fstackjit-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fstackjit-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1747797db6868228a35ff0a0e03e6a955ea60e34 [INFO] checking svenslaggare/stackjit-rs against try#32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fstackjit-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svenslaggare/stackjit-rs on toolchain 32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/svenslaggare/stackjit-rs [INFO] finished tweaking git repo https://github.com/svenslaggare/stackjit-rs [INFO] tweaked toml for git repo https://github.com/svenslaggare/stackjit-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/svenslaggare/stackjit-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d37fe131c49e710457bbed0ba1a4935f16daddfe8e9e60b2254b3155df433413 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d37fe131c49e710457bbed0ba1a4935f16daddfe8e9e60b2254b3155df433413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d37fe131c49e710457bbed0ba1a4935f16daddfe8e9e60b2254b3155df433413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d37fe131c49e710457bbed0ba1a4935f16daddfe8e9e60b2254b3155df433413", kill_on_drop: false }` [INFO] [stdout] d37fe131c49e710457bbed0ba1a4935f16daddfe8e9e60b2254b3155df433413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+32cb8dc6fdc8140b91f4d17c4883e528db4e7e6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575f6569f5985fb86d528266a9c2a507d6a077885ca18ba9eb6b5917dc70c896 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "575f6569f5985fb86d528266a9c2a507d6a077885ca18ba9eb6b5917dc70c896", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling iced-x86 v1.10.3 [INFO] [stderr] Checking stackjit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/mir/compiler.rs:51:79 [INFO] [stdout] | [INFO] [stdout] 51 | |compiler: &mut InstructionMIRCompiler, instruction_index: usize, instruction: &Instruction| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/object.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | (unsafe { self.object_type as u64 }) as usize [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadFloat32` [INFO] [stdout] --> src/model/instruction.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | LoadFloat32(f32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadLocal` [INFO] [stdout] --> src/model/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LoadLocal(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoreLocal` [INFO] [stdout] --> src/model/instruction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | StoreLocal(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sub` [INFO] [stdout] --> src/model/instruction.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadArgument` [INFO] [stdout] --> src/model/instruction.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | LoadArgument(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NewArray` [INFO] [stdout] --> src/model/instruction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | NewArray(TypeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoreElement` [INFO] [stdout] --> src/model/instruction.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | StoreElement(TypeId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadArrayLength` [INFO] [stdout] --> src/model/instruction.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LoadArrayLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NewObject` [INFO] [stdout] --> src/model/instruction.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | NewObject(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadField` [INFO] [stdout] --> src/model/instruction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LoadField(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoreField` [INFO] [stdout] --> src/model/instruction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | StoreField(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Branch` [INFO] [stdout] --> src/model/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Branch(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchEqual` [INFO] [stdout] --> src/model/instruction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | BranchEqual(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchNotEqual` [INFO] [stdout] --> src/model/instruction.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | BranchNotEqual(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchGreaterThan` [INFO] [stdout] --> src/model/instruction.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | BranchGreaterThan(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchGreaterThanOrEqual` [INFO] [stdout] --> src/model/instruction.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | BranchGreaterThanOrEqual(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchLessThan` [INFO] [stdout] --> src/model/instruction.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | BranchLessThan(BranchTarget), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BranchLessThanOrEqual` [INFO] [stdout] --> src/model/instruction.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | BranchLessThanOrEqual(BranchTarget) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | operand_stack_size: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn operand_stack_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/model/class.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/class.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(name: String, field_type: TypeId) -> Field { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/model/class.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/class.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(name: String, mut fields: Vec) -> Class { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class_name` [INFO] [stdout] --> src/model/typesystem.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn class_name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_class` [INFO] [stdout] --> src/model/typesystem.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn add_class(&mut self, class: Class) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `println_vec` [INFO] [stdout] --> src/mir/compiler.rs:445:4 [INFO] [stdout] | [INFO] [stdout] 445 | fn println_vec(original: &Vec, irs: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/mir/mod.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/mir/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first` [INFO] [stdout] --> src/analysis/basic_block.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn first(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `linearize` [INFO] [stdout] --> src/analysis/basic_block.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn linearize(blocks: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_instructions` [INFO] [stdout] --> src/analysis/basic_block.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_instructions(instructions: &Vec, indices: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_graph` [INFO] [stdout] --> src/analysis/control_flow_graph.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn print_graph(&self, instructions: &Vec, blocks: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_edges` [INFO] [stdout] --> src/analysis/control_flow_graph.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn extract_edges(graph: &ControlFlowGraph, index: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_jump_target` [INFO] [stdout] --> src/compiler/code_generator.rs:832:8 [INFO] [stdout] | [INFO] [stdout] 832 | fn set_jump_target(&mut self, branch_offset: usize, branch_instruction_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_r32` [INFO] [stdout] --> src/compiler/code_generator.rs:928:8 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn push_r32(mut encode_instruction: F, register: Register) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pop_r32` [INFO] [stdout] --> src/compiler/code_generator.rs:943:8 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn pop_r32(mut encode_instruction: F, register: Register) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RETURN_VALUE_32` [INFO] [stdout] --> src/compiler/calling_conventions.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub const RETURN_VALUE_32: Register = Register::EAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InstructionIRCompiler` [INFO] [stdout] --> src/compiler/ir/compiler.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InstructionIRCompiler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/ir/compiler.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(binder: &'a Binder, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/compiler/ir/compiler.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn compile(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_initialize_function` [INFO] [stdout] --> src/compiler/ir/compiler.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn compile_initialize_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_instruction` [INFO] [stdout] --> src/compiler/ir/compiler.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_instruction(&mut self, instruction_index: usize, instruction: &InstructionMIR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_be_null` [INFO] [stdout] --> src/compiler/ir/compiler.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | fn can_be_null(&self, instruction_index: usize, register: &RegisterMIR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_stack_offset` [INFO] [stdout] --> src/compiler/ir/compiler.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn get_register_stack_offset(&self, register: &RegisterMIR) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `done` [INFO] [stdout] --> src/compiler/ir/compiler.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn done(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddToStackPointer` [INFO] [stdout] --> src/compiler/ir/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | AddToStackPointer(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PushExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | PushExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | PopExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopEmpty` [INFO] [stdout] --> src/compiler/ir/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | PopEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Absolute` [INFO] [stdout] --> src/compiler/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Absolute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_type` [INFO] [stdout] --> src/optimization/register_allocation/linear_scan.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn for_type(&self, register_type: &VirtualRegisterType) -> &BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `analyze` [INFO] [stdout] --> src/optimization/register_allocation/linear_scan.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 188 | fn analyze(compilation_result: &MIRCompilationResult) -> (Vec, ControlFlowGraph, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_allocation` [INFO] [stdout] --> src/optimization/register_allocation/linear_scan.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 197 | fn print_allocation(instructions: &Vec, live_intervals: &Vec, allocation: &RegisterAllocation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_allocated_registers` [INFO] [stdout] --> src/optimization/register_allocation/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn num_allocated_registers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `num_spilled_registers` [INFO] [stdout] --> src/optimization/register_allocation/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn num_spilled_registers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_owned` [INFO] [stdout] --> src/runtime/memory/manager.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn is_owned(&self, address: *const std::ffi::c_void) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inside` [INFO] [stdout] --> src/runtime/memory/heap.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn inside(&self, address: *const std::ffi::c_void) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `deleted_objects` [INFO] [stdout] --> src/runtime/memory/gc.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn deleted_objects(&self) -> &Vec<(u64, TypeId)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sweep_objects` [INFO] [stdout] --> src/runtime/memory/gc.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn sweep_objects(&mut self, heap: &Heap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr` [INFO] [stdout] --> src/runtime/stack_walker.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn ptr(&self) -> *const u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_survival_count` [INFO] [stdout] --> src/runtime/object.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increase_survival_count(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `survival_count` [INFO] [stdout] --> src/runtime/object.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn survival_count(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/runtime/object.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete(&mut self, size: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/runtime/object.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn delete(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_function` [INFO] [stdout] --> src/engine/execution.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_function(&self, signature: &FunctionSignature) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_class` [INFO] [stdout] --> src/engine/execution.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_class(&mut self, class: Class) -> ExecutionEngineResult<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_vm` [INFO] [stdout] --> src/vm.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn clear_vm() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_float` [INFO] [stdout] --> src/execution_tests/float.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" fn print_float(x: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add` [INFO] [stdout] --> src/execution_tests/float.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | extern "C" fn add(x: f32, y: f32) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum` [INFO] [stdout] --> src/execution_tests/call.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" fn sum(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum8` [INFO] [stdout] --> src/execution_tests/call.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" fn sum8(x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum8_sub` [INFO] [stdout] --> src/execution_tests/call.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" fn sum8_sub(x0: i32, x1: i32, x2: i32, x3: i32, x4: i32, x5: i32, x6: i32, x7: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sub` [INFO] [stdout] --> src/execution_tests/call.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | extern "C" fn sub(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_array` [INFO] [stdout] --> src/execution_tests/array.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" fn print_array(ptr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_array` [INFO] [stdout] --> src/execution_tests/array.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | extern "C" fn set_array(ptr: u64, index: i32, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_array_float` [INFO] [stdout] --> src/execution_tests/array.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | extern "C" fn set_array_float(ptr: u64, index: i32, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_float` [INFO] [stdout] --> src/execution_tests/array.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | extern "C" fn print_float(x: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_point` [INFO] [stdout] --> src/execution_tests/class.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" fn print_point(ptr: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_point_x` [INFO] [stdout] --> src/execution_tests/class.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | extern "C" fn set_point_x(ptr: u64, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_array_element` [INFO] [stdout] --> src/execution_tests/class.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | extern "C" fn print_array_element(ptr: u64, index: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | extern "C" fn push() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum` [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | extern "C" fn sum(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum3` [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" fn sum3(x: i32, y: i32, z: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_i64` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:864:19 [INFO] [stdout] | [INFO] [stdout] 864 | static ref mapping_i64: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_I64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_i32` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:875:20 [INFO] [stdout] | [INFO] [stdout] 875 | static ref mapping_i32: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_I32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_f32` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:886:20 [INFO] [stdout] | [INFO] [stdout] 886 | static ref mapping_f32: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/mir/compiler.rs:51:79 [INFO] [stdout] | [INFO] [stdout] 51 | |compiler: &mut InstructionMIRCompiler, instruction_index: usize, instruction: &Instruction| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/runtime/object.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | (unsafe { self.object_type as u64 }) as usize [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | operand_stack_size: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn operand_stack_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/model/class.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `class_name` [INFO] [stdout] --> src/model/typesystem.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn class_name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_jump_target` [INFO] [stdout] --> src/compiler/code_generator.rs:832:8 [INFO] [stdout] | [INFO] [stdout] 832 | fn set_jump_target(&mut self, branch_offset: usize, branch_instruction_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_r32` [INFO] [stdout] --> src/compiler/code_generator.rs:928:8 [INFO] [stdout] | [INFO] [stdout] 928 | pub fn push_r32(mut encode_instruction: F, register: Register) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pop_r32` [INFO] [stdout] --> src/compiler/code_generator.rs:943:8 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn pop_r32(mut encode_instruction: F, register: Register) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RETURN_VALUE_32` [INFO] [stdout] --> src/compiler/calling_conventions.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | pub const RETURN_VALUE_32: Register = Register::EAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `InstructionIRCompiler` [INFO] [stdout] --> src/compiler/ir/compiler.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InstructionIRCompiler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/ir/compiler.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(binder: &'a Binder, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile` [INFO] [stdout] --> src/compiler/ir/compiler.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn compile(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_initialize_function` [INFO] [stdout] --> src/compiler/ir/compiler.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn compile_initialize_function(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compile_instruction` [INFO] [stdout] --> src/compiler/ir/compiler.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn compile_instruction(&mut self, instruction_index: usize, instruction: &InstructionMIR) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_be_null` [INFO] [stdout] --> src/compiler/ir/compiler.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | fn can_be_null(&self, instruction_index: usize, register: &RegisterMIR) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_register_stack_offset` [INFO] [stdout] --> src/compiler/ir/compiler.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | fn get_register_stack_offset(&self, register: &RegisterMIR) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `done` [INFO] [stdout] --> src/compiler/ir/compiler.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn done(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddToStackPointer` [INFO] [stdout] --> src/compiler/ir/mod.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | AddToStackPointer(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PushExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | PushExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | PopExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopEmpty` [INFO] [stdout] --> src/compiler/ir/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | PopEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Absolute` [INFO] [stdout] --> src/compiler/mod.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Absolute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_type` [INFO] [stdout] --> src/optimization/register_allocation/linear_scan.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn for_type(&self, register_type: &VirtualRegisterType) -> &BTreeSet { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sweep_objects` [INFO] [stdout] --> src/runtime/memory/gc.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn sweep_objects(&mut self, heap: &Heap) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ptr` [INFO] [stdout] --> src/runtime/stack_walker.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn ptr(&self) -> *const u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_survival_count` [INFO] [stdout] --> src/runtime/object.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn increase_survival_count(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/runtime/object.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn delete(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_function` [INFO] [stdout] --> src/engine/execution.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_function(&self, signature: &FunctionSignature) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_vm` [INFO] [stdout] --> src/vm.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn clear_vm() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push` [INFO] [stdout] --> src/main.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | extern "C" fn push() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum` [INFO] [stdout] --> src/main.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | extern "C" fn sum(x: i32, y: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sum3` [INFO] [stdout] --> src/main.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" fn sum3(x: i32, y: i32, z: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_i64` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:864:19 [INFO] [stdout] | [INFO] [stdout] 864 | static ref mapping_i64: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_I64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_i32` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:875:20 [INFO] [stdout] | [INFO] [stdout] 875 | static ref mapping_i32: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_I32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mapping_f32` should have an upper case name [INFO] [stdout] --> src/compiler/code_generator.rs:886:20 [INFO] [stdout] | [INFO] [stdout] 886 | static ref mapping_f32: Vec = { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `MAPPING_F32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.93s [INFO] running `Command { std: "docker" "inspect" "575f6569f5985fb86d528266a9c2a507d6a077885ca18ba9eb6b5917dc70c896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575f6569f5985fb86d528266a9c2a507d6a077885ca18ba9eb6b5917dc70c896", kill_on_drop: false }` [INFO] [stdout] 575f6569f5985fb86d528266a9c2a507d6a077885ca18ba9eb6b5917dc70c896