[INFO] cloning repository https://github.com/Scoutboy06/AST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Scoutboy06/AST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoutboy06%2FAST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoutboy06%2FAST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04fa7ad3cdd679cfa282385b3c66b8fb4f6ae67e [INFO] checking Scoutboy06/AST against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoutboy06%2FAST" "/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/Scoutboy06/AST [INFO] finished tweaking git repo https://github.com/Scoutboy06/AST [INFO] tweaked toml for git repo https://github.com/Scoutboy06/AST written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Scoutboy06/AST on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Scoutboy06/AST 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5-tc2/source/parser/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950 [INFO] running `Command { std: "docker" "start" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/parser/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling wasm-encoder v0.239.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking leb128fmt v0.1.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking console v0.16.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking insta v1.47.2 [INFO] [stderr] Checking parser_derive v0.1.0 (/opt/rustwide/workdir/parser_derive) [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking lexer v0.1.0 (/opt/rustwide/workdir/lexer) [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> parser/src/parser.rs:3:81 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast_types::declarations::function_declaration::{FunctionDeclaration, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignmentOperator` and `LogicalOperator` [INFO] [stdout] --> parser/src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | AssignmentOperator, BinaryOperator, LogicalOperator, Operator, TokenKindExt, UnaryOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::throw_error` [INFO] [stdout] --> parser/src/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::utils::throw_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parameter` [INFO] [stdout] --> parser/src/parser.rs:3:81 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ast_types::declarations::function_declaration::{FunctionDeclaration, Parameter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssignmentOperator` and `LogicalOperator` [INFO] [stdout] --> parser/src/parser.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | AssignmentOperator, BinaryOperator, LogicalOperator, Operator, TokenKindExt, UnaryOperator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::throw_error` [INFO] [stdout] --> parser/src/parser.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::utils::throw_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> parser/src/parser.rs:409:21 [INFO] [stdout] | [INFO] [stdout] 409 | let start_pos = self.current_token.start; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_pos` [INFO] [stdout] --> parser/src/parser.rs:409:21 [INFO] [stdout] | [INFO] [stdout] 409 | let start_pos = self.current_token.start; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> parser/src/parser.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | left: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> parser/src/parser.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | precedence: u8, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> parser/src/parser.rs:1224:9 [INFO] [stdout] | [INFO] [stdout] 1224 | left: Option, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precedence` [INFO] [stdout] --> parser/src/parser.rs:1225:9 [INFO] [stdout] | [INFO] [stdout] 1225 | precedence: u8, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precedence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TemplateElementValue` is more private than the item `TemplateElement::value` [INFO] [stdout] --> parser/src/ast_types/template_element.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub value: TemplateElementValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `TemplateElement::value` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TemplateElementValue` is only usable at visibility `pub(self)` [INFO] [stdout] --> parser/src/ast_types/template_element.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct TemplateElementValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TemplateElementValue` is more private than the item `TemplateElement::value` [INFO] [stdout] --> parser/src/ast_types/template_element.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub value: TemplateElementValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `TemplateElement::value` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TemplateElementValue` is only usable at visibility `pub(self)` [INFO] [stdout] --> parser/src/ast_types/template_element.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct TemplateElementValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> parser/src/parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> parser/src/parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_program_body_item`, `parse_import_or_export_declaration`, `parse_method_definition`, `parse_assignment_expression`, and `parse_binary_expression` are never used [INFO] [stdout] --> parser/src/parser.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn parse_program_body_item(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn parse_import_or_export_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 693 | fn parse_method_definition(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | fn parse_assignment_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1222 | fn parse_binary_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_program_body_item`, `parse_import_or_export_declaration`, `parse_method_definition`, `parse_assignment_expression`, and `parse_binary_expression` are never used [INFO] [stdout] --> parser/src/parser.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | fn parse_program_body_item(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn parse_import_or_export_declaration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 693 | fn parse_method_definition(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1008 | fn parse_assignment_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1222 | fn parse_binary_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 151 - Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] 151 + Keyword::For => Ok(self.parse_for_statement()?), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 151 - Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] 151 + Keyword::For => Ok(>::into(self.parse_for_statement()?)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:856:24 [INFO] [stdout] | [INFO] [stdout] 856 | Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 856 - Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] 856 + Ok(self.parse_for_in_or_of(start_pos, head, false)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 856 - Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] 856 + Ok(>::into(self.parse_for_in_or_of(start_pos, head, false)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:860:24 [INFO] [stdout] | [INFO] [stdout] 860 | Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 860 - Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] 860 + Ok(self.parse_for_in_or_of(start_pos, head, true)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 860 - Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] 860 + Ok(>::into(self.parse_for_in_or_of(start_pos, head, true)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:151:36 [INFO] [stdout] | [INFO] [stdout] 151 | Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 151 - Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] 151 + Keyword::For => Ok(self.parse_for_statement()?), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 151 - Keyword::For => Ok(self.parse_for_statement()?.into()), [INFO] [stdout] 151 + Keyword::For => Ok(>::into(self.parse_for_statement()?)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:856:24 [INFO] [stdout] | [INFO] [stdout] 856 | Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 856 - Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] 856 + Ok(self.parse_for_in_or_of(start_pos, head, false)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 856 - Ok(self.parse_for_in_or_of(start_pos, head, false)?.into()) [INFO] [stdout] 856 + Ok(>::into(self.parse_for_in_or_of(start_pos, head, false)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `statement::Statement` [INFO] [stdout] --> parser/src/parser.rs:860:24 [INFO] [stdout] | [INFO] [stdout] 860 | Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 860 - Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] 860 + Ok(self.parse_for_in_or_of(start_pos, head, true)?) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 860 - Ok(self.parse_for_in_or_of(start_pos, head, true)?.into()) [INFO] [stdout] 860 + Ok(>::into(self.parse_for_in_or_of(start_pos, head, true)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `parser` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950", kill_on_drop: false }` [INFO] [stdout] 2fcf3dd3deee0ed89666e7ab3e5b359c0937f4d3b769d9e0da4a6783689ad950