[INFO] cloning repository https://github.com/stenbror/python_core_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stenbror/python_core_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstenbror%2Fpython_core_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstenbror%2Fpython_core_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d73e82979c3503c953d90bdf74943caa6c20deb4 [INFO] checking stenbror/python_core_rust against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstenbror%2Fpython_core_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stenbror/python_core_rust [INFO] finished tweaking git repo https://github.com/stenbror/python_core_rust [INFO] tweaked toml for git repo https://github.com/stenbror/python_core_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stenbror/python_core_rust on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stenbror/python_core_rust 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 191a3fc0b84564ee20c5894513dbc08091429ee938cff724d04c5e45b9672a1f [INFO] running `Command { std: "docker" "start" "-a" "191a3fc0b84564ee20c5894513dbc08091429ee938cff724d04c5e45b9672a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "191a3fc0b84564ee20c5894513dbc08091429ee938cff724d04c5e45b9672a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "191a3fc0b84564ee20c5894513dbc08091429ee938cff724d04c5e45b9672a1f", kill_on_drop: false }` [INFO] [stdout] 191a3fc0b84564ee20c5894513dbc08091429ee938cff724d04c5e45b9672a1f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58353bcc5f33f4b70739d85ad8c8a184fe1ed241906b074c8c3ac6b439fa8ca1 [INFO] running `Command { std: "docker" "start" "-a" "58353bcc5f33f4b70739d85ad8c8a184fe1ed241906b074c8c3ac6b439fa8ca1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking python_runtime_engine v0.1.0 (/opt/rustwide/workdir/python_runtime_engine) [INFO] [stdout] warning: unused import: `crate::parser::expressions::ExpressionMethods` [INFO] [stdout] --> python_runtime_engine/src/parser/statements.rs:618:9 [INFO] [stdout] | [INFO] [stdout] 618 | use crate::parser::expressions::ExpressionMethods; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_double_quote` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let mut is_double_quote = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | let mut start = buffer.index(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_at_beginning_of_line` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:747:66 [INFO] [stdout] | [INFO] [stdout] 747 | ... Vec, is_at_beginning_of_line: bool, is_blank_line: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_at_beginning_of_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_pos` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:757:35 [INFO] [stdout] | [INFO] [stdout] 757 | let mut end_pos = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | _ => break [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1023 | Ok(x) => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1040 | Err(x) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1043 | _ => break [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:989:25 [INFO] [stdout] | [INFO] [stdout] 989 | let mut el : u32 = el_last.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `at_beginning_of_line` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1030:25 [INFO] [stdout] | [INFO] [stdout] 1030 | at_beginning_of_line = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_and_file` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn from_file(&mut self, path_and_file: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_and_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol1` [INFO] [stdout] --> python_runtime_engine/src/parser/expressions.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let symbol1 = self.get_symbol(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ParserMethods` is never used [INFO] [stdout] --> python_runtime_engine/src/parser/parser.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait ParserMethods { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> python_runtime_engine/src/parser/parser.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseNode` is never used [INFO] [stdout] --> python_runtime_engine/src/parser/abstract_syntax_tree_nodes.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExpressionMethods` is never used [INFO] [stdout] --> python_runtime_engine/src/parser/expressions.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ExpressionMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SyntaxErrorMethods` is never used [INFO] [stdout] --> python_runtime_engine/src/parser/syntax_error.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait SyntaxErrorMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyntaxError` is never constructed [INFO] [stdout] --> python_runtime_engine/src/parser/syntax_error.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SyntaxError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StatementMethods` is never used [INFO] [stdout] --> python_runtime_engine/src/parser/statements.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait StatementMethods { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking python_core v0.1.0 (/opt/rustwide/workdir/python_core) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> python_core/src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> python_core/src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Some(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `is_double_quote` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | let mut is_double_quote = false; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | let mut start = buffer.index(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_at_beginning_of_line` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:747:66 [INFO] [stdout] | [INFO] [stdout] 747 | ... Vec, is_at_beginning_of_line: bool, is_blank_line: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_at_beginning_of_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_pos` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:757:35 [INFO] [stdout] | [INFO] [stdout] 757 | let mut end_pos = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1043 | _ => break [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1043:13 [INFO] [stdout] | [INFO] [stdout] 1023 | Ok(x) => { [INFO] [stdout] | ----- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1040 | Err(x) => { [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1043 | _ => break [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:989:25 [INFO] [stdout] | [INFO] [stdout] 989 | let mut el : u32 = el_last.clone(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `at_beginning_of_line` is never read [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1030:25 [INFO] [stdout] | [INFO] [stdout] 1030 | at_beginning_of_line = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:1940:13 [INFO] [stdout] | [INFO] [stdout] 1940 | let mut at_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:2257:13 [INFO] [stdout] | [INFO] [stdout] 2257 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:2469:13 [INFO] [stdout] | [INFO] [stdout] 2469 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:2879:13 [INFO] [stdout] | [INFO] [stdout] 2879 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3301:13 [INFO] [stdout] | [INFO] [stdout] 3301 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3326:13 [INFO] [stdout] | [INFO] [stdout] 3326 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3351:13 [INFO] [stdout] | [INFO] [stdout] 3351 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3376:13 [INFO] [stdout] | [INFO] [stdout] 3376 | let mut is_beginning_of_line = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3390:16 [INFO] [stdout] | [INFO] [stdout] 3390 | Ok(y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3401:13 [INFO] [stdout] | [INFO] [stdout] 3401 | let mut is_beginning_of_line = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3415:16 [INFO] [stdout] | [INFO] [stdout] 3415 | Ok(y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3426:13 [INFO] [stdout] | [INFO] [stdout] 3426 | let mut is_beginning_of_line = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3464:16 [INFO] [stdout] | [INFO] [stdout] 3464 | Ok(y) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3475:13 [INFO] [stdout] | [INFO] [stdout] 3475 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3516:13 [INFO] [stdout] | [INFO] [stdout] 3516 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3533:13 [INFO] [stdout] | [INFO] [stdout] 3533 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3550:13 [INFO] [stdout] | [INFO] [stdout] 3550 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3567:13 [INFO] [stdout] | [INFO] [stdout] 3567 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3584:13 [INFO] [stdout] | [INFO] [stdout] 3584 | let mut is_beginning_of_line = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3590:16 [INFO] [stdout] | [INFO] [stdout] 3590 | Ok(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3603:13 [INFO] [stdout] | [INFO] [stdout] 3603 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3622:13 [INFO] [stdout] | [INFO] [stdout] 3622 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3641:13 [INFO] [stdout] | [INFO] [stdout] 3641 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3660:13 [INFO] [stdout] | [INFO] [stdout] 3660 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3679:13 [INFO] [stdout] | [INFO] [stdout] 3679 | let mut is_beginning_of_line = 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] --> python_runtime_engine/src/parser/lexical_analyzer.rs:3698:13 [INFO] [stdout] | [INFO] [stdout] 3698 | let mut is_beginning_of_line = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_and_file` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn from_file(&mut self, path_and_file: &'static str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_and_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | for n in 1 .. 9 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | for n in 1 .. 11 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | for n in 1 .. 23 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | for n in 1 .. 4 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> python_runtime_engine/src/parser/source_buffer.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | for n in 1 .. 5 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol1` [INFO] [stdout] --> python_runtime_engine/src/parser/expressions.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let symbol1 = self.get_symbol(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> python_runtime_engine/src/parser/statements.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:742:13 [INFO] [stdout] | [INFO] [stdout] 742 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | let mut separators = Vec::>::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] --> python_runtime_engine/src/parser/statements.rs:823:13 [INFO] [stdout] | [INFO] [stdout] 823 | let mut separators = Vec::>::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_eval_input` and `parse_file_input` are never used [INFO] [stdout] --> python_runtime_engine/src/parser/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait ParserMethods { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn parse_eval_input(&mut self) -> Result, SyntaxError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn parse_file_input(&mut self) -> Result, SyntaxError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PyEvalInput` and `PyFileInput` are never constructed [INFO] [stdout] --> python_runtime_engine/src/parser/abstract_syntax_tree_nodes.rs:106:2 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ParseNode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | PyEvalInput(u32, u32, Box, Box>>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 107 | PyFileInput(u32, u32, Box>>, Box>>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_import_as_name_stmt` and `parse_import_as_names_stmt` are never used [INFO] [stdout] --> python_runtime_engine/src/parser/statements.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait StatementMethods { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn parse_import_as_name_stmt(&mut self) -> Result, SyntaxError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | fn parse_dotted_name_as_stmt(&mut self) -> Result, SyntaxError>; [INFO] [stdout] 26 | fn parse_import_as_names_stmt(&mut self) -> Result, SyntaxError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "58353bcc5f33f4b70739d85ad8c8a184fe1ed241906b074c8c3ac6b439fa8ca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58353bcc5f33f4b70739d85ad8c8a184fe1ed241906b074c8c3ac6b439fa8ca1", kill_on_drop: false }` [INFO] [stdout] 58353bcc5f33f4b70739d85ad8c8a184fe1ed241906b074c8c3ac6b439fa8ca1