[INFO] cloning repository https://github.com/INDA23PlusPlus/fritiofr-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/INDA23PlusPlus/fritiofr-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA23PlusPlus%2Ffritiofr-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA23PlusPlus%2Ffritiofr-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 17a2f634c3465f1847a5031d23aeb0424f3928df [INFO] checking INDA23PlusPlus/fritiofr-compiler/17a2f634c3465f1847a5031d23aeb0424f3928df against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FINDA23PlusPlus%2Ffritiofr-compiler" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/INDA23PlusPlus/fritiofr-compiler 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/INDA23PlusPlus/fritiofr-compiler [INFO] finished tweaking git repo https://github.com/INDA23PlusPlus/fritiofr-compiler [INFO] tweaked toml for git repo https://github.com/INDA23PlusPlus/fritiofr-compiler written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/INDA23PlusPlus/fritiofr-compiler 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] eb05162a7e74c2a542437959e126b479d10f49d99a5a22ac3fcf81238509b77b [INFO] running `Command { std: "docker" "start" "-a" "eb05162a7e74c2a542437959e126b479d10f49d99a5a22ac3fcf81238509b77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb05162a7e74c2a542437959e126b479d10f49d99a5a22ac3fcf81238509b77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb05162a7e74c2a542437959e126b479d10f49d99a5a22ac3fcf81238509b77b", kill_on_drop: false }` [INFO] [stdout] eb05162a7e74c2a542437959e126b479d10f49d99a5a22ac3fcf81238509b77b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9b1f52baa0b7da2b3d45f1875a53796f6f48ff1cda610f1d1cef9dd3947a8109 [INFO] running `Command { std: "docker" "start" "-a" "9b1f52baa0b7da2b3d45f1875a53796f6f48ff1cda610f1d1cef9dd3947a8109", 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.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking zyrahn v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zyrahn` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compiler/javascript/expression.rs [INFO] [stderr] * src/parser/expression/single_data_unit.rs [INFO] [stderr] * src/static_analyzer/expression/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser/expression/single_data_unit.rs:63:37 [INFO] [stderr] | [INFO] [stderr] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser/expression/single_data_unit.rs:63:51 [INFO] [stderr] | [INFO] [stderr] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:51 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:65 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:58:34 [INFO] [stderr] | [INFO] [stderr] 58 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | _ => todo!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stderr] | ------------------------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stderr] | ------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stderr] | --------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 157 | _ => todo!(), [INFO] [stderr] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | global::gen(&tokens) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::gen(var_dec_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::gen(expression_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::gen(ty)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let p_tokens = gen(p_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operations::gen(&ret_tokens) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | ... let left = gen(left)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | ... let right = gen(right)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:207:65 [INFO] [stdout] | [INFO] [stdout] 207 | ... index: Box::new(operations::gen(array_access_tokens)?), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::gen(exp_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:399:40 [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::gen(last_arg_tokens)?)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/function_declaration.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | body: block::gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/function_declaration.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/namespace.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | body: gen(&tokens[3..end_idx_body])?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | ($scope:ident::$type:ident, $t:expr, $v: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] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v: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/parser/expression/single_data_unit.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | ($scope:ident::$type:ident, $t:expr, $v: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] 63 | ($scope:ident::$type:ident, $t:expr, $v:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr, $ty: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/static_analyzer/expression/mod.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr_2021, $ty: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/static_analyzer/expression/mod.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr, $if_allowed:block) => { [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] 59 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr, $if_allowed:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr, $if_allowed:block) => { [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] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stdout] | ------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_tokens` is never used [INFO] [stdout] --> src/lexer/mod.rs:353:8 [INFO] [stdout] | [INFO] [stdout] 353 | fn assert_tokens(tokens: Vec, token_types: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeToken` is never used [INFO] [stdout] --> src/parser/block/type.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum TypeToken { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/operations.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if let ExpressionToken::Token(t) = &tokens[i - 1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/operations.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match &tokens[i - 1] { ExpressionToken::Token(t) => { [INFO] [stdout] 60 | if is_op(&t.token_type) { [INFO] [stdout] 61 | continue; [INFO] [stdout] 62 | } [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let ExpressionToken::Token(t) = &tokens[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match &tokens[0] { ExpressionToken::Token(t) => { [INFO] [stdout] 26 | match t.token_type { [INFO] [stdout] ... [INFO] [stdout] 58 | } [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if let ExpressionToken::Token(t) = &tokens[1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match &tokens[1] { ExpressionToken::Token(t) => { [INFO] [stdout] 85 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let ExpressionToken::Token(t) = &tokens[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match &tokens[i] { ExpressionToken::Token(t) => { [INFO] [stdout] 171 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | if let ExpressionToken::Token(t) = &tokens[1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 270 ~ match &tokens[1] { ExpressionToken::Token(t) => { [INFO] [stdout] 271 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 299 | } [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | Err(error::Error::from_cl_ln( [INFO] [stdout] ... [INFO] [stdout] 304 | )) [INFO] [stdout] 305 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | if let ExpressionToken::Token(t) = &tokens[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 334 ~ match &tokens[i] { ExpressionToken::Token(t) => { [INFO] [stdout] 335 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 382 | } [INFO] [stdout] 383 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/static_analyzer/block/mod.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | if let Err(errs) = exp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/static_analyzer/block/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match exp { Err(errs) => { [INFO] [stdout] 62 | errors.extend(errs); [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | ret_blocks.push(Node::from_cl_ln( [INFO] [stdout] ... [INFO] [stdout] 69 | )); [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zyrahn` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/compiler/javascript/expression.rs [INFO] [stderr] * src/parser/expression/single_data_unit.rs [INFO] [stderr] * src/static_analyzer/expression/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser/expression/single_data_unit.rs:63:37 [INFO] [stderr] | [INFO] [stderr] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser/expression/single_data_unit.rs:63:51 [INFO] [stderr] | [INFO] [stderr] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:51 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:43:65 [INFO] [stderr] | [INFO] [stderr] 43 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr_2021, $ty:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/static_analyzer/expression/mod.rs:58:34 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 58 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | _ => todo!(), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stderr] | ------------------------------------------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stderr] | ------------------------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stderr] | ------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stderr] | --------------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 157 | _ => todo!(), [INFO] [stderr] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | global::gen(&tokens) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::gen(var_dec_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::gen(expression_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::gen(ty)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/block/var_dec.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::gen(rest_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let p_tokens = gen(p_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operations::gen(&ret_tokens) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | ... let left = gen(left)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/operations.rs:111:41 [INFO] [stdout] | [INFO] [stdout] 111 | ... let right = gen(right)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:207:65 [INFO] [stdout] | [INFO] [stdout] 207 | ... index: Box::new(operations::gen(array_access_tokens)?), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::gen(exp_tokens)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:399:40 [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::gen(last_arg_tokens)?)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen( [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/function_declaration.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | body: block::gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/function_declaration.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/namespace.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | body: gen(&tokens[3..end_idx_body])?, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/parser/global/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | ($scope:ident::$type:ident, $t:expr, $v: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] 63 | ($scope:ident::$type:ident, $t:expr_2021, $v: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/parser/expression/single_data_unit.rs:63:49 [INFO] [stdout] | [INFO] [stdout] 63 | ($scope:ident::$type:ident, $t:expr, $v: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] 63 | ($scope:ident::$type:ident, $t:expr, $v:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr_2021, $r:expr, $ty: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/static_analyzer/expression/mod.rs:44:49 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr_2021, $ty: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/static_analyzer/expression/mod.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty: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] 44 | ($scope:ident::$name:ident, $l:expr, $r:expr, $ty:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr, $if_allowed:block) => { [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] 59 | ($opt:tt, $ty:expr_2021, $allowed_ty:expr, $if_allowed:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr, $if_allowed:block) => { [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] 59 | ($opt:tt, $ty:expr, $allowed_ty:expr_2021, $if_allowed:block) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stdout] | ------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeToken` is never used [INFO] [stdout] --> src/parser/block/type.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum TypeToken { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/operations.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | if let ExpressionToken::Token(t) = &tokens[i - 1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/operations.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 59 ~ match &tokens[i - 1] { ExpressionToken::Token(t) => { [INFO] [stdout] 60 | if is_op(&t.token_type) { [INFO] [stdout] 61 | continue; [INFO] [stdout] 62 | } [INFO] [stdout] 63 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if let ExpressionToken::Token(t) = &tokens[0] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match &tokens[0] { ExpressionToken::Token(t) => { [INFO] [stdout] 26 | match t.token_type { [INFO] [stdout] ... [INFO] [stdout] 58 | } [INFO] [stdout] 59 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | if let ExpressionToken::Token(t) = &tokens[1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 84 ~ match &tokens[1] { ExpressionToken::Token(t) => { [INFO] [stdout] 85 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let ExpressionToken::Token(t) = &tokens[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match &tokens[i] { ExpressionToken::Token(t) => { [INFO] [stdout] 171 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 222 | } [INFO] [stdout] 223 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:270:8 [INFO] [stdout] | [INFO] [stdout] 270 | if let ExpressionToken::Token(t) = &tokens[1] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 270 ~ match &tokens[1] { ExpressionToken::Token(t) => { [INFO] [stdout] 271 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 299 | } [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | Err(error::Error::from_cl_ln( [INFO] [stdout] ... [INFO] [stdout] 304 | )) [INFO] [stdout] 305 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | if let ExpressionToken::Token(t) = &tokens[i] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 383 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 334 ~ match &tokens[i] { ExpressionToken::Token(t) => { [INFO] [stdout] 335 | match &t.token_type { [INFO] [stdout] ... [INFO] [stdout] 382 | } [INFO] [stdout] 383 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/static_analyzer/block/mod.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | if let Err(errs) = exp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/static_analyzer/block/mod.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match exp { Err(errs) => { [INFO] [stdout] 62 | errors.extend(errs); [INFO] [stdout] 63 ~ } _ => { [INFO] [stdout] 64 | ret_blocks.push(Node::from_cl_ln( [INFO] [stdout] ... [INFO] [stdout] 69 | )); [INFO] [stdout] 70 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking zyrahn v0.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 12 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 12 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | global::gen(&tokens) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | global::r#gen(&tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | global::gen(&tokens) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | global::r#gen(&tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 17 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 17 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::gen(var_dec_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::r#gen(var_dec_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::gen(var_dec_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 34 | let var_dec = var_dec::r#gen(var_dec_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::gen(expression_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::r#gen(expression_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:53:50 [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::gen(expression_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 53 | let expression = expression::r#gen(expression_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/mod.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | let mut rest = gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | pub fn r#gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/type.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | pub fn r#gen(tokens: &[lexer::Token]) -> Result> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 3 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 3 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::gen(ty)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::r#gen(ty)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::gen(ty)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 50 | let ty = r#type::r#gen(ty)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::r#gen(rest_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/block/var_dec.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::gen(rest_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 51 | let exp = expression::r#gen(rest_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let p_tokens = gen(p_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operations::gen(&ret_tokens) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 141 | operations::r#gen(&ret_tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 18 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | let p_tokens = gen(p_tokens)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/mod.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operations::gen(&ret_tokens) [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 141 | operations::r#gen(&ret_tokens) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 42 | pub(super) fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:207:65 [INFO] [stdout] | [INFO] [stdout] 207 | ... index: Box::new(operations::gen(array_access_tokens)?), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 207 | index: Box::new(operations::r#gen(array_access_tokens)?), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::gen(exp_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::r#gen(exp_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:399:40 [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::gen(last_arg_tokens)?)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::r#gen(last_arg_tokens)?)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:207:65 [INFO] [stdout] | [INFO] [stdout] 207 | ... index: Box::new(operations::gen(array_access_tokens)?), [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 207 | index: Box::new(operations::r#gen(array_access_tokens)?), [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:376:50 [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::gen(exp_tokens)?; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 376 | let expression = operations::r#gen(exp_tokens)?; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/single_data_unit.rs:399:40 [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::gen(last_arg_tokens)?)); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 399 | args.push((is_out, operations::r#gen(last_arg_tokens)?)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/function_declaration.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | body: block::gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 218 | body: block::r#gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/function_declaration.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn gen( [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 9 | pub fn r#gen( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/namespace.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 68 | node::global::All::Namespace { [INFO] [stdout] | ---------------------------- while parsing this struct [INFO] [stdout] 69 | identifier: ns_name.to_string(), [INFO] [stdout] 70 | body: gen(&tokens[3..end_idx_body])?, [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/function_declaration.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | body: block::gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 218 | body: block::r#gen(&tokens[end_idx_ty + 2..end_idx_body])?, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/function_declaration.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/namespace.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 68 | node::global::All::Namespace { [INFO] [stdout] | ---------------------------- while parsing this struct [INFO] [stdout] 69 | identifier: ns_name.to_string(), [INFO] [stdout] 70 | body: gen(&tokens[3..end_idx_body])?, [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/global/namespace.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | nodes.append(&mut gen(&tokens[end_idx_body + 1..])?); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 131 | matcher!(Add) => matcher!(Arithmetic::Add), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 132 | matcher!(Pow) => matcher!(Arithmetic::Pow), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 133 | matcher!(Sub) => matcher!(Arithmetic::Sub), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 134 | matcher!(Mul) => matcher!(Arithmetic::Mul), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 135 | matcher!(Div) => matcher!(Arithmetic::Div), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 136 | matcher!(Mod) => matcher!(Arithmetic::Mod), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 137 | matcher!(Or) => matcher!(BooleanLogic::Or), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 138 | matcher!(And) => matcher!(BooleanLogic::And), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 139 | matcher!(Equal) => matcher!(Cmp::Equal), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 140 | matcher!(NotEqual) => matcher!(Cmp::NotEqual), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 141 | matcher!(LessThan) => matcher!(Cmp::LessThan), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 142 | matcher!(LessThanOrEqual) => matcher!(Cmp::LessThanOrEqual), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 143 | matcher!(GreaterThan) => matcher!(Cmp::GreaterThan), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 144 | matcher!(GreaterThanOrEqual) => matcher!(Cmp::GreaterThanOrEqual), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 131 | matcher!(Add) => matcher!(Arithmetic::Add), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 132 | matcher!(Pow) => matcher!(Arithmetic::Pow), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 133 | matcher!(Sub) => matcher!(Arithmetic::Sub), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 134 | matcher!(Mul) => matcher!(Arithmetic::Mul), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 135 | matcher!(Div) => matcher!(Arithmetic::Div), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 136 | matcher!(Mod) => matcher!(Arithmetic::Mod), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 137 | matcher!(Or) => matcher!(BooleanLogic::Or), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 138 | matcher!(And) => matcher!(BooleanLogic::And), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 139 | matcher!(Equal) => matcher!(Cmp::Equal), [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 140 | matcher!(NotEqual) => matcher!(Cmp::NotEqual), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 141 | matcher!(LessThan) => matcher!(Cmp::LessThan), [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 142 | matcher!(LessThanOrEqual) => matcher!(Cmp::LessThanOrEqual), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 143 | matcher!(GreaterThan) => matcher!(Cmp::GreaterThan), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/parser/expression/operations.rs:110:40 [INFO] [stdout] | [INFO] [stdout] 110 | let left = gen(left)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] ... [INFO] [stdout] 144 | matcher!(GreaterThanOrEqual) => matcher!(Cmp::GreaterThanOrEqual), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `matcher` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/parser/block/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/parser/block/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cl_ln::ClLn` [INFO] [stdout] --> src/static_analyzer/expression/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cl_ln::ClLn; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stdout] | ------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/javascript/expression.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 7 | expression::AllWithType::Cmp { value, .. } => match value { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 27 | expression::AllWithType::CompilerCustomCodePreDefined { value, .. } => { [INFO] [stdout] | ------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 30 | expression::AllWithType::Arithmetic { value, .. } => match value { [INFO] [stdout] | ------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 53 | expression::AllWithType::BooleanLogic { value, .. } => match value { [INFO] [stdout] | --------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 157 | _ => todo!(), [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zyrahn` (lib) due to 38 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 37 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zyrahn` (lib test) due to 38 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "9b1f52baa0b7da2b3d45f1875a53796f6f48ff1cda610f1d1cef9dd3947a8109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1f52baa0b7da2b3d45f1875a53796f6f48ff1cda610f1d1cef9dd3947a8109", kill_on_drop: false }` [INFO] [stdout] 9b1f52baa0b7da2b3d45f1875a53796f6f48ff1cda610f1d1cef9dd3947a8109