[INFO] cloning repository https://github.com/torq-lang/torqc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torq-lang/torqc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorq-lang%2Ftorqc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorq-lang%2Ftorqc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c816a34a1e047f4b0f743f9a3f1e9b4ce645c8b2 [INFO] checking torq-lang/torqc against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorq-lang%2Ftorqc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/torq-lang/torqc [INFO] finished tweaking git repo https://github.com/torq-lang/torqc [INFO] tweaked toml for git repo https://github.com/torq-lang/torqc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/torq-lang/torqc on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/torq-lang/torqc 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/gccjit/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692ec008118c005b6cfa66dad6e9557e7927fbb2a927d981a34c21be025a984d [INFO] running `Command { std: "docker" "start" "-a" "692ec008118c005b6cfa66dad6e9557e7927fbb2a927d981a34c21be025a984d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692ec008118c005b6cfa66dad6e9557e7927fbb2a927d981a34c21be025a984d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692ec008118c005b6cfa66dad6e9557e7927fbb2a927d981a34c21be025a984d", kill_on_drop: false }` [INFO] [stdout] 692ec008118c005b6cfa66dad6e9557e7927fbb2a927d981a34c21be025a984d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 761f43ed7f4b8762af547201bc6e2eb565a70d3e5104316332b22b6a1e721d7a [INFO] running `Command { std: "docker" "start" "-a" "761f43ed7f4b8762af547201bc6e2eb565a70d3e5104316332b22b6a1e721d7a", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/gccjit/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling tokio v1.7.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking gccjit_sys v0.0.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking gccjit v1.0.0 (/opt/rustwide/workdir/gccjit) [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> gccjit/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #![allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> gccjit/src/types.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_type<'a, 'ctx>(&'a Context<'ctx>) -> Type<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Context<'ctx>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> gccjit/src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #![allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> gccjit/src/types.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_type<'a, 'ctx>(&'a Context<'ctx>) -> Type<'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'a Context<'ctx>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking codegen v0.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking no-comment v0.0.3 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> lexer/src/errors.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ParserDescriptor, Token, Type}; [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: `errors::ParseError` [INFO] [stdout] --> lexer/src/ops.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{errors::ParseError, Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | let t = tokens.get_string(|s| (s != &'`')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - let t = tokens.get_string(|s| (s != &'`')); [INFO] [stdout] 145 + let t = tokens.get_string(|s| s != &'`' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | let t = tokens.get_string(|s| (s != &'"')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - let t = tokens.get_string(|s| (s != &'"')); [INFO] [stdout] 154 + let t = tokens.get_string(|s| s != &'"' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | let t = tokens.get_string(|s| (s != &'\'')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - let t = tokens.get_string(|s| (s != &'\'')); [INFO] [stdout] 163 + let t = tokens.get_string(|s| s != &'\'' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> lexer/src/errors.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ParserDescriptor, Token, Type}; [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: `errors::ParseError` [INFO] [stdout] --> lexer/src/ops.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{errors::ParseError, Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | let t = tokens.get_string(|s| (s != &'`')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - let t = tokens.get_string(|s| (s != &'`')); [INFO] [stdout] 145 + let t = tokens.get_string(|s| s != &'`' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:154:47 [INFO] [stdout] | [INFO] [stdout] 154 | let t = tokens.get_string(|s| (s != &'"')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 154 - let t = tokens.get_string(|s| (s != &'"')); [INFO] [stdout] 154 + let t = tokens.get_string(|s| s != &'"' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> lexer/src/tokenizer.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | let t = tokens.get_string(|s| (s != &'\'')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - let t = tokens.get_string(|s| (s != &'\'')); [INFO] [stdout] 163 + let t = tokens.get_string(|s| s != &'\'' ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:286:26 [INFO] [stdout] | [INFO] [stdout] 286 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:306:26 [INFO] [stdout] | [INFO] [stdout] 306 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lexer/src/parser.rs:331:56 [INFO] [stdout] | [INFO] [stdout] 331 | TokenType{token: Token::OpenParen,linenum: l, val: _} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:440:30 [INFO] [stdout] | [INFO] [stdout] 440 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:460:30 [INFO] [stdout] | [INFO] [stdout] 460 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:484:30 [INFO] [stdout] | [INFO] [stdout] 484 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:496:30 [INFO] [stdout] | [INFO] [stdout] 496 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:508:30 [INFO] [stdout] | [INFO] [stdout] 508 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:515:30 [INFO] [stdout] | [INFO] [stdout] 515 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:520:30 [INFO] [stdout] | [INFO] [stdout] 520 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:527:30 [INFO] [stdout] | [INFO] [stdout] 527 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:539:30 [INFO] [stdout] | [INFO] [stdout] 539 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:551:30 [INFO] [stdout] | [INFO] [stdout] 551 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:556:30 [INFO] [stdout] | [INFO] [stdout] 556 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:563:30 [INFO] [stdout] | [INFO] [stdout] 563 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:568:30 [INFO] [stdout] | [INFO] [stdout] 568 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:657:30 [INFO] [stdout] | [INFO] [stdout] 657 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:665:30 [INFO] [stdout] | [INFO] [stdout] 665 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:673:30 [INFO] [stdout] | [INFO] [stdout] 673 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:681:30 [INFO] [stdout] | [INFO] [stdout] 681 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:689:30 [INFO] [stdout] | [INFO] [stdout] 689 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:697:30 [INFO] [stdout] | [INFO] [stdout] 697 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:705:30 [INFO] [stdout] | [INFO] [stdout] 705 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:713:30 [INFO] [stdout] | [INFO] [stdout] 713 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:721:30 [INFO] [stdout] | [INFO] [stdout] 721 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:729:30 [INFO] [stdout] | [INFO] [stdout] 729 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:741:30 [INFO] [stdout] | [INFO] [stdout] 741 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:794:30 [INFO] [stdout] | [INFO] [stdout] 794 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:801:30 [INFO] [stdout] | [INFO] [stdout] 801 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> lexer/src/tokenizer.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | let next = tokens.peek().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lexer/src/parser.rs:660:38 [INFO] [stdout] | [INFO] [stdout] 660 | ) => Ok(Expression::Char(c.chars().as_str().parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexer/src/types.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(source: &str) -> TokenParser { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(source: &str) -> TokenParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` (lib) due to 1 previous error; 53 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:281:26 [INFO] [stdout] | [INFO] [stdout] 281 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:286:26 [INFO] [stdout] | [INFO] [stdout] 286 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:291:26 [INFO] [stdout] | [INFO] [stdout] 291 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:296:26 [INFO] [stdout] | [INFO] [stdout] 296 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:301:26 [INFO] [stdout] | [INFO] [stdout] 301 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:306:26 [INFO] [stdout] | [INFO] [stdout] 306 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lexer/src/parser.rs:331:56 [INFO] [stdout] | [INFO] [stdout] 331 | TokenType{token: Token::OpenParen,linenum: l, val: _} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:440:30 [INFO] [stdout] | [INFO] [stdout] 440 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:445:30 [INFO] [stdout] | [INFO] [stdout] 445 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:460:30 [INFO] [stdout] | [INFO] [stdout] 460 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:467:30 [INFO] [stdout] | [INFO] [stdout] 467 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:484:30 [INFO] [stdout] | [INFO] [stdout] 484 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:491:30 [INFO] [stdout] | [INFO] [stdout] 491 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:496:30 [INFO] [stdout] | [INFO] [stdout] 496 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:503:30 [INFO] [stdout] | [INFO] [stdout] 503 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:508:30 [INFO] [stdout] | [INFO] [stdout] 508 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:515:30 [INFO] [stdout] | [INFO] [stdout] 515 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:520:30 [INFO] [stdout] | [INFO] [stdout] 520 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:527:30 [INFO] [stdout] | [INFO] [stdout] 527 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:532:30 [INFO] [stdout] | [INFO] [stdout] 532 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:539:30 [INFO] [stdout] | [INFO] [stdout] 539 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:544:30 [INFO] [stdout] | [INFO] [stdout] 544 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:551:30 [INFO] [stdout] | [INFO] [stdout] 551 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:556:30 [INFO] [stdout] | [INFO] [stdout] 556 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:563:30 [INFO] [stdout] | [INFO] [stdout] 563 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line1` [INFO] [stdout] --> lexer/src/parser.rs:568:30 [INFO] [stdout] | [INFO] [stdout] 568 | linenum: line1, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_line1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:657:30 [INFO] [stdout] | [INFO] [stdout] 657 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:665:30 [INFO] [stdout] | [INFO] [stdout] 665 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:673:30 [INFO] [stdout] | [INFO] [stdout] 673 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:681:30 [INFO] [stdout] | [INFO] [stdout] 681 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:689:30 [INFO] [stdout] | [INFO] [stdout] 689 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:697:30 [INFO] [stdout] | [INFO] [stdout] 697 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:705:30 [INFO] [stdout] | [INFO] [stdout] 705 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:713:30 [INFO] [stdout] | [INFO] [stdout] 713 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:721:30 [INFO] [stdout] | [INFO] [stdout] 721 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:729:30 [INFO] [stdout] | [INFO] [stdout] 729 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:741:30 [INFO] [stdout] | [INFO] [stdout] 741 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:794:30 [INFO] [stdout] | [INFO] [stdout] 794 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> lexer/src/parser.rs:801:30 [INFO] [stdout] | [INFO] [stdout] 801 | linenum: line, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> lexer/src/tokenizer.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | let next = tokens.peek().unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> lexer/src/parser.rs:660:38 [INFO] [stdout] | [INFO] [stdout] 660 | ) => Ok(Expression::Char(c.chars().as_str().parse().unwrap())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> lexer/src/types.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(source: &str) -> TokenParser { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(source: &str) -> TokenParser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lexer` (lib test) due to 1 previous error; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "761f43ed7f4b8762af547201bc6e2eb565a70d3e5104316332b22b6a1e721d7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761f43ed7f4b8762af547201bc6e2eb565a70d3e5104316332b22b6a1e721d7a", kill_on_drop: false }` [INFO] [stdout] 761f43ed7f4b8762af547201bc6e2eb565a70d3e5104316332b22b6a1e721d7a