[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] 82316ef560f74a641ad42e8cfcfa4e29bab15a7f [INFO] checking svenslaggare/stackjit-rs against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fstackjit-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svenslaggare/stackjit-rs on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-0/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c50b5ff4a50d6745269abb82ed0a46050b852f5c87ee7598c523c6005f8b7b62 [INFO] running `Command { std: "docker" "start" "-a" "c50b5ff4a50d6745269abb82ed0a46050b852f5c87ee7598c523c6005f8b7b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c50b5ff4a50d6745269abb82ed0a46050b852f5c87ee7598c523c6005f8b7b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c50b5ff4a50d6745269abb82ed0a46050b852f5c87ee7598c523c6005f8b7b62", kill_on_drop: false }` [INFO] [stdout] c50b5ff4a50d6745269abb82ed0a46050b852f5c87ee7598c523c6005f8b7b62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa33bdf6cd9427a9ba6bb23facf916ded072b8d5b7d986a5c2b58fc405662a78 [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" "fa33bdf6cd9427a9ba6bb23facf916ded072b8d5b7d986a5c2b58fc405662a78", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling iced-x86 v1.10.3 [INFO] [stderr] Checking stackjit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/runtime/object.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | let object_type: &u64 = std::mem::transmute(&self.object_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/execution.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut test_profile = std::env::var("TEST_PROFILE"); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadTrue` [INFO] [stdout] --> src/model/instruction.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | LoadTrue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LoadFalse` [INFO] [stdout] --> src/model/instruction.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LoadFalse, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CallInstance` [INFO] [stdout] --> src/model/instruction.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | CallInstance(FunctionSignature), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | 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:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn operand_stack_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_function` [INFO] [stdout] --> src/model/function.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_function(&self, signature: &FunctionSignature) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/model/class.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `println_vec` [INFO] [stdout] --> src/mir/compiler.rs:616:4 [INFO] [stdout] | [INFO] [stdout] 616 | 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:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | 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: 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:1110:8 [INFO] [stdout] | [INFO] [stdout] 1110 | 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:1245:8 [INFO] [stdout] | [INFO] [stdout] 1245 | 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:1260:8 [INFO] [stdout] | [INFO] [stdout] 1260 | 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:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub const RETURN_VALUE_32: Register = Register::EAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddToStackPointer` [INFO] [stdout] --> src/compiler/ir/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | AddToStackPointer(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | PopExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopEmpty` [INFO] [stdout] --> src/compiler/ir/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | PopEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideInt32FromFrameMemory` [INFO] [stdout] --> src/compiler/ir/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | DivideInt32FromFrameMemory(HardwareRegister, i32), [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:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | 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:195:4 [INFO] [stdout] | [INFO] [stdout] 195 | 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:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn num_spilled_registers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_only_load_local` [INFO] [stdout] --> src/optimization/peephole.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn remove_only_load_local() -> PeepholeSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_only_store_local` [INFO] [stdout] --> src/optimization/peephole.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn remove_only_store_local() -> PeepholeSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_only_constants` [INFO] [stdout] --> src/optimization/peephole.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn remove_only_constants() -> PeepholeSettings { [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:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | 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:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | 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: `add_external_function` [INFO] [stdout] --> src/vm.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn add_external_function(&mut self, declaration: FunctionDeclaration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clear_vm` [INFO] [stdout] --> src/vm.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn clear_vm() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExpectedRightCurlyParentheses` [INFO] [stdout] --> src/parser/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ExpectedRightCurlyParentheses, [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: `get_element` [INFO] [stdout] --> src/execution_tests/bool.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" fn get_element(array_ref: ObjectPointer, index: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_bool_to_int` [INFO] [stdout] --> src/execution_tests/bool.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | extern "C" fn convert_bool_to_int(value: bool) -> i32 { [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:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | 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:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | 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:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" fn print_array_element(ptr: u64, index: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_float` [INFO] [stdout] --> src/execution_tests/class.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | extern "C" fn set_float(x: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/runtime/object.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | let object_type: &u64 = std::mem::transmute(&self.object_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/execution.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut test_profile = std::env::var("TEST_PROFILE"); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `operand_stack_size` [INFO] [stdout] --> src/model/function.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | 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:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn operand_stack_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_function` [INFO] [stdout] --> src/model/function.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn get_function(&self, signature: &FunctionSignature) -> Option<&Function> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_jump_target` [INFO] [stdout] --> src/compiler/code_generator.rs:1110:8 [INFO] [stdout] | [INFO] [stdout] 1110 | 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:1245:8 [INFO] [stdout] | [INFO] [stdout] 1245 | 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:1260:8 [INFO] [stdout] | [INFO] [stdout] 1260 | 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:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | pub const RETURN_VALUE_32: Register = Register::EAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AddToStackPointer` [INFO] [stdout] --> src/compiler/ir/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | AddToStackPointer(i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopExplicit` [INFO] [stdout] --> src/compiler/ir/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | PopExplicit(HardwareRegisterExplicit), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PopEmpty` [INFO] [stdout] --> src/compiler/ir/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | PopEmpty, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideInt32FromFrameMemory` [INFO] [stdout] --> src/compiler/ir/mod.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | DivideInt32FromFrameMemory(HardwareRegister, i32), [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:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | 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:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | 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:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | 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: function is never used: `clear_vm` [INFO] [stdout] --> src/vm.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn clear_vm() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExpectedRightCurlyParentheses` [INFO] [stdout] --> src/parser/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | ExpectedRightCurlyParentheses, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.46s [INFO] running `Command { std: "docker" "inspect" "fa33bdf6cd9427a9ba6bb23facf916ded072b8d5b7d986a5c2b58fc405662a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa33bdf6cd9427a9ba6bb23facf916ded072b8d5b7d986a5c2b58fc405662a78", kill_on_drop: false }` [INFO] [stdout] fa33bdf6cd9427a9ba6bb23facf916ded072b8d5b7d986a5c2b58fc405662a78