[INFO] cloning repository https://github.com/devdave/rython4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devdave/rython4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2464483dac9a3090f9b1046262c05ccdac85e68d [INFO] checking devdave/rython4/2464483dac9a3090f9b1046262c05ccdac85e68d against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevdave%2Frython4" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devdave/rython4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devdave/rython4 [INFO] finished tweaking git repo https://github.com/devdave/rython4 [INFO] tweaked toml for git repo https://github.com/devdave/rython4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devdave/rython4 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71f39885d49c623435d2bf5915a50b24a3bdfa1382907c469b3750a5901da54f [INFO] running `Command { std: "docker" "start" "-a" "71f39885d49c623435d2bf5915a50b24a3bdfa1382907c469b3750a5901da54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71f39885d49c623435d2bf5915a50b24a3bdfa1382907c469b3750a5901da54f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f39885d49c623435d2bf5915a50b24a3bdfa1382907c469b3750a5901da54f", kill_on_drop: false }` [INFO] [stdout] 71f39885d49c623435d2bf5915a50b24a3bdfa1382907c469b3750a5901da54f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c61be496898aedc112c1f36c252563d0980a96717570ddd26408637dbec8f44b [INFO] running `Command { std: "docker" "start" "-a" "c61be496898aedc112c1f36c252563d0980a96717570ddd26408637dbec8f44b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling peg-runtime v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.48 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling peg-macros v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking peg v0.7.0 (https://github.com/kevinmehall/rust-peg?rev=4b146b4b78a80c07e43d7ace2d97f65bfde279a8#4b146b4b) [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling ntest_test_cases v0.8.0 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling ntest_timeout v0.8.1 [INFO] [stderr] Checking ntest v0.8.1 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking rython4 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/lexer/tokenizer.rs (4 fixes) [INFO] [stderr] Fixed src/ast/mod.rs (2 fixes) [INFO] [stderr] Fixed src/parser/tests.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/compiler/symbolizer.rs (9 fixes) [INFO] [stderr] Fixed src/walker/mod.rs (5 fixes) [INFO] [stderr] Fixed src/lexer/code_line.rs (1 fix) [INFO] [stderr] Fixed src/parser/grammar.rs (8 fixes) [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/expression.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `escaped` is never read [INFO] [stdout] --> src/lexer/tokenizer.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | escaped = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:2086:18 [INFO] [stdout] | [INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ast/expression.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orelse` [INFO] [stdout] --> src/walker/mod.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | If { test, body, orelse, is_elif } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/walker/mod.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | for handler in try_expr.handlers { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/walker/mod.rs:234:42 [INFO] [stdout] | [INFO] [stdout] 234 | MatchSequence::MatchList(list) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tpl` [INFO] [stdout] --> src/walker/mod.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | MatchSequence::MatchTuple(tpl) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap` [INFO] [stdout] --> src/walker/mod.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | MatchPattern::Mapping(mmap) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/walker/mod.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | MatchPattern::Class(cls) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_case` [INFO] [stdout] --> src/walker/mod.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | MatchPattern::As(as_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `or_case` [INFO] [stdout] --> src/walker/mod.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | MatchPattern::Or(or_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dots` [INFO] [stdout] --> src/walker/mod.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | for dots in import.relative { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/walker/mod.rs:956:37 [INFO] [stdout] | [INFO] [stdout] 956 | Expression::FormattedString(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named` [INFO] [stdout] --> src/walker/mod.rs:960:31 [INFO] [stdout] | [INFO] [stdout] 960 | Expression::NamedExpr(named) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/walker/mod.rs:980:30 [INFO] [stdout] | [INFO] [stdout] 980 | AstString::Formatted(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscript` [INFO] [stdout] --> src/walker/mod.rs:1009:20 [INFO] [stdout] | [INFO] [stdout] 1009 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/walker/mod.rs:1009:42 [INFO] [stdout] | [INFO] [stdout] 1009 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/walker/mod.rs:1028:9 [INFO] [stdout] | [INFO] [stdout] 1028 | let prefix = INDENT.repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/walker/mod.rs:1030:22 [INFO] [stdout] | [INFO] [stdout] 1030 | for ImportAlias{ name, asname } in import.names { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asname` [INFO] [stdout] --> src/walker/mod.rs:1030:28 [INFO] [stdout] | [INFO] [stdout] 1030 | for ImportAlias{ name, asname } in import.names { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/compiler/symbolizer.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | for handler in try_expr.handlers { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/compiler/symbolizer.rs:285:42 [INFO] [stdout] | [INFO] [stdout] 285 | MatchSequence::MatchList(list) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tpl` [INFO] [stdout] --> src/compiler/symbolizer.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | MatchSequence::MatchTuple(tpl) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap` [INFO] [stdout] --> src/compiler/symbolizer.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | MatchPattern::Mapping(mmap) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/compiler/symbolizer.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | MatchPattern::Class(cls) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_case` [INFO] [stdout] --> src/compiler/symbolizer.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | MatchPattern::As(as_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `or_case` [INFO] [stdout] --> src/compiler/symbolizer.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | MatchPattern::Or(or_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dots` [INFO] [stdout] --> src/compiler/symbolizer.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | for dots in import.relative { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/compiler/symbolizer.rs:1009:37 [INFO] [stdout] | [INFO] [stdout] 1009 | Expression::FormattedString(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named` [INFO] [stdout] --> src/compiler/symbolizer.rs:1013:31 [INFO] [stdout] | [INFO] [stdout] 1013 | Expression::NamedExpr(named) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/compiler/symbolizer.rs:1033:30 [INFO] [stdout] | [INFO] [stdout] 1033 | AstString::Formatted(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscript` [INFO] [stdout] --> src/compiler/symbolizer.rs:1062:20 [INFO] [stdout] | [INFO] [stdout] 1062 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/compiler/symbolizer.rs:1062:42 [INFO] [stdout] | [INFO] [stdout] 1062 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/compiler/symbolizer.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | let prefix = INDENT.repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/symbolizer.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | for name in import.names {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/lexer/tokenizer.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl TConfig { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 39 | [INFO] [stdout] 40 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `tokenize_file`, `process_file`, and `process_single_line` are never used [INFO] [stdout] --> src/lexer/tokenizer.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Tokenizer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn tokenize_file

