[INFO] fetching crate parse-js 0.24.1... [INFO] checking parse-js-0.24.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate parse-js 0.24.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate parse-js 0.24.1 [INFO] finished tweaking crates.io crate parse-js 0.24.1 [INFO] tweaked toml for crates.io crate parse-js 0.24.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate parse-js 0.24.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4bd58e2dbec91e106482dfc5ab3c5ec8c4e0d0e42580b93d9a493906667b533 [INFO] running `Command { std: "docker" "start" "-a" "e4bd58e2dbec91e106482dfc5ab3c5ec8c4e0d0e42580b93d9a493906667b533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4bd58e2dbec91e106482dfc5ab3c5ec8c4e0d0e42580b93d9a493906667b533", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bd58e2dbec91e106482dfc5ab3c5ec8c4e0d0e42580b93d9a493906667b533", kill_on_drop: false }` [INFO] [stdout] e4bd58e2dbec91e106482dfc5ab3c5ec8c4e0d0e42580b93d9a493906667b533 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2a32e4e09c1382d300902b388568a2acde6514381c74fd286f12ca3f5af37f [INFO] running `Command { std: "docker" "start" "-a" "7b2a32e4e09c1382d300902b388568a2acde6514381c74fd286f12ca3f5af37f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking parse-js v0.24.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/expr.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn parse_jsx_name(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/expr.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn parse_jsx_tag_name(&mut self, ctx: ParseCtx) -> SyntaxResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/literal.rs:140:56 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn parse_and_normalise_literal_string(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direct_key_name` [INFO] [stdout] --> src/parse/pattern.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let direct_key_name = match &key { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direct_key_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_import_or_export_name(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse_stmt_empty(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/expr.rs:248:36 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn parse_jsx_name(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/expr.rs:264:40 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn parse_jsx_tag_name(&mut self, ctx: ParseCtx) -> SyntaxResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:151:41 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn parse_stmt_debugger(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_syntax_down(&mut self, node: &Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctl` [INFO] [stdout] --> src/visit.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_syntax_down(&mut self, node: &Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_syntax_up(&mut self, node: &Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/literal.rs:140:56 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn parse_and_normalise_literal_string(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | fn on_syntax_down(&mut self, node: &mut Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direct_key_name` [INFO] [stdout] --> src/parse/pattern.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let direct_key_name = match &key { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direct_key_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctl` [INFO] [stdout] --> src/visit.rs:473:49 [INFO] [stdout] | [INFO] [stdout] 473 | fn on_syntax_down(&mut self, node: &mut Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:475:30 [INFO] [stdout] | [INFO] [stdout] 475 | fn on_syntax_up(&mut self, node: &mut Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_import_or_export_name(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse_stmt_empty(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parse/stmt.rs:151:41 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn parse_stmt_debugger(&mut self, ctx: ParseCtx) -> SyntaxResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `through_char` and `while_not_char` are never used [INFO] [stdout] --> src/lex/mod.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn through_char(&self, c: u8) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn while_not_char(&self, a: u8) -> Match { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/lex/tests/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn check(code: &str, expecteds: &[TokenType], expected_err: Option) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { mem::transmute::(self.0) }.hash(state); [INFO] [stdout] | --------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `MaybeToken` that must be used [INFO] [stdout] --> src/parse/class_or_object.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `MaybeToken` that must be used [INFO] [stdout] --> src/parse/stmt.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 582 | let _ = self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | for name in names { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 273 - for name in names { [INFO] [stdout] 273 + while let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 273 - for name in names { [INFO] [stdout] 273 + if let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | for name in names { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 730 - for name in names { [INFO] [stdout] 730 + while let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 730 - for name in names { [INFO] [stdout] 730 + if let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_syntax_down(&mut self, node: &Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctl` [INFO] [stdout] --> src/visit.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn on_syntax_down(&mut self, node: &Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn on_syntax_up(&mut self, node: &Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:473:32 [INFO] [stdout] | [INFO] [stdout] 473 | fn on_syntax_down(&mut self, node: &mut Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctl` [INFO] [stdout] --> src/visit.rs:473:49 [INFO] [stdout] | [INFO] [stdout] 473 | fn on_syntax_down(&mut self, node: &mut Node, ctl: &mut JourneyControls) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/visit.rs:475:30 [INFO] [stdout] | [INFO] [stdout] 475 | fn on_syntax_up(&mut self, node: &mut Node) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `through_char` and `while_not_char` are never used [INFO] [stdout] --> src/lex/mod.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | fn through_char(&self, c: u8) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | fn while_not_char(&self, a: u8) -> Match { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/num.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | unsafe { mem::transmute::(self.0) }.hash(state); [INFO] [stdout] | --------------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `MaybeToken` that must be used [INFO] [stdout] --> src/parse/class_or_object.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `MaybeToken` that must be used [INFO] [stdout] --> src/parse/stmt.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 582 | let _ = self.consume_if(TokenType::Semicolon)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | for name in names { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 273 - for name in names { [INFO] [stdout] 273 + while let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 273 - for name in names { [INFO] [stdout] 273 + if let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:730:21 [INFO] [stdout] | [INFO] [stdout] 730 | for name in names { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 730 - for name in names { [INFO] [stdout] 730 + while let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 730 - for name in names { [INFO] [stdout] 730 + if let Some(name) = names { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.41s [INFO] running `Command { std: "docker" "inspect" "7b2a32e4e09c1382d300902b388568a2acde6514381c74fd286f12ca3f5af37f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2a32e4e09c1382d300902b388568a2acde6514381c74fd286f12ca3f5af37f", kill_on_drop: false }` [INFO] [stdout] 7b2a32e4e09c1382d300902b388568a2acde6514381c74fd286f12ca3f5af37f