[INFO] fetching crate mech-syntax 0.0.5... [INFO] checking mech-syntax-0.0.5 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate mech-syntax 0.0.5 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate mech-syntax 0.0.5 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mech-syntax 0.0.5 [INFO] finished tweaking crates.io crate mech-syntax 0.0.5 [INFO] tweaked toml for crates.io crate mech-syntax 0.0.5 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate mech-syntax 0.0.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ebce474a5dbaeb4c7a21cfbba1959e5a64ea0806c48621369744ff7821a57f7d [INFO] running `Command { std: "docker" "start" "-a" "ebce474a5dbaeb4c7a21cfbba1959e5a64ea0806c48621369744ff7821a57f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebce474a5dbaeb4c7a21cfbba1959e5a64ea0806c48621369744ff7821a57f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebce474a5dbaeb4c7a21cfbba1959e5a64ea0806c48621369744ff7821a57f7d", kill_on_drop: false }` [INFO] [stdout] ebce474a5dbaeb4c7a21cfbba1959e5a64ea0806c48621369744ff7821a57f7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bf42bfef1a0dfb70deee4c2a8ca53c8226fb830c5b158e48bb4544dbfc4c236 [INFO] running `Command { std: "docker" "start" "-a" "0bf42bfef1a0dfb70deee4c2a8ca53c8226fb830c5b158e48bb4544dbfc4c236", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking ahash v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking mech-core v0.0.5 [INFO] [stderr] Checking mech-syntax v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/parser.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `alphanumeric1`, `context`, `convert_error` [INFO] [stdout] --> src/parser.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | error::{context, convert_error, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | character::complete::{alphanumeric1, alpha1, digit1, space0, space1}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToQuantity` [INFO] [stdout] --> src/compiler.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Parameter, Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::ErrorType` [INFO] [stdout] --> src/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mech_core::ErrorType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/compiler.rs:1559:51 [INFO] [stdout] | [INFO] [stdout] 1559 | let quantity = make_quantity(value as i64,(1 - place as i64),0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Constraint` [INFO] [stdout] --> src/formatter.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use mech_core::{Block, Constraint, TableId}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parameter`, `Quantity`, `ToQuantity`, `make_quantity` [INFO] [stdout] --> src/formatter.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mech_core::{Parameter, Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/formatter.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::hash_map::{HashMap, Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/parser.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `alphanumeric1`, `context`, `convert_error` [INFO] [stdout] --> src/parser.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | error::{context, convert_error, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | character::complete::{alphanumeric1, alpha1, digit1, space0, space1}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToQuantity` [INFO] [stdout] --> src/compiler.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Parameter, Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::ErrorType` [INFO] [stdout] --> src/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mech_core::ErrorType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/compiler.rs:1559:51 [INFO] [stdout] | [INFO] [stdout] 1559 | let quantity = make_quantity(value as i64,(1 - place as i64),0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Constraint` [INFO] [stdout] --> src/formatter.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use mech_core::{Block, Constraint, TableId}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Parameter`, `Quantity`, `ToQuantity`, `make_quantity` [INFO] [stdout] --> src/formatter.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mech_core::{Parameter, Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entry` [INFO] [stdout] --> src/formatter.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::hash_map::{HashMap, Entry}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/parser.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | error::{context, convert_error, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1804:7 [INFO] [stdout] | [INFO] [stdout] 1804 | parser::Node::Comment{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1808:7 [INFO] [stdout] | [INFO] [stdout] 1808 | parser::Node::LogicOperator{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1814:7 [INFO] [stdout] | [INFO] [stdout] 1814 | parser::Node::Attribute{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1815:7 [INFO] [stdout] | [INFO] [stdout] 1815 | parser::Node::Comparator{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/parser.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/parser.rs:348:11 [INFO] [stdout] | [INFO] [stdout] 348 | Err(q) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/parser.rs:371:11 [INFO] [stdout] | [INFO] [stdout] 371 | Err(x) => Err(()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/parser.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | for (ix, token) in self.tokens.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | Node::SelectData{name, id, children} => {print!("SelectData({:?}))\n", id); Some(children)}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | Node::Token{token, byte} => {print!("Token({:?})\n", token); None}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compiler.rs:1989:7 [INFO] [stdout] | [INFO] [stdout] 1989 | for i in 1 .. n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | Element::Block((block_id, node)) => write!(f, " Block({:#x})", block_id), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | let block = self.compile_block(block_tree); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_consumed` [INFO] [stdout] --> src/compiler.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut block_consumed: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_consumed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/compiler.rs:530:38 [INFO] [stdout] | [INFO] [stdout] 530 | Constraint::AliasTable{table, alias} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_table` [INFO] [stdout] --> src/compiler.rs:542:46 [INFO] [stdout] | [INFO] [stdout] 542 | Constraint::Append{from_table, to_table} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `to_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/compiler.rs:548:39 [INFO] [stdout] | [INFO] [stdout] 548 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `indices: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:551:35 [INFO] [stdout] | [INFO] [stdout] 551 | TableId::Global(id) => false, // TODO handle global [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_table` [INFO] [stdout] --> src/compiler.rs:558:41 [INFO] [stdout] | [INFO] [stdout] 558 | Constraint::Insert{from: (from_table, ..), to: (to_table, to_ixes)} => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `satisfied` [INFO] [stdout] --> src/compiler.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut satisfied = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_satisfied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1036:42 [INFO] [stdout] | [INFO] [stdout] 1036 | Constraint::NewTable{ref id, rows, columns} => Some(Parameter::TableId(id.clone())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1036:48 [INFO] [stdout] | [INFO] [stdout] 1036 | Constraint::NewTable{ref id, rows, columns} => Some(Parameter::TableId(id.clone())), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:659:44 [INFO] [stdout] | [INFO] [stdout] 659 | Constraint::Scan{table, indices, output} => (table.clone(), indices.clone()), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:683:38 [INFO] [stdout] | [INFO] [stdout] 683 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:683:44 [INFO] [stdout] | [INFO] [stdout] 683 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:684:43 [INFO] [stdout] | [INFO] [stdout] 684 | Constraint::AliasTable{table, alias} => table.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:700:44 [INFO] [stdout] | [INFO] [stdout] 700 | ... Constraint::Scan{table, indices, output} => constraints.push(Constraint::ChangeScan{tables: vec![(table.clone(), indices.clone())]}), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnstring` [INFO] [stdout] --> src/compiler.rs:701:32 [INFO] [stdout] | [INFO] [stdout] 701 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fnstring: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/compiler.rs:701:42 [INFO] [stdout] | [INFO] [stdout] 701 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:768:38 [INFO] [stdout] | [INFO] [stdout] 768 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:768:44 [INFO] [stdout] | [INFO] [stdout] 768 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:769:43 [INFO] [stdout] | [INFO] [stdout] 769 | Constraint::AliasTable{table, alias} => table.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:798:38 [INFO] [stdout] | [INFO] [stdout] 798 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:798:44 [INFO] [stdout] | [INFO] [stdout] 798 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:801:43 [INFO] [stdout] | [INFO] [stdout] 801 | Constraint::AliasTable{table, alias} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_expression` [INFO] [stdout] --> src/compiler.rs:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | let store_expression = self.expression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compiler.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut i = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:837:40 [INFO] [stdout] | [INFO] [stdout] 837 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:837:46 [INFO] [stdout] | [INFO] [stdout] 837 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anon_table_rows` [INFO] [stdout] --> src/compiler.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | let anon_table_rows = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anon_table_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anon_table_cols` [INFO] [stdout] --> src/compiler.rs:888:13 [INFO] [stdout] | [INFO] [stdout] 888 | let anon_table_cols = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anon_table_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:896:38 [INFO] [stdout] | [INFO] [stdout] 896 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:896:44 [INFO] [stdout] | [INFO] [stdout] 896 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:997:36 [INFO] [stdout] | [INFO] [stdout] 997 | Constraint::Identifier{id, text} => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1000:42 [INFO] [stdout] | [INFO] [stdout] 1000 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1000:48 [INFO] [stdout] | [INFO] [stdout] 1000 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1006:38 [INFO] [stdout] | [INFO] [stdout] 1006 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1006:44 [INFO] [stdout] | [INFO] [stdout] 1006 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:1009:46 [INFO] [stdout] | [INFO] [stdout] 1009 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnstring` [INFO] [stdout] --> src/compiler.rs:1012:34 [INFO] [stdout] | [INFO] [stdout] 1012 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fnstring: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/compiler.rs:1012:44 [INFO] [stdout] | [INFO] [stdout] 1012 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | Node::SelectData{name, id, children} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scan_id` is never read [INFO] [stdout] --> src/compiler.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | scan_id = TableId::Local(scan_output); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1097:38 [INFO] [stdout] | [INFO] [stdout] 1097 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1097:44 [INFO] [stdout] | [INFO] [stdout] 1097 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:1100:46 [INFO] [stdout] | [INFO] [stdout] 1100 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1421:23 [INFO] [stdout] | [INFO] [stdout] 1421 | Node::Token{token, byte} => byte_to_char(*byte).unwrap().to_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1508:35 [INFO] [stdout] | [INFO] [stdout] 1508 | Node::Constant{value, unit} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:1511:42 [INFO] [stdout] | [INFO] [stdout] 1511 | Node::Identifier{name: word, id} => unit = Some(word), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:1525:46 [INFO] [stdout] | [INFO] [stdout] 1525 | Node::Token{token: Token::Comma, byte} => (), [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1526:25 [INFO] [stdout] | [INFO] [stdout] 1526 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1532:35 [INFO] [stdout] | [INFO] [stdout] 1532 | Node::Constant{value, unit} => quantities.push(value), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:1549:47 [INFO] [stdout] | [INFO] [stdout] 1549 | Node::Token{token: Token::Period, byte} => (), [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1550:25 [INFO] [stdout] | [INFO] [stdout] 1550 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | Node::Token{token, byte} => text_node.push_str(&format!("{}",byte_to_char(byte).unwrap())), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1640:35 [INFO] [stdout] | [INFO] [stdout] 1640 | Node::Constant{value, unit} => text_node.push_str(&format!("{}", value.to_float())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1651:25 [INFO] [stdout] | [INFO] [stdout] 1651 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1666:25 [INFO] [stdout] | [INFO] [stdout] 1666 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1671:35 [INFO] [stdout] | [INFO] [stdout] 1671 | Node::Constant{value, unit} => word.push_str(&format!("{}", value.to_float())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1728:23 [INFO] [stdout] | [INFO] [stdout] 1728 | Node::Token{token, byte} => byte_to_char(*byte).unwrap().to_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:1740:36 [INFO] [stdout] | [INFO] [stdout] 1740 | Node::Identifier{name, id} => function_name = name, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParseError` [INFO] [stdout] --> src/parser.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | error::{context, convert_error, ErrorKind, ParseError, VerboseError}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1804:7 [INFO] [stdout] | [INFO] [stdout] 1804 | parser::Node::Comment{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1808:7 [INFO] [stdout] | [INFO] [stdout] 1808 | parser::Node::LogicOperator{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1814:7 [INFO] [stdout] | [INFO] [stdout] 1814 | parser::Node::Attribute{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:1815:7 [INFO] [stdout] | [INFO] [stdout] 1815 | parser::Node::Comparator{children} | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/parser.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/parser.rs:348:11 [INFO] [stdout] | [INFO] [stdout] 348 | Err(q) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/parser.rs:371:11 [INFO] [stdout] | [INFO] [stdout] 371 | Err(x) => Err(()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/parser.rs:384:10 [INFO] [stdout] | [INFO] [stdout] 384 | for (ix, token) in self.tokens.iter().enumerate() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | Node::SelectData{name, id, children} => {print!("SelectData({:?}))\n", id); Some(children)}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 141 | Node::Token{token, byte} => {print!("Token({:?})\n", token); None}, [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compiler.rs:1989:7 [INFO] [stdout] | [INFO] [stdout] 1989 | for i in 1 .. n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/compiler.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/compiler.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | Element::Block((block_id, node)) => write!(f, " Block({:#x})", block_id), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/compiler.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | let block = self.compile_block(block_tree); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_consumed` [INFO] [stdout] --> src/compiler.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut block_consumed: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_consumed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/compiler.rs:530:38 [INFO] [stdout] | [INFO] [stdout] 530 | Constraint::AliasTable{table, alias} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_table` [INFO] [stdout] --> src/compiler.rs:542:46 [INFO] [stdout] | [INFO] [stdout] 542 | Constraint::Append{from_table, to_table} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `to_table: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `indices` [INFO] [stdout] --> src/compiler.rs:548:39 [INFO] [stdout] | [INFO] [stdout] 548 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `indices: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:551:35 [INFO] [stdout] | [INFO] [stdout] 551 | TableId::Global(id) => false, // TODO handle global [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_table` [INFO] [stdout] --> src/compiler.rs:558:41 [INFO] [stdout] | [INFO] [stdout] 558 | Constraint::Insert{from: (from_table, ..), to: (to_table, to_ixes)} => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `satisfied` [INFO] [stdout] --> src/compiler.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut satisfied = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_satisfied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1036:42 [INFO] [stdout] | [INFO] [stdout] 1036 | Constraint::NewTable{ref id, rows, columns} => Some(Parameter::TableId(id.clone())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1036:48 [INFO] [stdout] | [INFO] [stdout] 1036 | Constraint::NewTable{ref id, rows, columns} => Some(Parameter::TableId(id.clone())), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:659:44 [INFO] [stdout] | [INFO] [stdout] 659 | Constraint::Scan{table, indices, output} => (table.clone(), indices.clone()), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:683:38 [INFO] [stdout] | [INFO] [stdout] 683 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:683:44 [INFO] [stdout] | [INFO] [stdout] 683 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:684:43 [INFO] [stdout] | [INFO] [stdout] 684 | Constraint::AliasTable{table, alias} => table.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:700:44 [INFO] [stdout] | [INFO] [stdout] 700 | ... Constraint::Scan{table, indices, output} => constraints.push(Constraint::ChangeScan{tables: vec![(table.clone(), indices.clone())]}), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnstring` [INFO] [stdout] --> src/compiler.rs:701:32 [INFO] [stdout] | [INFO] [stdout] 701 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fnstring: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/compiler.rs:701:42 [INFO] [stdout] | [INFO] [stdout] 701 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:768:38 [INFO] [stdout] | [INFO] [stdout] 768 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:768:44 [INFO] [stdout] | [INFO] [stdout] 768 | Constraint::NewTable{id, rows, columns} => id.clone(), [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:769:43 [INFO] [stdout] | [INFO] [stdout] 769 | Constraint::AliasTable{table, alias} => table.clone(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:798:38 [INFO] [stdout] | [INFO] [stdout] 798 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:798:44 [INFO] [stdout] | [INFO] [stdout] 798 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alias` [INFO] [stdout] --> src/compiler.rs:801:43 [INFO] [stdout] | [INFO] [stdout] 801 | Constraint::AliasTable{table, alias} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `alias: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `store_expression` [INFO] [stdout] --> src/compiler.rs:819:13 [INFO] [stdout] | [INFO] [stdout] 819 | let store_expression = self.expression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_store_expression` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/compiler.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut i = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:837:40 [INFO] [stdout] | [INFO] [stdout] 837 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:837:46 [INFO] [stdout] | [INFO] [stdout] 837 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anon_table_rows` [INFO] [stdout] --> src/compiler.rs:887:13 [INFO] [stdout] | [INFO] [stdout] 887 | let anon_table_rows = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anon_table_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `anon_table_cols` [INFO] [stdout] --> src/compiler.rs:888:13 [INFO] [stdout] | [INFO] [stdout] 888 | let anon_table_cols = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_anon_table_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:896:38 [INFO] [stdout] | [INFO] [stdout] 896 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:896:44 [INFO] [stdout] | [INFO] [stdout] 896 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:997:36 [INFO] [stdout] | [INFO] [stdout] 997 | Constraint::Identifier{id, text} => { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1000:42 [INFO] [stdout] | [INFO] [stdout] 1000 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1000:48 [INFO] [stdout] | [INFO] [stdout] 1000 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | let mut index = vec![identifier]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1006:38 [INFO] [stdout] | [INFO] [stdout] 1006 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1006:44 [INFO] [stdout] | [INFO] [stdout] 1006 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:1009:46 [INFO] [stdout] | [INFO] [stdout] 1009 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fnstring` [INFO] [stdout] --> src/compiler.rs:1012:34 [INFO] [stdout] | [INFO] [stdout] 1012 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fnstring: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/compiler.rs:1012:44 [INFO] [stdout] | [INFO] [stdout] 1012 | Constraint::Function{fnstring, parameters, output} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | Node::SelectData{name, id, children} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `scan_id` is never read [INFO] [stdout] --> src/compiler.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | scan_id = TableId::Local(scan_output); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/compiler.rs:1097:38 [INFO] [stdout] | [INFO] [stdout] 1097 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/compiler.rs:1097:44 [INFO] [stdout] | [INFO] [stdout] 1097 | Constraint::NewTable{id, rows, columns} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `columns: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/compiler.rs:1100:46 [INFO] [stdout] | [INFO] [stdout] 1100 | Constraint::Scan{table, indices, output} => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1421:23 [INFO] [stdout] | [INFO] [stdout] 1421 | Node::Token{token, byte} => byte_to_char(*byte).unwrap().to_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1508:35 [INFO] [stdout] | [INFO] [stdout] 1508 | Node::Constant{value, unit} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:1511:42 [INFO] [stdout] | [INFO] [stdout] 1511 | Node::Identifier{name: word, id} => unit = Some(word), [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:1525:46 [INFO] [stdout] | [INFO] [stdout] 1525 | Node::Token{token: Token::Comma, byte} => (), [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1526:25 [INFO] [stdout] | [INFO] [stdout] 1526 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1532:35 [INFO] [stdout] | [INFO] [stdout] 1532 | Node::Constant{value, unit} => quantities.push(value), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/compiler.rs:1549:47 [INFO] [stdout] | [INFO] [stdout] 1549 | Node::Token{token: Token::Period, byte} => (), [INFO] [stdout] | ^^^^ help: try ignoring the field: `byte: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1550:25 [INFO] [stdout] | [INFO] [stdout] 1550 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1639:25 [INFO] [stdout] | [INFO] [stdout] 1639 | Node::Token{token, byte} => text_node.push_str(&format!("{}",byte_to_char(byte).unwrap())), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1640:35 [INFO] [stdout] | [INFO] [stdout] 1640 | Node::Constant{value, unit} => text_node.push_str(&format!("{}", value.to_float())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1651:25 [INFO] [stdout] | [INFO] [stdout] 1651 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1666:25 [INFO] [stdout] | [INFO] [stdout] 1666 | Node::Token{token, byte} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/compiler.rs:1671:35 [INFO] [stdout] | [INFO] [stdout] 1671 | Node::Constant{value, unit} => word.push_str(&format!("{}", value.to_float())), [INFO] [stdout] | ^^^^ help: try ignoring the field: `unit: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/compiler.rs:1728:23 [INFO] [stdout] | [INFO] [stdout] 1728 | Node::Token{token, byte} => byte_to_char(*byte).unwrap().to_string(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/compiler.rs:1740:36 [INFO] [stdout] | [INFO] [stdout] 1740 | Node::Identifier{name, id} => function_name = name, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | let mut index = vec![identifier]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut block_consumed: HashSet = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:524:15 [INFO] [stdout] | [INFO] [stdout] 524 | let mut result = self.compile_constraint(&constraint_node); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut satisfied = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | let mut output: Vec = vec![TableId::Local(self.table)]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | for mut p in ¶meters { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1503:13 [INFO] [stdout] | [INFO] [stdout] 1503 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1564:13 [INFO] [stdout] | [INFO] [stdout] 1564 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1609:13 [INFO] [stdout] | [INFO] [stdout] 1609 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1625:13 [INFO] [stdout] | [INFO] [stdout] 1625 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1634:13 [INFO] [stdout] | [INFO] [stdout] 1634 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1648:13 [INFO] [stdout] | [INFO] [stdout] 1648 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1663:13 [INFO] [stdout] | [INFO] [stdout] 1663 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1693:38 [INFO] [stdout] | [INFO] [stdout] 1693 | Node::Function{name, mut children} => (name.clone(), children.clone()), [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1734:13 [INFO] [stdout] | [INFO] [stdout] 1734 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1747:13 [INFO] [stdout] | [INFO] [stdout] 1747 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1753:13 [INFO] [stdout] | [INFO] [stdout] 1753 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1762:13 [INFO] [stdout] | [INFO] [stdout] 1762 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_text` [INFO] [stdout] --> src/parser.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | fn single_text(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `until_operator` [INFO] [stdout] --> src/parser.rs:723:4 [INFO] [stdout] | [INFO] [stdout] 723 | fn until_operator(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `as_soon_as` [INFO] [stdout] --> src/parser.rs:728:4 [INFO] [stdout] | [INFO] [stdout] 728 | fn as_soon_as(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `section_title` [INFO] [stdout] --> src/parser.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | fn section_title(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | write!(f, "{:?}", self.parse_tree); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | write!(f, "Program: {}\n", self.title.clone().unwrap_or("".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | write!(f, " {:?}\n", section); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | write!(f, "Section: {}\n", self.title.clone().unwrap_or("".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | write!(f, " {:?}\n", element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | / match self { [INFO] [stdout] 241 | | Element::Paragraph(node) => write!(f, "Paragraph: {:?}", node), [INFO] [stdout] 242 | | Element::List(node) => write!(f, "List: {:?}", node), [INFO] [stdout] 243 | | Element::CodeBlock(node) => write!(f, "CodeBlock: {:?}", node), [INFO] [stdout] 244 | | Element::Block((block_id, node)) => write!(f, " Block({:#x})", block_id), [INFO] [stdout] 245 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | parser.parse_fragment(&input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | let mut block_consumed: HashSet = HashSet::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:524:15 [INFO] [stdout] | [INFO] [stdout] 524 | let mut result = self.compile_constraint(&constraint_node); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | let mut satisfied = false; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut i = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:966:13 [INFO] [stdout] | [INFO] [stdout] 966 | let mut output: Vec = vec![TableId::Local(self.table)]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | for mut p in ¶meters { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1503:13 [INFO] [stdout] | [INFO] [stdout] 1503 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1564:13 [INFO] [stdout] | [INFO] [stdout] 1564 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1609:13 [INFO] [stdout] | [INFO] [stdout] 1609 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1625:13 [INFO] [stdout] | [INFO] [stdout] 1625 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1634:13 [INFO] [stdout] | [INFO] [stdout] 1634 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1648:13 [INFO] [stdout] | [INFO] [stdout] 1648 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1663:13 [INFO] [stdout] | [INFO] [stdout] 1663 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1693:38 [INFO] [stdout] | [INFO] [stdout] 1693 | Node::Function{name, mut children} => (name.clone(), children.clone()), [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1734:13 [INFO] [stdout] | [INFO] [stdout] 1734 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1747:13 [INFO] [stdout] | [INFO] [stdout] 1747 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1753:13 [INFO] [stdout] | [INFO] [stdout] 1753 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:1762:13 [INFO] [stdout] | [INFO] [stdout] 1762 | let mut result = self.compile_nodes(children); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `Node` [INFO] [stdout] --> src/bin/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use mech_syntax::compiler::{Compiler, Node, Element}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::Block` [INFO] [stdout] --> src/bin/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Change`, `Transaction` [INFO] [stdout] --> src/bin/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use mech_core::{Change, Transaction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::make_quantity` [INFO] [stdout] --> src/bin/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mech_core::make_quantity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime` [INFO] [stdout] --> src/bin/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Element`, `Node` [INFO] [stdout] --> src/bin/main.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use mech_syntax::compiler::{Compiler, Node, Element}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::Block` [INFO] [stdout] --> src/bin/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Change`, `Transaction` [INFO] [stdout] --> src/bin/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use mech_core::{Change, Transaction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mech_core::make_quantity` [INFO] [stdout] --> src/bin/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use mech_core::make_quantity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `SystemTime` [INFO] [stdout] --> src/bin/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::{Duration, SystemTime}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/compiler.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `Parser` [INFO] [stdout] --> tests/compiler.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use mech_syntax::parser::{Parser, Node}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatter` [INFO] [stdout] --> src/bin/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | let mut formatter = Formatter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `formatter` [INFO] [stdout] --> src/bin/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | let mut formatter = Formatter::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_formatter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | let mut formatter = Formatter::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile_test` [INFO] [stdout] --> src/bin/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn compile_test(input: String, test: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | let mut formatter = Formatter::new(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compile_test` [INFO] [stdout] --> src/bin/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn compile_test(input: String, test: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `single_text` [INFO] [stdout] --> src/parser.rs:463:4 [INFO] [stdout] | [INFO] [stdout] 463 | fn single_text(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `until_operator` [INFO] [stdout] --> src/parser.rs:723:4 [INFO] [stdout] | [INFO] [stdout] 723 | fn until_operator(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `as_soon_as` [INFO] [stdout] --> src/parser.rs:728:4 [INFO] [stdout] | [INFO] [stdout] 728 | fn as_soon_as(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `section_title` [INFO] [stdout] --> src/parser.rs:1027:4 [INFO] [stdout] | [INFO] [stdout] 1027 | fn section_title(input: &str) -> IResult<&str, Node, VerboseError<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/parser.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | write!(f, "{:?}", self.parse_tree); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | write!(f, "Program: {}\n", self.title.clone().unwrap_or("".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:206:7 [INFO] [stdout] | [INFO] [stdout] 206 | write!(f, " {:?}\n", section); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | write!(f, "Section: {}\n", self.title.clone().unwrap_or("".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:223:7 [INFO] [stdout] | [INFO] [stdout] 223 | write!(f, " {:?}\n", element); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | / match self { [INFO] [stdout] 241 | | Element::Paragraph(node) => write!(f, "Paragraph: {:?}", node), [INFO] [stdout] 242 | | Element::List(node) => write!(f, "List: {:?}", node), [INFO] [stdout] 243 | | Element::CodeBlock(node) => write!(f, "CodeBlock: {:?}", node), [INFO] [stdout] 244 | | Element::Block((block_id, node)) => write!(f, " Block({:#x})", block_id), [INFO] [stdout] 245 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compiler.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | parser.parse_fragment(&input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.90s [INFO] running `Command { std: "docker" "inspect" "0bf42bfef1a0dfb70deee4c2a8ca53c8226fb830c5b158e48bb4544dbfc4c236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf42bfef1a0dfb70deee4c2a8ca53c8226fb830c5b158e48bb4544dbfc4c236", kill_on_drop: false }` [INFO] [stdout] 0bf42bfef1a0dfb70deee4c2a8ca53c8226fb830c5b158e48bb4544dbfc4c236