[INFO] fetching crate swamp-code-gen 0.1.16... [INFO] checking swamp-code-gen-0.1.16 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate swamp-code-gen 0.1.16 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate swamp-code-gen 0.1.16 [INFO] finished tweaking crates.io crate swamp-code-gen 0.1.16 [INFO] tweaked toml for crates.io crate swamp-code-gen 0.1.16 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-code-gen 0.1.16 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swamp-code-gen 0.1.16 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swamp-vm-instr-build v0.1.16 [INFO] [stderr] Downloaded tiny-ver v0.1.2 [INFO] [stderr] Downloaded source-map-cache v0.0.1 [INFO] [stderr] Downloaded fixed32 v0.0.17 [INFO] [stderr] Downloaded swamp-vm-types v0.1.16 [INFO] [stderr] Downloaded swamp-semantic v0.1.16 [INFO] [stderr] Downloaded seq-fmt v0.0.1 [INFO] [stderr] Downloaded source-map-node v0.0.1 [INFO] [stderr] Downloaded swamp-types v0.1.16 [INFO] [stderr] Downloaded seq-map v0.0.13 [INFO] [stderr] Downloaded swamp-vm-disasm v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a55e9ffb119c1eae46a7dd718f0251fc620b8beae09699019114d963d327f370 [INFO] running `Command { std: "docker" "start" "-a" "a55e9ffb119c1eae46a7dd718f0251fc620b8beae09699019114d963d327f370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a55e9ffb119c1eae46a7dd718f0251fc620b8beae09699019114d963d327f370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55e9ffb119c1eae46a7dd718f0251fc620b8beae09699019114d963d327f370", kill_on_drop: false }` [INFO] [stdout] a55e9ffb119c1eae46a7dd718f0251fc620b8beae09699019114d963d327f370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943a63068d6505c3912f352b763a3518230ad7eaf7731a6abfed4b5bd56af71a [INFO] running `Command { std: "docker" "start" "-a" "943a63068d6505c3912f352b763a3518230ad7eaf7731a6abfed4b5bd56af71a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Checking seq-map v0.0.13 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking source-map-node v0.0.1 [INFO] [stderr] Checking swamp-vm-types v0.1.16 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking seq-fmt v0.0.1 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking fixed32 v0.0.17 [INFO] [stderr] Checking tiny-ver v0.1.2 [INFO] [stderr] Checking swamp-vm-instr-build v0.1.16 [INFO] [stderr] Checking swamp-types v0.1.16 [INFO] [stderr] Checking source-map-cache v0.0.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking swamp-vm-disasm v0.1.16 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking swamp-semantic v0.1.16 [INFO] [stderr] Checking swamp-code-gen v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/alloc_util.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disasm_color` [INFO] [stdout] --> src/lib.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | use swamp_vm_disasm::{disasm_color, disasm_instructions_color}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOL_SIZE`, `HEAP_PTR_ALIGNMENT`, `HEAP_PTR_SIZE`, `HeapMemoryAddress`, `INT_SIZE`, and `PTR_SIZE` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | BOOL_SIZE, BinaryInstruction, CountU16, FrameMemoryAddress, FrameMemoryAddressIndirectPointer, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | FrameMemorySize, HEAP_PTR_ALIGNMENT, HEAP_PTR_SIZE, HeapMemoryAddress, INT_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 38 | InstructionPosition, MemoryAlignment, MemoryOffset, MemorySize, PTR_SIZE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:787:48 [INFO] [stdout] | [INFO] [stdout] 787 | UnaryOperatorKind::Negate => match (&unary_operator.left.ty) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 787 - UnaryOperatorKind::Negate => match (&unary_operator.left.ty) { [INFO] [stdout] 787 + UnaryOperatorKind::Negate => match &unary_operator.left.ty { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/alloc_util.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disasm_color` [INFO] [stdout] --> src/lib.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | use swamp_vm_disasm::{disasm_color, disasm_instructions_color}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOOL_SIZE`, `HEAP_PTR_ALIGNMENT`, `HEAP_PTR_SIZE`, `HeapMemoryAddress`, `INT_SIZE`, and `PTR_SIZE` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | BOOL_SIZE, BinaryInstruction, CountU16, FrameMemoryAddress, FrameMemoryAddressIndirectPointer, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | FrameMemorySize, HEAP_PTR_ALIGNMENT, HEAP_PTR_SIZE, HeapMemoryAddress, INT_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 38 | InstructionPosition, MemoryAlignment, MemoryOffset, MemorySize, PTR_SIZE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/lib.rs:787:48 [INFO] [stdout] | [INFO] [stdout] 787 | UnaryOperatorKind::Negate => match (&unary_operator.left.ty) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 787 - UnaryOperatorKind::Negate => match (&unary_operator.left.ty) { [INFO] [stdout] 787 + UnaryOperatorKind::Negate => match &unary_operator.left.ty { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calculated_offset` [INFO] [stdout] --> src/alloc_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut calculated_offset = MemoryOffset(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calculated_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alloc_util.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut calculated_offset = MemoryOffset(0); [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: unused variable: `return_target` [INFO] [stdout] --> src/ctx.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_function_scope(&self, return_target: FrameMemoryRegion, comment: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_intrinsic_fn` [INFO] [stdout] --> src/lib.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | if let ExpressionKind::IntrinsicCallEx(found_intrinsic_fn, _non_instantiated_arguments) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_intrinsic_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_alignment` [INFO] [stdout] --> src/lib.rs:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | let (element_size, element_alignment) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_target` [INFO] [stdout] --> src/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let extra_target = FrameMemoryRegion::new(allocator.addr(), extra_frame_size); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/lib.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | pub fn temp_memory_region_for_type(&mut self, ty: &Type, comment: &str) -> FrameMemoryRegion { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | for x in instructions_to_disasm { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/lib.rs:762:36 [INFO] [stdout] | [INFO] [stdout] 762 | ExpressionKind::Lambda(vec, x) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:762:41 [INFO] [stdout] | [INFO] [stdout] 762 | ExpressionKind::Lambda(vec, x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:1188:14 [INFO] [stdout] | [INFO] [stdout] 1188 | for (index, type_for_parameter) in signature.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_addr` [INFO] [stdout] --> src/lib.rs:1213:17 [INFO] [stdout] | [INFO] [stdout] 1213 | let debug_addr = argument_target_ctx.target().addr(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_fn` [INFO] [stdout] --> src/lib.rs:1358:44 [INFO] [stdout] | [INFO] [stdout] 1358 | Function::External(external_fn) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/lib.rs:1363:43 [INFO] [stdout] | [INFO] [stdout] 1363 | PostfixKind::FunctionCall(arguments) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/lib.rs:1445:41 [INFO] [stdout] | [INFO] [stdout] 1445 | Literal::EnumVariantLiteral(enum_type, a, b) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_offset` [INFO] [stdout] --> src/lib.rs:1452:21 [INFO] [stdout] | [INFO] [stdout] 1452 | let starting_offset = MemoryOffset(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:1489:28 [INFO] [stdout] | [INFO] [stdout] 1489 | Literal::Slice(ty, expressions) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/lib.rs:1489:32 [INFO] [stdout] | [INFO] [stdout] 1489 | Literal::Slice(ty, expressions) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:1493:32 [INFO] [stdout] | [INFO] [stdout] 1493 | Literal::SlicePair(ty, expression_pairs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression_pairs` [INFO] [stdout] --> src/lib.rs:1493:36 [INFO] [stdout] | [INFO] [stdout] 1493 | Literal::SlicePair(ty, expression_pairs) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `calculated_offset` [INFO] [stdout] --> src/alloc_util.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut calculated_offset = MemoryOffset(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_calculated_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_info` [INFO] [stdout] --> src/lib.rs:1672:29 [INFO] [stdout] | [INFO] [stdout] 1672 | if let Some(found_info) = is_vec(collection_type) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_info` [INFO] [stdout] --> src/lib.rs:1674:36 [INFO] [stdout] | [INFO] [stdout] 1674 | } else if let Some(found_info) = is_map(collection_type) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_variable` [INFO] [stdout] --> src/lib.rs:1692:32 [INFO] [stdout] | [INFO] [stdout] 1692 | ForPattern::Single(value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/alloc_util.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut calculated_offset = MemoryOffset(0); [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: unused variable: `key_variable` [INFO] [stdout] --> src/lib.rs:1693:30 [INFO] [stdout] | [INFO] [stdout] 1693 | ForPattern::Pair(key_variable, value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_variable` [INFO] [stdout] --> src/lib.rs:1693:44 [INFO] [stdout] | [INFO] [stdout] 1693 | ForPattern::Pair(key_variable, value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/lib.rs:1711:9 [INFO] [stdout] | [INFO] [stdout] 1711 | element_type: &Type, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:1713:9 [INFO] [stdout] | [INFO] [stdout] 1713 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> src/lib.rs:1827:22 [INFO] [stdout] | [INFO] [stdout] 1827 | let (region, alignment) = self.get_variable_region(variable); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_target` [INFO] [stdout] --> src/ctx.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn create_function_scope(&self, return_target: FrameMemoryRegion, comment: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:1855:9 [INFO] [stdout] | [INFO] [stdout] 1855 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `whole_struct_alignment` [INFO] [stdout] --> src/lib.rs:1964:33 [INFO] [stdout] | [INFO] [stdout] 1964 | let (whole_struct_size, whole_struct_alignment) = type_size_and_alignment(&struct_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_whole_struct_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_alignment` [INFO] [stdout] --> src/lib.rs:1971:44 [INFO] [stdout] | [INFO] [stdout] 1971 | let (field_offset, field_size, field_alignment) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_alignment` [INFO] [stdout] --> src/lib.rs:2022:26 [INFO] [stdout] | [INFO] [stdout] 2022 | let (value_size, value_alignment) = type_size_and_alignment(value_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_slice_size` [INFO] [stdout] --> src/lib.rs:2064:13 [INFO] [stdout] | [INFO] [stdout] 2064 | let total_slice_size = MemorySize(element_size.0 * element_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_slice_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_temp_frame_address_to_transfer` [INFO] [stdout] --> src/lib.rs:2059:9 [INFO] [stdout] | [INFO] [stdout] 2059 | start_temp_frame_address_to_transfer: FrameMemoryAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_temp_frame_address_to_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_patterns` [INFO] [stdout] --> src/lib.rs:2262:62 [INFO] [stdout] | [INFO] [stdout] 2262 | NormalPattern::EnumPattern(enum_variant, maybe_patterns) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_intrinsic_fn` [INFO] [stdout] --> src/lib.rs:226:48 [INFO] [stdout] | [INFO] [stdout] 226 | if let ExpressionKind::IntrinsicCallEx(found_intrinsic_fn, _non_instantiated_arguments) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_intrinsic_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_region` [INFO] [stdout] --> src/lib.rs:2365:18 [INFO] [stdout] | [INFO] [stdout] 2365 | let (variable_region, _alignment) = self.get_variable_region(&binding.variable); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_alignment` [INFO] [stdout] --> src/lib.rs:397:36 [INFO] [stdout] | [INFO] [stdout] 397 | let (element_size, element_alignment) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:522:9 [INFO] [stdout] | [INFO] [stdout] 522 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extra_target` [INFO] [stdout] --> src/lib.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let extra_target = FrameMemoryRegion::new(allocator.addr(), extra_frame_size); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/lib.rs:587:62 [INFO] [stdout] | [INFO] [stdout] 587 | pub fn temp_memory_region_for_type(&mut self, ty: &Type, comment: &str) -> FrameMemoryRegion { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen_variable_binding`, `gen_for_loop_for_vec`, and `gen_slice_helper` are never used [INFO] [stdout] --> src/lib.rs:1077:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl FunctionCodeGen<'_> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1077 | fn gen_variable_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1709 | fn gen_for_loop_for_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2057 | fn gen_slice_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT` is never used [INFO] [stdout] --> src/alloc.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ALIGNMENT: u16 = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_REST` is never used [INFO] [stdout] --> src/alloc.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ALIGNMENT_REST: u16 = ALIGNMENT - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_MASK` is never used [INFO] [stdout] --> src/alloc.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ALIGNMENT_MASK: u16 = !ALIGNMENT_REST; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_MASK` is never used [INFO] [stdout] --> src/constants.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ALIGNMENT_MASK: usize = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VECTOR_DATA_PTR_OFFSET` is never used [INFO] [stdout] --> src/vec.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VECTOR_DATA_PTR_OFFSET: u16 = 0; // Offset to the data pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VECTOR_LENGTH_OFFSET` is never used [INFO] [stdout] --> src/vec.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const VECTOR_LENGTH_OFFSET: u16 = 2; // Offset to the length field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | for x in instructions_to_disasm { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/lib.rs:762:36 [INFO] [stdout] | [INFO] [stdout] 762 | ExpressionKind::Lambda(vec, x) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:762:41 [INFO] [stdout] | [INFO] [stdout] 762 | ExpressionKind::Lambda(vec, x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:914:17 [INFO] [stdout] | [INFO] [stdout] 914 | self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 914 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 922 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:928:17 [INFO] [stdout] | [INFO] [stdout] 928 | self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 928 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:936:17 [INFO] [stdout] | [INFO] [stdout] 936 | self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 936 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2038:13 [INFO] [stdout] | [INFO] [stdout] 2038 | self.gen_expression(key_expr, &key_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2038 | let _ = self.gen_expression(key_expr, &key_ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2045:13 [INFO] [stdout] | [INFO] [stdout] 2045 | self.gen_expression(value_expr, &value_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2045 | let _ = self.gen_expression(value_expr, &value_ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | / match intrinsic_fn { [INFO] [stdout] 2106 | | // Fixed [INFO] [stdout] 2107 | | IntrinsicFunction::FloatRound => todo!(), [INFO] [stdout] 2108 | | IntrinsicFunction::FloatFloor => todo!(), [INFO] [stdout] ... | [INFO] [stdout] 2212 | | IntrinsicFunction::RuntimePanic => todo!(), [INFO] [stdout] 2213 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2105 | let _ = match intrinsic_fn { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2332:17 [INFO] [stdout] | [INFO] [stdout] 2332 | self.gen_boolean_expression(condition); // update z flag [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2332 | let _ = self.gen_boolean_expression(condition); // update z flag [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2424:13 [INFO] [stdout] | [INFO] [stdout] 2424 | self.gen_expression(else_expr, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2424 | let _ = self.gen_expression(else_expr, ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/lib.rs:1188:14 [INFO] [stdout] | [INFO] [stdout] 1188 | for (index, type_for_parameter) in signature.parameters.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug_addr` [INFO] [stdout] --> src/lib.rs:1213:17 [INFO] [stdout] | [INFO] [stdout] 1213 | let debug_addr = argument_target_ctx.target().addr(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debug_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `external_fn` [INFO] [stdout] --> src/lib.rs:1358:44 [INFO] [stdout] | [INFO] [stdout] 1358 | Function::External(external_fn) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_external_fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/lib.rs:1363:43 [INFO] [stdout] | [INFO] [stdout] 1363 | PostfixKind::FunctionCall(arguments) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arguments` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_type` [INFO] [stdout] --> src/lib.rs:1445:41 [INFO] [stdout] | [INFO] [stdout] 1445 | Literal::EnumVariantLiteral(enum_type, a, b) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `starting_offset` [INFO] [stdout] --> src/lib.rs:1452:21 [INFO] [stdout] | [INFO] [stdout] 1452 | let starting_offset = MemoryOffset(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_starting_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:1489:28 [INFO] [stdout] | [INFO] [stdout] 1489 | Literal::Slice(ty, expressions) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expressions` [INFO] [stdout] --> src/lib.rs:1489:32 [INFO] [stdout] | [INFO] [stdout] 1489 | Literal::Slice(ty, expressions) => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expressions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/lib.rs:1493:32 [INFO] [stdout] | [INFO] [stdout] 1493 | Literal::SlicePair(ty, expression_pairs) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression_pairs` [INFO] [stdout] --> src/lib.rs:1493:36 [INFO] [stdout] | [INFO] [stdout] 1493 | Literal::SlicePair(ty, expression_pairs) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expression_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_info` [INFO] [stdout] --> src/lib.rs:1672:29 [INFO] [stdout] | [INFO] [stdout] 1672 | if let Some(found_info) = is_vec(collection_type) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_info` [INFO] [stdout] --> src/lib.rs:1674:36 [INFO] [stdout] | [INFO] [stdout] 1674 | } else if let Some(found_info) = is_map(collection_type) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_variable` [INFO] [stdout] --> src/lib.rs:1692:32 [INFO] [stdout] | [INFO] [stdout] 1692 | ForPattern::Single(value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_variable` [INFO] [stdout] --> src/lib.rs:1693:30 [INFO] [stdout] | [INFO] [stdout] 1693 | ForPattern::Pair(key_variable, value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_variable` [INFO] [stdout] --> src/lib.rs:1693:44 [INFO] [stdout] | [INFO] [stdout] 1693 | ForPattern::Pair(key_variable, value_variable) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/lib.rs:1711:9 [INFO] [stdout] | [INFO] [stdout] 1711 | element_type: &Type, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:1713:9 [INFO] [stdout] | [INFO] [stdout] 1713 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alignment` [INFO] [stdout] --> src/lib.rs:1827:22 [INFO] [stdout] | [INFO] [stdout] 1827 | let (region, alignment) = self.get_variable_region(variable); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/lib.rs:1855:9 [INFO] [stdout] | [INFO] [stdout] 1855 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `whole_struct_alignment` [INFO] [stdout] --> src/lib.rs:1964:33 [INFO] [stdout] | [INFO] [stdout] 1964 | let (whole_struct_size, whole_struct_alignment) = type_size_and_alignment(&struct_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_whole_struct_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_alignment` [INFO] [stdout] --> src/lib.rs:1971:44 [INFO] [stdout] | [INFO] [stdout] 1971 | let (field_offset, field_size, field_alignment) = [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_alignment` [INFO] [stdout] --> src/lib.rs:2022:26 [INFO] [stdout] | [INFO] [stdout] 2022 | let (value_size, value_alignment) = type_size_and_alignment(value_type); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_alignment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_slice_size` [INFO] [stdout] --> src/lib.rs:2064:13 [INFO] [stdout] | [INFO] [stdout] 2064 | let total_slice_size = MemorySize(element_size.0 * element_count); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_slice_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_temp_frame_address_to_transfer` [INFO] [stdout] --> src/lib.rs:2059:9 [INFO] [stdout] | [INFO] [stdout] 2059 | start_temp_frame_address_to_transfer: FrameMemoryAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_temp_frame_address_to_transfer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_patterns` [INFO] [stdout] --> src/lib.rs:2262:62 [INFO] [stdout] | [INFO] [stdout] 2262 | NormalPattern::EnumPattern(enum_variant, maybe_patterns) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_patterns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_region` [INFO] [stdout] --> src/lib.rs:2365:18 [INFO] [stdout] | [INFO] [stdout] 2365 | let (variable_region, _alignment) = self.get_variable_region(&binding.variable); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_region` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `gen_variable_binding`, `gen_for_loop_for_vec`, and `gen_slice_helper` are never used [INFO] [stdout] --> src/lib.rs:1077:8 [INFO] [stdout] | [INFO] [stdout] 350 | impl FunctionCodeGen<'_> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1077 | fn gen_variable_binding( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1709 | fn gen_for_loop_for_vec( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2057 | fn gen_slice_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT` is never used [INFO] [stdout] --> src/alloc.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ALIGNMENT: u16 = 8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_REST` is never used [INFO] [stdout] --> src/alloc.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ALIGNMENT_REST: u16 = ALIGNMENT - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_MASK` is never used [INFO] [stdout] --> src/alloc.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ALIGNMENT_MASK: u16 = !ALIGNMENT_REST; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALIGNMENT_MASK` is never used [INFO] [stdout] --> src/constants.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ALIGNMENT_MASK: usize = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VECTOR_DATA_PTR_OFFSET` is never used [INFO] [stdout] --> src/vec.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const VECTOR_DATA_PTR_OFFSET: u16 = 0; // Offset to the data pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VECTOR_LENGTH_OFFSET` is never used [INFO] [stdout] --> src/vec.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const VECTOR_LENGTH_OFFSET: u16 = 2; // Offset to the length field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:914:17 [INFO] [stdout] | [INFO] [stdout] 914 | self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 914 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 922 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:928:17 [INFO] [stdout] | [INFO] [stdout] 928 | self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 928 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.left); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:936:17 [INFO] [stdout] | [INFO] [stdout] 936 | self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 936 | let _ = self.gen_boolean_access_set_z_flag(&binary_operator.right); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2038:13 [INFO] [stdout] | [INFO] [stdout] 2038 | self.gen_expression(key_expr, &key_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2038 | let _ = self.gen_expression(key_expr, &key_ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2045:13 [INFO] [stdout] | [INFO] [stdout] 2045 | self.gen_expression(value_expr, &value_ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2045 | let _ = self.gen_expression(value_expr, &value_ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2105:9 [INFO] [stdout] | [INFO] [stdout] 2105 | / match intrinsic_fn { [INFO] [stdout] 2106 | | // Fixed [INFO] [stdout] 2107 | | IntrinsicFunction::FloatRound => todo!(), [INFO] [stdout] 2108 | | IntrinsicFunction::FloatFloor => todo!(), [INFO] [stdout] ... | [INFO] [stdout] 2212 | | IntrinsicFunction::RuntimePanic => todo!(), [INFO] [stdout] 2213 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2105 | let _ = match intrinsic_fn { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2332:17 [INFO] [stdout] | [INFO] [stdout] 2332 | self.gen_boolean_expression(condition); // update z flag [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2332 | let _ = self.gen_boolean_expression(condition); // update z flag [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:2424:13 [INFO] [stdout] | [INFO] [stdout] 2424 | self.gen_expression(else_expr, ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 2424 | let _ = self.gen_expression(else_expr, ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `Command { std: "docker" "inspect" "943a63068d6505c3912f352b763a3518230ad7eaf7731a6abfed4b5bd56af71a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943a63068d6505c3912f352b763a3518230ad7eaf7731a6abfed4b5bd56af71a", kill_on_drop: false }` [INFO] [stdout] 943a63068d6505c3912f352b763a3518230ad7eaf7731a6abfed4b5bd56af71a