[INFO] fetching crate swamp-code-gen 0.2.27... [INFO] testing swamp-code-gen-0.2.27 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate swamp-code-gen 0.2.27 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-code-gen 0.2.27 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b67c32e0be5bfc14c8dd285469453215e348c73639cf02add9ab30f020e103cf [INFO] running `Command { std: "docker" "start" "-a" "b67c32e0be5bfc14c8dd285469453215e348c73639cf02add9ab30f020e103cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b67c32e0be5bfc14c8dd285469453215e348c73639cf02add9ab30f020e103cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67c32e0be5bfc14c8dd285469453215e348c73639cf02add9ab30f020e103cf", kill_on_drop: false }` [INFO] [stdout] b67c32e0be5bfc14c8dd285469453215e348c73639cf02add9ab30f020e103cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a7de3095ec269bc279cf43b3ecb6431e817ad55ead0e2546b51e5063f120b5 [INFO] running `Command { std: "docker" "start" "-a" "44a7de3095ec269bc279cf43b3ecb6431e817ad55ead0e2546b51e5063f120b5", 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 fxhash v0.2.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tinter v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling swamp-symbol v0.2.27 [INFO] [stderr] Compiling fixed32 v0.0.18 [INFO] [stderr] Compiling swamp-attributes v0.2.26 [INFO] [stderr] Compiling source-map-cache v0.0.6 [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-types v0.2.29 [INFO] [stderr] Compiling swamp-vm-isa v0.2.26 [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-instr-build v0.2.26 [INFO] [stderr] Compiling swamp-vm-layout v0.2.27 [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)]` 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)]` 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [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] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [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] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_limit` [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)]` 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 15.20s [INFO] running `Command { std: "docker" "inspect" "44a7de3095ec269bc279cf43b3ecb6431e817ad55ead0e2546b51e5063f120b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a7de3095ec269bc279cf43b3ecb6431e817ad55ead0e2546b51e5063f120b5", kill_on_drop: false }` [INFO] [stdout] 44a7de3095ec269bc279cf43b3ecb6431e817ad55ead0e2546b51e5063f120b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac3bcd3edc51962f62f1b81c85e033696dc16c02fc0af246c24cb836d282843 [INFO] running `Command { std: "docker" "start" "-a" "8ac3bcd3edc51962f62f1b81c85e033696dc16c02fc0af246c24cb836d282843", 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)]` 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)]` 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [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] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [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] [stderr] Compiling swamp-code-gen v0.2.27 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_limit` [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)]` 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)]` 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)]` 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [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] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [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] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_limit` [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)]` 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.24s [INFO] running `Command { std: "docker" "inspect" "8ac3bcd3edc51962f62f1b81c85e033696dc16c02fc0af246c24cb836d282843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac3bcd3edc51962f62f1b81c85e033696dc16c02fc0af246c24cb836d282843", kill_on_drop: false }` [INFO] [stdout] 8ac3bcd3edc51962f62f1b81c85e033696dc16c02fc0af246c24cb836d282843 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 947c70706c931ae5c133d7823dc8f1732d01f663933310bf602347e996272b2c [INFO] running `Command { std: "docker" "start" "-a" "947c70706c931ae5c133d7823dc8f1732d01f663933310bf602347e996272b2c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/expr.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use tracing::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `swamp_vm_isa::MemoryOffset` [INFO] [stderr] --> src/tuple.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use swamp_vm_isa::MemoryOffset; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/tuple.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | use tracing::{info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/assignment.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin_op.rs:137:9 [INFO] [stderr] | [INFO] [stderr] 137 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kind` [INFO] [stderr] --> src/bin_op.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let kind = FlagStateKind::TFlagIsIndeterminate; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin_op.rs:186:9 [INFO] [stderr] | [INFO] [stderr] 186 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/bin_op.rs:224:9 [INFO] [stderr] | [INFO] [stderr] 224 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/call.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 179 | _ => panic!("what kind of argument is it"), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/call.rs:179:13 [INFO] [stderr] | [INFO] [stderr] 114 | ArgumentExpression::BorrowMutableReference(lvalue) => { [INFO] [stderr] | -------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 146 | ArgumentExpression::MaterializedExpression(expr) => { [INFO] [stderr] | ------------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 170 | ArgumentExpression::Expression(expr) => { [INFO] [stderr] | ------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 179 | _ => panic!("what kind of argument is it"), [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `is_host_call` [INFO] [stderr] --> src/call.rs:190:9 [INFO] [stderr] | [INFO] [stderr] 190 | is_host_call: bool, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_host_call` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reg` [INFO] [stderr] --> src/call.rs:596:9 [INFO] [stderr] | [INFO] [stderr] 596 | reg: &TypedRegister, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_reg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/code_bld.rs:211:9 [INFO] [stderr] | [INFO] [stderr] 211 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/code_bld.rs:408:9 [INFO] [stderr] | [INFO] [stderr] 408 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest_reg` [INFO] [stderr] --> src/code_bld.rs:550:29 [INFO] [stderr] | [INFO] [stderr] 550 | Place::Register(dest_reg) => { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/code_bld.rs:709:22 [INFO] [stderr] | [INFO] [stderr] 709 | if let Some((start, end)) = answer { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end` [INFO] [stderr] --> src/code_bld.rs:709:29 [INFO] [stderr] | [INFO] [stderr] 709 | if let Some((start, end)) = answer { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/equal.rs:49:41 [INFO] [stderr] | [INFO] [stderr] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/equal.rs:49:72 [INFO] [stderr] | [INFO] [stderr] 49 | (BasicTypeKind::TaggedUnion(a), BasicTypeKind::TaggedUnion(b)) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/equal.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/expr.rs:428:48 [INFO] [stderr] | [INFO] [stderr] 428 | ExpressionKind::CoerceIntToPointer(a) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/expr.rs:482:25 [INFO] [stderr] | [INFO] [stderr] 482 | let x = 3; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function_info` [INFO] [stderr] --> src/func.rs:123:32 [INFO] [stderr] | [INFO] [stderr] 123 | let (start_ip, end_ip, function_info) = [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function_info` [INFO] [stderr] --> src/func.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | let function_info = FunctionInfo { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `options` [INFO] [stderr] --> src/func.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | options: &GenOptions, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/func.rs:269:14 [INFO] [stderr] | [INFO] [stderr] 269 | for (index, x) in &frame_and_variable_info.parameter_and_variable_offsets { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `found_constant` [INFO] [stderr] --> src/func.rs:326:47 [INFO] [stderr] | [INFO] [stderr] 326 | if let FunctionInfoKind::Constant(found_constant) = &in_data.kind { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_constant` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `union_info` [INFO] [stderr] --> src/init.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `union_info` [INFO] [stderr] --> src/init.rs:103:40 [INFO] [stderr] | [INFO] [stderr] 103 | BasicTypeKind::TaggedUnion(union_info) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_union_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/intr.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/intr.rs:100:9 [INFO] [stderr] | [INFO] [stderr] 100 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `temp_reg` [INFO] [stderr] --> src/intr.rs:143:14 [INFO] [stderr] | [INFO] [stderr] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_temp_reg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dest_reg` [INFO] [stderr] --> src/intr.rs:143:24 [INFO] [stderr] | [INFO] [stderr] 143 | let (temp_reg, dest_reg) = if target_destination.is_register() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_reg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `element_type` [INFO] [stderr] --> src/intr.rs:457:21 [INFO] [stderr] | [INFO] [stderr] 457 | let element_type = self_basic_type.element().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `maybe_target` [INFO] [stderr] --> src/intr.rs:913:13 [INFO] [stderr] | [INFO] [stderr] 913 | let maybe_target = target_destination.register(); [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/literal.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | ctx: &Context, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/lvalue.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let node = &location_expression.node; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logical_limit` [INFO] [stderr] --> src/map.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | logical_limit: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_limit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/map.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `maybe_patterns` [INFO] [stderr] --> src/match_expr.rs:61:62 [INFO] [stderr] | [INFO] [stderr] 61 | NormalPattern::EnumPattern(enum_variant, maybe_patterns) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_patterns` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `maybe_guard` [INFO] [stderr] --> src/match_expr.rs:265:49 [INFO] [stderr] | [INFO] [stderr] 265 | Pattern::Normal(normal_pattern, maybe_guard) => match normal_pattern { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_guard` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `literal_expression` [INFO] [stderr] --> src/match_expr.rs:268:44 [INFO] [stderr] | [INFO] [stderr] 268 | NormalPattern::Literal(literal_expression) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_literal_expression` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `node` [INFO] [stderr] --> src/state.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | node: &Node, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/state.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `element_type` [INFO] [stderr] --> src/statement.rs:73:37 [INFO] [stderr] | [INFO] [stderr] 73 | TypeKind::SparseStorage(element_type, _) | TypeKind::SparseView(element_type) => { [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 73 | TypeKind::SparseStorage(_element_type, _) | TypeKind::SparseView(_element_type) => { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: unused variable: `source_collection_type` [INFO] [stderr] --> src/statement.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | source_collection_type: &TypeRef, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_collection_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/transfer.rs:262:9 [INFO] [stderr] | [INFO] [stderr] 262 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `comment` [INFO] [stderr] --> src/vec.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | comment: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comment` [INFO] [stderr] [INFO] [stderr] warning: method `add_error` is never used [INFO] [stderr] --> src/call.rs:602:8 [INFO] [stderr] | [INFO] [stderr] 39 | impl CodeBuilder<'_> { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 602 | fn add_error(&mut self, error_kind: err::ErrorKind, node: &Node) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `debug_node` is never used [INFO] [stderr] --> src/code_bld.rs:132:8 [INFO] [stderr] | [INFO] [stderr] 73 | impl CodeBuilder<'_> { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 132 | fn debug_node(&self, node: &Node) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `comment` is never used [INFO] [stderr] --> src/ctx.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 10 | impl Context { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub(crate) fn comment(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `swamp-code-gen` (lib) generated 50 warnings (run `cargo fix --lib -p swamp-code-gen` to apply 3 suggestions) [INFO] [stderr] warning: `swamp-code-gen` (lib test) generated 50 warnings (50 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swamp_code_gen-d20b286d1986712d) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-ac170a272c5daa73) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test check_it_compiles ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests swamp_code_gen [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/assignment.rs - assignment::CodeBuilder<'_>::emit_assignment (line 34) ... ignored [INFO] [stdout] test src/lvalue.rs - lvalue::CodeBuilder<'_>::emit_lvalue_address (line 43) ... ignored [INFO] [stdout] test src/rvalue.rs - rvalue::CodeBuilder<'_>::emit_scalar_rvalue (line 134) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/assignment.rs - assignment::CodeBuilder<'_>::emit_assignment (line 40) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.56s; merged doctests compilation took 0.55s [INFO] running `Command { std: "docker" "inspect" "947c70706c931ae5c133d7823dc8f1732d01f663933310bf602347e996272b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947c70706c931ae5c133d7823dc8f1732d01f663933310bf602347e996272b2c", kill_on_drop: false }` [INFO] [stdout] 947c70706c931ae5c133d7823dc8f1732d01f663933310bf602347e996272b2c