[INFO] cloning repository https://github.com/alpaylan/tjq [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alpaylan/tjq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Ftjq", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Ftjq'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd23a792a04705826077907efc2cbddd184f1e93 [INFO] checking alpaylan/tjq against master#c0bb140a37c81cf59a0b40c21c9413059644e294 for pr-129249-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falpaylan%2Ftjq" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/alpaylan/tjq [INFO] finished tweaking git repo https://github.com/alpaylan/tjq [INFO] tweaked toml for git repo https://github.com/alpaylan/tjq written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alpaylan/tjq on toolchain c0bb140a37c81cf59a0b40c21c9413059644e294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alpaylan/tjq 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" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-language v0.1.5 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded topological-sort v0.2.2 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded trace v0.1.7 [INFO] [stderr] Downloaded tree-sitter-jq v1.0.2 [INFO] [stderr] Downloaded z3-sys v0.9.9 [INFO] [stderr] Downloaded z3 v0.16.2 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded tree-sitter v0.25.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6 [INFO] running `Command { std: "docker" "start" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling tree-sitter-tjq v1.0.2 (/opt/rustwide/workdir/tjq_grammar) [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tree-sitter-jq v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Checking tempfile v3.22.0 [INFO] [stderr] Compiling trace v0.1.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling z3-sys v0.9.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tjq_exec v0.1.0 (/opt/rustwide/workdir/tjq_exec) [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stdout] warning: unused import: `crate::printer::print_ast` [INFO] [stdout] --> tjq_exec/parse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::printer::print_ast; [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: `crate::printer::print_ast` [INFO] [stdout] --> tjq_exec/parse.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::printer::print_ast; [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: `tracing_subscriber::EnvFilter` [INFO] [stdout] --> tjq_exec/parse.rs:1104:9 [INFO] [stdout] | [INFO] [stdout] 1104 | use tracing_subscriber::EnvFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | Filter::Pipe(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | Filter::Pipe(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | Filter::Comma(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | Filter::Comma(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> tjq_exec/bytecode.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | Filter::Array(filters) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/bytecode.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | Filter::Object(items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> tjq_exec/bytecode.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | Filter::UnOp(un_op, filter) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | Filter::UnOp(un_op, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:43 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> tjq_exec/bytecode.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | Filter::Call(_, filters) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter2` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:49 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/bytecode.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | Filter::Bound(items, filter) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | Filter::Bound(items, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_map` [INFO] [stdout] --> tjq_exec/bytecode.rs:297:40 [INFO] [stdout] | [INFO] [stdout] 297 | Filter::FunctionExpression(hash_map, filter) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | Filter::FunctionExpression(hash_map, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | Filter::BindingExpression(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:298:47 [INFO] [stdout] | [INFO] [stdout] 298 | Filter::BindingExpression(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:54 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> tjq_exec/bytecode.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | fn run(&self, vars: Vec) -> impl Iterator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> tjq_exec/error.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | JQError::NonStringObjectKey(json) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> tjq_exec/filter.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | Filter::Array(pats) => todo!(), //match these patterns [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> tjq_exec/filter.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | Filter::Object(pairs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/filter.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | Filter::Bound(items, filter) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> tjq_exec/filter.rs:716:30 [INFO] [stdout] | [INFO] [stdout] 716 | Filter::ObjIndex(f) | Filter::ArrayIndex(f) => false, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 716 | Filter::ObjIndex(_f) | Filter::ArrayIndex(_f) => false, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cst` [INFO] [stdout] --> tjq_exec/parse.rs:603:20 [INFO] [stdout] | [INFO] [stdout] 603 | let (cst_defs, cst) = parse(code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> tjq_exec/parse.rs:1013:18 [INFO] [stdout] | [INFO] [stdout] 1013 | let (identifier, vfield) = parse_filter( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> tjq_exec/bytecode.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Code` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeInfo` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct CodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `next` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Env { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn next(&mut self) -> (Option>, bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fork` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct Fork { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeBlock` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | struct ScopeBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeStack` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct ScopeStack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `empty`, `save`, and `restore` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl ScopeStack { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 137 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn push(&mut self, v: Scope) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn save(&mut self) -> (isize, isize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn restore(&mut self, index: isize, limit: isize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `empty`, `save`, and `restore` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 199 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 200 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn push(&mut self, v: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn save(&mut self) -> (isize, isize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn restore(&mut self, index: isize, limit: isize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Compiler` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | struct Compiler { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `compile` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | impl Compiler { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 263 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn compile(&mut self, f: Filter) -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> tjq_exec/bytecode.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 306 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 307 | fn run(&self, vars: Vec) -> impl Iterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_ast` is never used [INFO] [stdout] --> tjq_exec/printer.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn print_ast(node: Node, source: &str, indent: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_node_details` is never used [INFO] [stdout] --> tjq_exec/printer.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn print_node_details(node: Node, source: &str, indent: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:279:26 [INFO] [stdout] | [INFO] [stdout] 279 | Filter::Pipe(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:279:34 [INFO] [stdout] | [INFO] [stdout] 279 | Filter::Pipe(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | Filter::Comma(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | Filter::Comma(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> tjq_exec/bytecode.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | Filter::Array(filters) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/bytecode.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | Filter::Object(items) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `un_op` [INFO] [stdout] --> tjq_exec/bytecode.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | Filter::UnOp(un_op, filter) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_un_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | Filter::UnOp(un_op, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:27 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bin_op` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bin_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:291:43 [INFO] [stdout] | [INFO] [stdout] 291 | Filter::BinOp(filter, bin_op, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filters` [INFO] [stdout] --> tjq_exec/bytecode.rs:294:29 [INFO] [stdout] | [INFO] [stdout] 294 | Filter::Call(_, filters) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:32 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter2` [INFO] [stdout] --> tjq_exec/bytecode.rs:295:49 [INFO] [stdout] | [INFO] [stdout] 295 | Filter::IfThenElse(filter, filter1, filter2) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/bytecode.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 296 | Filter::Bound(items, filter) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:296:34 [INFO] [stdout] | [INFO] [stdout] 296 | Filter::Bound(items, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_map` [INFO] [stdout] --> tjq_exec/bytecode.rs:297:40 [INFO] [stdout] | [INFO] [stdout] 297 | Filter::FunctionExpression(hash_map, filter) => todo!(), [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:297:50 [INFO] [stdout] | [INFO] [stdout] 297 | Filter::FunctionExpression(hash_map, filter) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/bytecode.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | Filter::BindingExpression(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter1` [INFO] [stdout] --> tjq_exec/bytecode.rs:298:47 [INFO] [stdout] | [INFO] [stdout] 298 | Filter::BindingExpression(filter, filter1) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:38 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generator` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:43 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:54 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> tjq_exec/bytecode.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 300 | Filter::ReduceExpression(var, generator, init, update) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vars` [INFO] [stdout] --> tjq_exec/bytecode.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | fn run(&self, vars: Vec) -> impl Iterator { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json` [INFO] [stdout] --> tjq_exec/error.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | JQError::NonStringObjectKey(json) => todo!(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pats` [INFO] [stdout] --> tjq_exec/filter.rs:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | Filter::Array(pats) => todo!(), //match these patterns [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pairs` [INFO] [stdout] --> tjq_exec/filter.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | Filter::Object(pairs) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pairs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> tjq_exec/filter.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | Filter::Bound(items, filter) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> tjq_exec/filter.rs:716:30 [INFO] [stdout] | [INFO] [stdout] 716 | Filter::ObjIndex(f) | Filter::ArrayIndex(f) => false, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 716 | Filter::ObjIndex(_f) | Filter::ArrayIndex(_f) => false, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cst` [INFO] [stdout] --> tjq_exec/parse.rs:603:20 [INFO] [stdout] | [INFO] [stdout] 603 | let (cst_defs, cst) = parse(code); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> tjq_exec/parse.rs:1013:18 [INFO] [stdout] | [INFO] [stdout] 1013 | let (identifier, vfield) = parse_filter( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_identifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> tjq_exec/parse.rs:1119:20 [INFO] [stdout] | [INFO] [stdout] 1119 | let (defs, filter) = parse(code); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Opcode` is never used [INFO] [stdout] --> tjq_exec/bytecode.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum Opcode { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Code` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeInfo` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct CodeInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute` and `next` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl Env { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn next(&mut self) -> (Option>, bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Fork` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct Fork { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeBlock` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | struct ScopeBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeStack` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | struct ScopeStack { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `empty`, `save`, and `restore` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl ScopeStack { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 137 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn push(&mut self, v: Scope) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn save(&mut self) -> (isize, isize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn restore(&mut self, index: isize, limit: isize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Block` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct Block { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stack` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | struct Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `empty`, `save`, and `restore` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 199 | impl Stack { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 200 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn push(&mut self, v: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn pop(&mut self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn empty(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn save(&mut self) -> (isize, isize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn restore(&mut self, index: isize, limit: isize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Compiler` is never constructed [INFO] [stdout] --> tjq_exec/bytecode.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | struct Compiler { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `compile` are never used [INFO] [stdout] --> tjq_exec/bytecode.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 262 | impl Compiler { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 263 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn compile(&mut self, f: Filter) -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> tjq_exec/bytecode.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 306 | impl Program { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 307 | fn run(&self, vars: Vec) -> impl Iterator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_ast` is never used [INFO] [stdout] --> tjq_exec/printer.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn print_ast(node: Node, source: &str, indent: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_node_details` is never used [INFO] [stdout] --> tjq_exec/printer.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn print_node_details(node: Node, source: &str, indent: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking z3 v0.16.2 [INFO] [stderr] Checking tjq_semantics v0.1.0 (/opt/rustwide/workdir/tjq_semantics) [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:372:33 [INFO] [stdout] | [INFO] [stdout] 372 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:372:40 [INFO] [stdout] | [INFO] [stdout] 372 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> tjq_semantics/shape.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:491:49 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:491:56 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> tjq_semantics/shape.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, s2), _) | (_, Shape::Mismatch(s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(_s1, s2), _) | (_, Shape::Mismatch(_s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> tjq_semantics/shape.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, s2), _) | (_, Shape::Mismatch(s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, _s2), _) | (_, Shape::Mismatch(s1, _s2)) => Subtyping::Incompatible, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:630:40 [INFO] [stdout] | [INFO] [stdout] 630 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> tjq_semantics/shape.rs:1250:46 [INFO] [stdout] | [INFO] [stdout] 1250 | ... (Shape::TVar(t), s) | (s, Shape::TVar(t)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1250 | (Shape::TVar(_t), s) | (s, Shape::TVar(_t)) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> tjq_semantics/shape.rs:1250:50 [INFO] [stdout] | [INFO] [stdout] 1250 | ... (Shape::TVar(t), s) | (s, Shape::TVar(t)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1250 | (Shape::TVar(t), _s) | (_s, Shape::TVar(t)) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:830:32 [INFO] [stdout] | [INFO] [stdout] 830 | Shape::Neg(shape) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:831:41 [INFO] [stdout] | [INFO] [stdout] 831 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:831:48 [INFO] [stdout] | [INFO] [stdout] 831 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> tjq_semantics/shape.rs:666:30 [INFO] [stdout] | [INFO] [stdout] 666 | Filter::ObjIndex(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:729:32 [INFO] [stdout] | [INFO] [stdout] 729 | Filter::ArrayIndex(u) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:1509:33 [INFO] [stdout] | [INFO] [stdout] 1509 | Shape::Array(shape, u) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:1624:33 [INFO] [stdout] | [INFO] [stdout] 1624 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:1624:40 [INFO] [stdout] | [INFO] [stdout] 1624 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:1672:33 [INFO] [stdout] | [INFO] [stdout] 1672 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:1672:40 [INFO] [stdout] | [INFO] [stdout] 1672 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> tjq_semantics/shape.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Shape { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 30 | pub(crate) fn null() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn bool(b: bool) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub(crate) fn bool_() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub(crate) fn number(n: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn number_() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn string(s: impl Into) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub(crate) fn string_() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub(crate) fn blob() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub(crate) fn array(shape: Shape, u: Option) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn tuple(shapes: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub(crate) fn object(items: Vec<(String, Shape)>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn mismatch(s1: Shape, s2: Shape) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) fn union(s1: Shape, s2: Shape) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn union_(shapes: Vec) -> Self { [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 `get_mut` is never used [INFO] [stdout] --> tjq_semantics/shape.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl ShapeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | fn get_mut(&mut self, t: &usize) -> Option<&mut Shape> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tjq v0.1.0 (/opt/rustwide/workdir/tjq) [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:372:33 [INFO] [stdout] | [INFO] [stdout] 372 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:372:40 [INFO] [stdout] | [INFO] [stdout] 372 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:410:33 [INFO] [stdout] | [INFO] [stdout] 410 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:410:40 [INFO] [stdout] | [INFO] [stdout] 410 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> tjq_semantics/shape.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:491:49 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:491:56 [INFO] [stdout] | [INFO] [stdout] 491 | (Shape::Tuple(shapes), Shape::Array(shape, u)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s1` [INFO] [stdout] --> tjq_semantics/shape.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, s2), _) | (_, Shape::Mismatch(s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(_s1, s2), _) | (_, Shape::Mismatch(_s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> tjq_semantics/shape.rs:544:34 [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, s2), _) | (_, Shape::Mismatch(s1, s2)) => Subtyping::Incompatible, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 544 | (Shape::Mismatch(s1, _s2), _) | (_, Shape::Mismatch(s1, _s2)) => Subtyping::Incompatible, [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:630:33 [INFO] [stdout] | [INFO] [stdout] 630 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:630:40 [INFO] [stdout] | [INFO] [stdout] 630 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> tjq_semantics/shape.rs:1250:46 [INFO] [stdout] | [INFO] [stdout] 1250 | ... (Shape::TVar(t), s) | (s, Shape::TVar(t)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1250 | (Shape::TVar(_t), s) | (s, Shape::TVar(_t)) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> tjq_semantics/shape.rs:1250:50 [INFO] [stdout] | [INFO] [stdout] 1250 | ... (Shape::TVar(t), s) | (s, Shape::TVar(t)) => { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 1250 | (Shape::TVar(t), _s) | (_s, Shape::TVar(t)) => { [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:830:32 [INFO] [stdout] | [INFO] [stdout] 830 | Shape::Neg(shape) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:831:41 [INFO] [stdout] | [INFO] [stdout] 831 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:831:48 [INFO] [stdout] | [INFO] [stdout] 831 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> tjq_semantics/shape.rs:666:30 [INFO] [stdout] | [INFO] [stdout] 666 | Filter::ObjIndex(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:729:32 [INFO] [stdout] | [INFO] [stdout] 729 | Filter::ArrayIndex(u) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> tjq_semantics/shape.rs:1509:33 [INFO] [stdout] | [INFO] [stdout] 1509 | Shape::Array(shape, u) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:1624:33 [INFO] [stdout] | [INFO] [stdout] 1624 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:1624:40 [INFO] [stdout] | [INFO] [stdout] 1624 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> tjq_semantics/shape.rs:1672:33 [INFO] [stdout] | [INFO] [stdout] 1672 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape1` [INFO] [stdout] --> tjq_semantics/shape.rs:1672:40 [INFO] [stdout] | [INFO] [stdout] 1672 | Shape::Intersection(shape, shape1) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shape1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `union_` is never used [INFO] [stdout] --> tjq_semantics/shape.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 29 | impl Shape { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn union_(shapes: Vec) -> Self { [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 `get_mut` is never used [INFO] [stdout] --> tjq_semantics/shape.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl ShapeContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 256 | fn get_mut(&mut self, t: &usize) -> Option<&mut Shape> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shapes_structurally_equal` is never used [INFO] [stdout] --> tjq_semantics/shape.rs:1706:8 [INFO] [stdout] | [INFO] [stdout] 1706 | fn shapes_structurally_equal(s1: &Shape, s2: &Shape) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_tvars` is never used [INFO] [stdout] --> tjq_semantics/shape.rs:1741:8 [INFO] [stdout] | [INFO] [stdout] 1741 | fn collect_tvars(shape: &Shape) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking tjq-lsp v0.1.0 (/opt/rustwide/workdir/tjq_lsp) [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> tjq_lsp/src/assists.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Position, Url, [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 imports: `Node` and `Point` [INFO] [stdout] --> tjq_lsp/src/completions.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tree_sitter::{Node, Point}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Position` [INFO] [stdout] --> tjq_lsp/src/assists.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Position, Url, [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 imports: `Node` and `Point` [INFO] [stdout] --> tjq_lsp/src/completions.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use tree_sitter::{Node, Point}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tjq_lsp/src/tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_lsp::Client` [INFO] [stdout] --> tjq_lsp/src/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use tower_lsp::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tjq_lsp/src/assists.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | context: CodeActionContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> tjq_lsp/src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> tjq_lsp/src/assists.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | context: CodeActionContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> tjq_lsp/src/server.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | async fn parse_document(&self, uri: &Url, text: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uri` [INFO] [stdout] --> tjq_lsp/src/server.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | async fn parse_document(&self, uri: &Url, text: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> tjq_lsp/src/document.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DocumentData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub rope: Rope, [INFO] [stdout] 7 | pub version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset_at_position` and `position_at_offset` are never used [INFO] [stdout] --> tjq_lsp/src/document.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DocumentData { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 13 | pub fn offset_at_position(&self, position: Position) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn position_at_offset(&self, offset: usize) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `structural_completions` is never used [INFO] [stdout] --> tjq_lsp/src/completions.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl CompletionProvider { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | fn structural_completions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> tjq_lsp/src/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TjqLanguageServer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 18 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> tjq_lsp/src/tests.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let doc = create_test_document(unformatted); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> tjq_lsp/src/document.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct DocumentData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | pub rope: Rope, [INFO] [stdout] 7 | pub version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `structural_completions` is never used [INFO] [stdout] --> tjq_lsp/src/completions.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl CompletionProvider { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | fn structural_completions() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> tjq_lsp/src/server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TjqLanguageServer { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 18 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6", kill_on_drop: false }` [INFO] [stdout] a0245dc6936d8377fc6756eb5d2790400d324b6afcdfe3463f1a7c9fb06873d6