[INFO] fetching crate swamp-code-gen 0.2.27... [INFO] building swamp-code-gen-0.2.27 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate swamp-code-gen 0.2.27 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate swamp-code-gen 0.2.27 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swamp-code-gen 0.2.27 [INFO] tweaked toml for crates.io crate swamp-code-gen 0.2.27 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-code-gen 0.2.27 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swamp-code-gen 0.2.27 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinter v0.1.0 [INFO] [stderr] Downloaded source-map-node v0.0.1 [INFO] [stderr] Downloaded hashmap-mem v0.2.0 [INFO] [stderr] Downloaded seq-fmt v0.0.1 [INFO] [stderr] Downloaded swamp-vm-layout v0.2.27 [INFO] [stderr] Downloaded swamp-vm-isa v0.2.26 [INFO] [stderr] Downloaded swamp-semantic v0.2.30 [INFO] [stderr] Downloaded swamp-types v0.2.29 [INFO] [stderr] Downloaded swamp-vm-types v0.2.26 [INFO] [stderr] Downloaded source-map-cache v0.0.6 [INFO] [stderr] Downloaded swamp-vm-debug-info v0.2.26 [INFO] [stderr] Downloaded sparse-mem v0.2.0 [INFO] [stderr] Downloaded swamp-attributes v0.2.26 [INFO] [stderr] Downloaded swamp-vm-instr-build v0.2.26 [INFO] [stderr] Downloaded fixed32 v0.0.18 [INFO] [stderr] Downloaded swamp-vm-disasm v0.2.26 [INFO] [stderr] Downloaded seq-map v0.0.14 [INFO] [stderr] Downloaded swamp-symbol v0.2.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20b855a7eae45cdecb9ec341f6ace9348298a0ab5a7d7653f7db30d113205e76 [INFO] running `Command { std: "docker" "start" "-a" "20b855a7eae45cdecb9ec341f6ace9348298a0ab5a7d7653f7db30d113205e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20b855a7eae45cdecb9ec341f6ace9348298a0ab5a7d7653f7db30d113205e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b855a7eae45cdecb9ec341f6ace9348298a0ab5a7d7653f7db30d113205e76", kill_on_drop: false }` [INFO] [stdout] 20b855a7eae45cdecb9ec341f6ace9348298a0ab5a7d7653f7db30d113205e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e2dbc48d315169a4dd37445adeb237cf7c9f8d6ea4ad3a05e490c04b8cb2635 [INFO] running `Command { std: "docker" "start" "-a" "8e2dbc48d315169a4dd37445adeb237cf7c9f8d6ea4ad3a05e490c04b8cb2635", kill_on_drop: false }` [INFO] [stderr] Compiling source-map-node v0.0.1 [INFO] [stderr] Compiling seq-fmt v0.0.1 [INFO] [stderr] Compiling seq-map v0.0.14 [INFO] [stderr] Compiling tinter v0.1.0 [INFO] [stderr] Compiling fixed32 v0.0.18 [INFO] [stderr] Compiling sparse-mem v0.2.0 [INFO] [stderr] Compiling hashmap-mem v0.2.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling swamp-attributes v0.2.26 [INFO] [stderr] Compiling swamp-symbol v0.2.27 [INFO] [stderr] Compiling source-map-cache v0.0.6 [INFO] [stderr] Compiling swamp-vm-isa v0.2.26 [INFO] [stderr] Compiling swamp-types v0.2.29 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling swamp-vm-types v0.2.26 [INFO] [stderr] Compiling swamp-semantic v0.2.30 [INFO] [stderr] Compiling swamp-vm-debug-info v0.2.26 [INFO] [stderr] Compiling swamp-vm-layout v0.2.27 [INFO] [stderr] Compiling swamp-vm-instr-build v0.2.26 [INFO] [stderr] Compiling swamp-vm-disasm v0.2.26 [INFO] [stderr] Compiling swamp-code-gen v0.2.27 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/expr.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swamp_vm_isa::MemoryOffset` [INFO] [stdout] --> src/tuple.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use swamp_vm_isa::MemoryOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tuple.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/assignment.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/bin_op.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let kind = FlagStateKind::TFlagIsIndeterminate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 114 | ArgumentExpression::BorrowMutableReference(lvalue) => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 146 | ArgumentExpression::MaterializedExpression(expr) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 170 | ArgumentExpression::Expression(expr) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_host_call` [INFO] [stdout] --> src/call.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | is_host_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_host_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/call.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | reg: &TypedRegister, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/code_bld.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/code_bld.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/code_bld.rs:550:29 [INFO] [stdout] | [INFO] [stdout] 550 | Place::Register(dest_reg) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/code_bld.rs:709:22 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((_start, end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS, end)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/code_bld.rs:709:29 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, _end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((start, call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/equal.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/equal.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/equal.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/expr.rs:428:48 [INFO] [stdout] | [INFO] [stdout] 428 | ExpressionKind::CoerceIntToPointer(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/expr.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let x = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | let (start_ip, end_ip, function_info) = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let function_info = FunctionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/func.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | options: &GenOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/func.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | for (index, x) in &frame_and_variable_info.parameter_and_variable_offsets { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_constant` [INFO] [stdout] --> src/func.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | if let FunctionInfoKind::Constant(found_constant) = &in_data.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_reg` [INFO] [stdout] --> src/intr.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/intr.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/intr.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 457 | let element_type = self_basic_type.element().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_target` [INFO] [stdout] --> src/intr.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let maybe_target = target_destination.register(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/literal.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lvalue.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let node = &location_expression.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logical_limit` [INFO] [stdout] --> src/map.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | logical_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 82 | _logical_limit: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 82 - logical_limit: usize, [INFO] [stdout] 82 + call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/map.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_patterns` [INFO] [stdout] --> src/match_expr.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | 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: `maybe_guard` [INFO] [stdout] --> src/match_expr.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | Pattern::Normal(normal_pattern, maybe_guard) => match normal_pattern { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal_expression` [INFO] [stdout] --> src/match_expr.rs:268:44 [INFO] [stdout] | [INFO] [stdout] 268 | NormalPattern::Literal(literal_expression) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/state.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | node: &Node, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/state.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/statement.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(element_type, _) | TypeKind::SparseView(element_type) => { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(_element_type, _) | TypeKind::SparseView(_element_type) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_collection_type` [INFO] [stdout] --> src/statement.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | source_collection_type: &TypeRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_collection_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/transfer.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/vec.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_error` is never used [INFO] [stdout] --> src/call.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 602 | fn add_error(&mut self, error_kind: err::ErrorKind, node: &Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_node` is never used [INFO] [stdout] --> src/code_bld.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn debug_node(&self, node: &Node) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `comment` is never used [INFO] [stdout] --> src/ctx.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn comment(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.26s [INFO] running `Command { std: "docker" "inspect" "8e2dbc48d315169a4dd37445adeb237cf7c9f8d6ea4ad3a05e490c04b8cb2635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2dbc48d315169a4dd37445adeb237cf7c9f8d6ea4ad3a05e490c04b8cb2635", kill_on_drop: false }` [INFO] [stdout] 8e2dbc48d315169a4dd37445adeb237cf7c9f8d6ea4ad3a05e490c04b8cb2635 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0f96b10475f5a9d9356c4562f91c6ddbe724a3a78443a4fce5139b11bb553e5 [INFO] running `Command { std: "docker" "start" "-a" "a0f96b10475f5a9d9356c4562f91c6ddbe724a3a78443a4fce5139b11bb553e5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/expr.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swamp_vm_isa::MemoryOffset` [INFO] [stdout] --> src/tuple.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use swamp_vm_isa::MemoryOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tuple.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/assignment.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/bin_op.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let kind = FlagStateKind::TFlagIsIndeterminate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 114 | ArgumentExpression::BorrowMutableReference(lvalue) => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 146 | ArgumentExpression::MaterializedExpression(expr) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 170 | ArgumentExpression::Expression(expr) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_host_call` [INFO] [stdout] --> src/call.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | is_host_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_host_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/call.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | reg: &TypedRegister, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/code_bld.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/code_bld.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/code_bld.rs:550:29 [INFO] [stdout] | [INFO] [stdout] 550 | Place::Register(dest_reg) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/code_bld.rs:709:22 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((_start, end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS, end)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/code_bld.rs:709:29 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, _end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((start, call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/equal.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/equal.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/equal.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/expr.rs:428:48 [INFO] [stdout] | [INFO] [stdout] 428 | ExpressionKind::CoerceIntToPointer(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/expr.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let x = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | let (start_ip, end_ip, function_info) = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let function_info = FunctionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/func.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | options: &GenOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/func.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | for (index, x) in &frame_and_variable_info.parameter_and_variable_offsets { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_constant` [INFO] [stdout] --> src/func.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | if let FunctionInfoKind::Constant(found_constant) = &in_data.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_reg` [INFO] [stdout] --> src/intr.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/intr.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/intr.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 457 | let element_type = self_basic_type.element().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_target` [INFO] [stdout] --> src/intr.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let maybe_target = target_destination.register(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/literal.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lvalue.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let node = &location_expression.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logical_limit` [INFO] [stdout] --> src/map.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | logical_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 82 | _logical_limit: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 82 - logical_limit: usize, [INFO] [stdout] 82 + call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/map.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_patterns` [INFO] [stdout] --> src/match_expr.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | 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: `maybe_guard` [INFO] [stdout] --> src/match_expr.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | Pattern::Normal(normal_pattern, maybe_guard) => match normal_pattern { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling swamp-code-gen v0.2.27 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `literal_expression` [INFO] [stdout] --> src/match_expr.rs:268:44 [INFO] [stdout] | [INFO] [stdout] 268 | NormalPattern::Literal(literal_expression) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/state.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | node: &Node, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/state.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/statement.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(element_type, _) | TypeKind::SparseView(element_type) => { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(_element_type, _) | TypeKind::SparseView(_element_type) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_collection_type` [INFO] [stdout] --> src/statement.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | source_collection_type: &TypeRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_collection_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/transfer.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/vec.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_error` is never used [INFO] [stdout] --> src/call.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 602 | fn add_error(&mut self, error_kind: err::ErrorKind, node: &Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_node` is never used [INFO] [stdout] --> src/code_bld.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn debug_node(&self, node: &Node) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `comment` is never used [INFO] [stdout] --> src/ctx.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn comment(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/expr.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swamp_vm_isa::MemoryOffset` [INFO] [stdout] --> src/tuple.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use swamp_vm_isa::MemoryOffset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/tuple.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/assignment.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/bin_op.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let kind = FlagStateKind::TFlagIsIndeterminate; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/bin_op.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/call.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 114 | ArgumentExpression::BorrowMutableReference(lvalue) => { [INFO] [stdout] | -------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 146 | ArgumentExpression::MaterializedExpression(expr) => { [INFO] [stdout] | ------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 170 | ArgumentExpression::Expression(expr) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 179 | _ => panic!("what kind of argument is it"), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_host_call` [INFO] [stdout] --> src/call.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | is_host_call: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_host_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg` [INFO] [stdout] --> src/call.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | reg: &TypedRegister, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/code_bld.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/code_bld.rs:408:9 [INFO] [stdout] | [INFO] [stdout] 408 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/code_bld.rs:550:29 [INFO] [stdout] | [INFO] [stdout] 550 | Place::Register(dest_reg) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/code_bld.rs:709:22 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((_start, end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS, end)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/code_bld.rs:709:29 [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, end)) = answer { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 709 | if let Some((start, _end)) = answer { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 709 - if let Some((start, end)) = answer { [INFO] [stdout] 709 + if let Some((start, call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS)) = answer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/equal.rs:49:41 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/equal.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/equal.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/expr.rs:428:48 [INFO] [stdout] | [INFO] [stdout] 428 | ExpressionKind::CoerceIntToPointer(a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/expr.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let x = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | let (start_ip, end_ip, function_info) = [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_info` [INFO] [stdout] --> src/func.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let function_info = FunctionInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/func.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | options: &GenOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/func.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | for (index, x) in &frame_and_variable_info.parameter_and_variable_offsets { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_constant` [INFO] [stdout] --> src/func.rs:326:47 [INFO] [stdout] | [INFO] [stdout] 326 | if let FunctionInfoKind::Constant(found_constant) = &in_data.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_constant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `union_info` [INFO] [stdout] --> src/init.rs:103:40 [INFO] [stdout] | [INFO] [stdout] 103 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/intr.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp_reg` [INFO] [stdout] --> src/intr.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_reg` [INFO] [stdout] --> src/intr.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/intr.rs:457:21 [INFO] [stdout] | [INFO] [stdout] 457 | let element_type = self_basic_type.element().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_target` [INFO] [stdout] --> src/intr.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let maybe_target = target_destination.register(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/literal.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | ctx: &Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/lvalue.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let node = &location_expression.node; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logical_limit` [INFO] [stdout] --> src/map.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | logical_limit: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 82 | _logical_limit: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS` [INFO] [stdout] | [INFO] [stdout] 82 - logical_limit: usize, [INFO] [stdout] 82 + call::>::spill_required_registers::ABI_ARGUMENT_RETURN_AND_ARGUMENT_REGISTERS: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/map.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maybe_patterns` [INFO] [stdout] --> src/match_expr.rs:61:62 [INFO] [stdout] | [INFO] [stdout] 61 | 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: `maybe_guard` [INFO] [stdout] --> src/match_expr.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | Pattern::Normal(normal_pattern, maybe_guard) => match normal_pattern { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_guard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `literal_expression` [INFO] [stdout] --> src/match_expr.rs:268:44 [INFO] [stdout] | [INFO] [stdout] 268 | NormalPattern::Literal(literal_expression) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/state.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | node: &Node, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/state.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_type` [INFO] [stdout] --> src/statement.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(element_type, _) | TypeKind::SparseView(element_type) => { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 73 | TypeKind::SparseStorage(_element_type, _) | TypeKind::SparseView(_element_type) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_collection_type` [INFO] [stdout] --> src/statement.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | source_collection_type: &TypeRef, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_collection_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/transfer.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `comment` [INFO] [stdout] --> src/vec.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | comment: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_error` is never used [INFO] [stdout] --> src/call.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 602 | fn add_error(&mut self, error_kind: err::ErrorKind, node: &Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_node` is never used [INFO] [stdout] --> src/code_bld.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 73 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | fn debug_node(&self, node: &Node) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `comment` is never used [INFO] [stdout] --> src/ctx.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 10 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn comment(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "a0f96b10475f5a9d9356c4562f91c6ddbe724a3a78443a4fce5139b11bb553e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0f96b10475f5a9d9356c4562f91c6ddbe724a3a78443a4fce5139b11bb553e5", kill_on_drop: false }` [INFO] [stdout] a0f96b10475f5a9d9356c4562f91c6ddbe724a3a78443a4fce5139b11bb553e5