(filename: P, config: TConfig) -> Result, TokError> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn process_file

(&mut self, filename: P) -> Result, TokError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn process_single_line(&mut self, raw_line: String) -> Result, TokError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attempt_parse_file` is never used [INFO] [stdout] --> src/parser/tests.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn attempt_parse_file

(filename:P) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `encoding` is never read [INFO] [stdout] --> src/ast/module.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Module { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub encoding: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WithLeadingLines` is never used [INFO] [stdout] --> src/ast/traits.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait WithLeadingLines { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_slice` is never used [INFO] [stdout] --> src/walker/mod.rs:615:4 [INFO] [stdout] | [INFO] [stdout] 615 | fn parse_slice(slice: Slice, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> src/walker/mod.rs:656:4 [INFO] [stdout] | [INFO] [stdout] 656 | fn parse_return(return_st: Return, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const INDENT: &str = " "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_module(start: Module) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_attribute` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn parse_attribute(attr: Attribute, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement_enum` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn parse_statement_enum(stm: Statement, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `visit_if_expr` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn visit_if_expr(If{ test, body, orelse, is_elif}: If, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_compound_statement` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn parse_compound_statement(stm_compound: CompoundStatement, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_def` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:225:4 [INFO] [stdout] | [INFO] [stdout] 225 | fn parse_def(fdef: FunctionDef, depth: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_match` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:252:4 [INFO] [stdout] | [INFO] [stdout] 252 | fn parse_match(match_statement: Match, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_match_case` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:266:4 [INFO] [stdout] | [INFO] [stdout] 266 | fn parse_match_case(mcase: &MatchCase, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_match_case_pattern` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn parse_match_case_pattern(mpattern: &MatchPattern, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_with_expr` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn parse_with_expr(with_expr: With, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_parameters` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn parse_parameters(params: Parameters, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_args` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn parse_args(args: Vec, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_suite` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:422:4 [INFO] [stdout] | [INFO] [stdout] 422 | fn parse_suite(body: Suite, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_smallstatement_enum` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:439:4 [INFO] [stdout] | [INFO] [stdout] 439 | fn parse_smallstatement_enum(small: SmallStatement, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_element` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:575:4 [INFO] [stdout] | [INFO] [stdout] 575 | fn parse_element(element: Element, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_augassign` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:588:4 [INFO] [stdout] | [INFO] [stdout] 588 | fn parse_augassign(augassign: AugAssign, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_assign_target_expression` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:635:4 [INFO] [stdout] | [INFO] [stdout] 635 | fn parse_assign_target_expression(target: AssignTargetExpression, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_slice` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:668:4 [INFO] [stdout] | [INFO] [stdout] 668 | fn parse_slice(slice: Slice, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_importfrom` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:685:4 [INFO] [stdout] | [INFO] [stdout] 685 | fn parse_importfrom(import: ImportFrom, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_return` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:709:4 [INFO] [stdout] | [INFO] [stdout] 709 | fn parse_return(return_st: Return, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:717:4 [INFO] [stdout] | [INFO] [stdout] 717 | fn parse_expression(expr: Expression, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ast_String` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:1019:4 [INFO] [stdout] | [INFO] [stdout] 1019 | fn parse_ast_String(ast_string: AstString, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_for_in` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:1042:4 [INFO] [stdout] | [INFO] [stdout] 1042 | fn parse_for_in(for_in: CompFor, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_subscript` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:1062:4 [INFO] [stdout] | [INFO] [stdout] 1062 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_assert` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:1066:4 [INFO] [stdout] | [INFO] [stdout] 1066 | fn parse_assert(stm: Assert, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_import` is never used [INFO] [stdout] --> src/compiler/symbolizer.rs:1080:4 [INFO] [stdout] | [INFO] [stdout] 1080 | fn parse_import(import: Import, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ast_String` should have a snake case name [INFO] [stdout] --> src/walker/mod.rs:966:4 [INFO] [stdout] | [INFO] [stdout] 966 | fn parse_ast_String(ast_string: AstString, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ast_String` should have a snake case name [INFO] [stdout] --> src/compiler/symbolizer.rs:1019:4 [INFO] [stdout] | [INFO] [stdout] 1019 | fn parse_ast_String(ast_string: AstString, depth: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `parse_ast_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/parser/tests.rs:29:43 [INFO] [stdout] | [INFO] [stdout] 29 | let rctokens = tokens.into_iter().map(Rc::new).collect(); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/parser/tests.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | let rctokens = tokens.into_iter().map(Rc::new).collect(); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rc` [INFO] [stdout] --> src/parser/tests.rs:68:43 [INFO] [stdout] | [INFO] [stdout] 68 | let rctokens = tokens.into_iter().map(Rc::new).collect(); [INFO] [stdout] | ^^ use of undeclared type `Rc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use std::rc::Rc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/parser/tests.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | let paths = fs::read_dir("test_fixtures/").expect("paths"); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer/tests.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr_2021, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer/tests.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr_2021, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer/tests.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr_2021, $end:expr, $content:expr)=>{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer/tests.rs:11:50 [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr_2021, $content:expr)=>{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lexer/tests.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr)=>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 11 | ($token:expr, $ttype:expr, $start:expr, $end:expr, $content:expr_2021)=>{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/expression.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `py` [INFO] [stdout] --> src/ast/whitespace.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | #[cfg_attr(feature = "py", derive(TryIntoPy))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `trace` [INFO] [stdout] = help: consider adding `py` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `escaped` is never read [INFO] [stdout] --> src/lexer/tokenizer.rs:782:21 [INFO] [stdout] | [INFO] [stdout] 782 | escaped = true; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dot` [INFO] [stdout] --> src/parser/grammar.rs:2086:18 [INFO] [stdout] | [INFO] [stdout] 2086 | if let Some((dot, name)) = tail.pop() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ast/expression.rs:484:25 [INFO] [stdout] | [INFO] [stdout] 484 | fn with_comma(self, c: Comma) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orelse` [INFO] [stdout] --> src/walker/mod.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | If { test, body, orelse, is_elif } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `orelse: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/walker/mod.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | for handler in try_expr.handlers { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/walker/mod.rs:234:42 [INFO] [stdout] | [INFO] [stdout] 234 | MatchSequence::MatchList(list) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tpl` [INFO] [stdout] --> src/walker/mod.rs:235:43 [INFO] [stdout] | [INFO] [stdout] 235 | MatchSequence::MatchTuple(tpl) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap` [INFO] [stdout] --> src/walker/mod.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | MatchPattern::Mapping(mmap) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/walker/mod.rs:239:29 [INFO] [stdout] | [INFO] [stdout] 239 | MatchPattern::Class(cls) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_case` [INFO] [stdout] --> src/walker/mod.rs:240:26 [INFO] [stdout] | [INFO] [stdout] 240 | MatchPattern::As(as_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `or_case` [INFO] [stdout] --> src/walker/mod.rs:241:26 [INFO] [stdout] | [INFO] [stdout] 241 | MatchPattern::Or(or_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dots` [INFO] [stdout] --> src/walker/mod.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | for dots in import.relative { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/walker/mod.rs:956:37 [INFO] [stdout] | [INFO] [stdout] 956 | Expression::FormattedString(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named` [INFO] [stdout] --> src/walker/mod.rs:960:31 [INFO] [stdout] | [INFO] [stdout] 960 | Expression::NamedExpr(named) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/walker/mod.rs:980:30 [INFO] [stdout] | [INFO] [stdout] 980 | AstString::Formatted(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscript` [INFO] [stdout] --> src/walker/mod.rs:1009:20 [INFO] [stdout] | [INFO] [stdout] 1009 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/walker/mod.rs:1009:42 [INFO] [stdout] | [INFO] [stdout] 1009 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/walker/mod.rs:1028:9 [INFO] [stdout] | [INFO] [stdout] 1028 | let prefix = INDENT.repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/walker/mod.rs:1030:22 [INFO] [stdout] | [INFO] [stdout] 1030 | for ImportAlias{ name, asname } in import.names { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asname` [INFO] [stdout] --> src/walker/mod.rs:1030:28 [INFO] [stdout] | [INFO] [stdout] 1030 | for ImportAlias{ name, asname } in import.names { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `asname: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> src/compiler/symbolizer.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | for handler in try_expr.handlers { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/compiler/symbolizer.rs:285:42 [INFO] [stdout] | [INFO] [stdout] 285 | MatchSequence::MatchList(list) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tpl` [INFO] [stdout] --> src/compiler/symbolizer.rs:288:43 [INFO] [stdout] | [INFO] [stdout] 288 | MatchSequence::MatchTuple(tpl) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tpl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mmap` [INFO] [stdout] --> src/compiler/symbolizer.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | MatchPattern::Mapping(mmap) => {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mmap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls` [INFO] [stdout] --> src/compiler/symbolizer.rs:292:29 [INFO] [stdout] | [INFO] [stdout] 292 | MatchPattern::Class(cls) => {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cls` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_case` [INFO] [stdout] --> src/compiler/symbolizer.rs:293:26 [INFO] [stdout] | [INFO] [stdout] 293 | MatchPattern::As(as_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `or_case` [INFO] [stdout] --> src/compiler/symbolizer.rs:294:26 [INFO] [stdout] | [INFO] [stdout] 294 | MatchPattern::Or(or_case) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_or_case` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dots` [INFO] [stdout] --> src/compiler/symbolizer.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | for dots in import.relative { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dots` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/compiler/symbolizer.rs:1009:37 [INFO] [stdout] | [INFO] [stdout] 1009 | Expression::FormattedString(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named` [INFO] [stdout] --> src/compiler/symbolizer.rs:1013:31 [INFO] [stdout] | [INFO] [stdout] 1013 | Expression::NamedExpr(named) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_named` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fstring` [INFO] [stdout] --> src/compiler/symbolizer.rs:1033:30 [INFO] [stdout] | [INFO] [stdout] 1033 | AstString::Formatted(fstring) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fstring` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subscript` [INFO] [stdout] --> src/compiler/symbolizer.rs:1062:20 [INFO] [stdout] | [INFO] [stdout] 1062 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_subscript` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/compiler/symbolizer.rs:1062:42 [INFO] [stdout] | [INFO] [stdout] 1062 | fn parse_subscript(subscript: Subscript, depth: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/compiler/symbolizer.rs:1081:9 [INFO] [stdout] | [INFO] [stdout] 1081 | let prefix = INDENT.repeat(depth); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/compiler/symbolizer.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | for name in import.names {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rython4` (bin "rython4" test) due to 5 previous errors; 44 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c61be496898aedc112c1f36c252563d0980a96717570ddd26408637dbec8f44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61be496898aedc112c1f36c252563d0980a96717570ddd26408637dbec8f44b", kill_on_drop: false }` [INFO] [stdout] c61be496898aedc112c1f36c252563d0980a96717570ddd26408637dbec8f44b