[INFO] fetching crate ca-rules 0.3.5... [INFO] checking ca-rules-0.3.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ca-rules 0.3.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ca-rules 0.3.5 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 crates.io crate ca-rules 0.3.5 [INFO] finished tweaking crates.io crate ca-rules 0.3.5 [INFO] tweaked toml for crates.io crate ca-rules 0.3.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b947f587f3966b2ff8fd0eecc9050e353ff06303c69d84f9963acefe77da478c [INFO] running `Command { std: "docker" "start" "-a" "b947f587f3966b2ff8fd0eecc9050e353ff06303c69d84f9963acefe77da478c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b947f587f3966b2ff8fd0eecc9050e353ff06303c69d84f9963acefe77da478c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b947f587f3966b2ff8fd0eecc9050e353ff06303c69d84f9963acefe77da478c", kill_on_drop: false }` [INFO] [stdout] b947f587f3966b2ff8fd0eecc9050e353ff06303c69d84f9963acefe77da478c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c108161303f9f5aefda32106a75099e59a35ba62321600cf2e5a488f70b06f6d [INFO] running `Command { std: "docker" "start" "-a" "c108161303f9f5aefda32106a75099e59a35ba62321600cf2e5a488f70b06f6d", 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 thiserror v1.0.64 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking ca-rules v0.3.5 (/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 `ca_rules` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | ($($suffix: 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/macros.rs:204:6 [INFO] [stderr] | [INFO] [stderr] 204 | ($n: 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/macros.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:227:34 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:227:53 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:294:6 [INFO] [stderr] | [INFO] [stderr] 294 | ($n: 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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> 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] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | $f: 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/macros.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | $n: expr_2021 $(,)? [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | 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] [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: aborting due to 8 previous errors [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/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [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/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [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/macros.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | None => Ok(Self::from_bsg(b, s, 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/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [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/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, 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/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [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/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, 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/rules/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | gen: usize, [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/rules/hex.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/hex.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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/rules/hex.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, 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/rules/life.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/life.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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/rules/life.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, 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/rules/neumann.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/neumann.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | 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/rules/neumann.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(Self::from_bsg(b, s, 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/rules/nthex.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/nthex.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | 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/rules/nthex.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(Self::from_bsg(b, s, 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/rules/ntlife.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/ntlife.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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/rules/ntlife.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(Self::from_bsg(b, s, 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/rules/ntneumann.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/ntneumann.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | 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/rules/ntneumann.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Self::from_bsg(b, s, 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | ($($suffix: 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] 56 | ($($suffix: 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/macros.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | ($n: 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] 204 | ($n: 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/macros.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr_2021 => { $($key: expr => $value: 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/macros.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr => { $($key: expr_2021 => $value: 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/macros.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr => { $($key: expr => $value: 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/macros.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | ($n: 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] 294 | ($n: 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/macros.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | $f: 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] 406 | $f: 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/macros.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | $n: 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] 407 | $n: expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ca_rules` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/macros.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/macros.rs:56:8 [INFO] [stderr] | [INFO] [stderr] 56 | ($($suffix: 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/macros.rs:204:6 [INFO] [stderr] | [INFO] [stderr] 204 | ($n: 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/macros.rs:227:9 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:227:34 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:227:53 [INFO] [stderr] | [INFO] [stderr] 227 | { $($count: expr_2021 => { $($key: expr_2021 => $value: 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/macros.rs:294:6 [INFO] [stderr] | [INFO] [stderr] 294 | ($n: 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/macros.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | $f: expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> 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] = 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/macros.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | $n: 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: aborting due to 8 previous errors [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/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | 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/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [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/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [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/macros.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | None => Ok(Self::from_bsg(b, s, 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/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [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/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, 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/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [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/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, 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/rules/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | gen: usize, [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/rules/hex.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/hex.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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/rules/hex.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, 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/rules/life.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/life.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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/rules/life.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, 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/rules/neumann.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/neumann.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | 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/rules/neumann.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(Self::from_bsg(b, s, 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/rules/nthex.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/nthex.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | 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/rules/nthex.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(Self::from_bsg(b, s, 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/rules/ntlife.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/ntlife.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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/rules/ntlife.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(Self::from_bsg(b, s, 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/rules/ntneumann.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [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/rules/ntneumann.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | 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/rules/ntneumann.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Self::from_bsg(b, s, 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | ($($suffix: 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] 56 | ($($suffix: 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/macros.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | ($n: 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] 204 | ($n: 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/macros.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr_2021 => { $($key: expr => $value: 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/macros.rs:227:35 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr => { $($key: expr_2021 => $value: 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/macros.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | { $($count: expr => { $($key: expr => $value: 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] 227 | { $($count: expr => { $($key: expr => $value: 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/macros.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | ($n: 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] 294 | ($n: 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/macros.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | $f: 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] 406 | $f: 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/macros.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | $n: 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] 407 | $n: expr_2021 $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.47s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ca-rules v0.3.5 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 20 | rule: T, [INFO] [stdout] 21 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 20 | rule: T, [INFO] [stdout] 21 | gen: usize, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 21 | r#gen: usize, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/hex.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 96 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | 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] 105 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/life.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 107 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | 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] 162 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 97 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 106 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/neumann.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 153 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | 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] 162 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/nthex.rs:174:33 [INFO] [stdout] | [INFO] [stdout] 174 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 220 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:211:41 [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 211 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | 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] 220 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntlife.rs:234:33 [INFO] [stdout] | [INFO] [stdout] 234 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | 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] 131 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:122:41 [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 122 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | 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] 131 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/rules/ntneumann.rs:141:33 [INFO] [stdout] | [INFO] [stdout] 141 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Hex); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Hex); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Hex); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Hex); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Life); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Life); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/hex.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Neumann); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Neumann); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Life); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Life); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtHex); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtHex); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/life.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Neumann); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | rule_struct!(Neumann); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/neumann.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | parse_rule!('V'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtHex); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtHex); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl_parser!( [INFO] [stdout] 46 | | (ParseHex, ParseHexGen) for NtHex, [INFO] [stdout] 47 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 48 | | 0x3f, [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl_parser!( [INFO] [stdout] 46 | | (ParseHex, ParseHexGen) for NtHex, [INFO] [stdout] 47 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 48 | | 0x3f, [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | rule_struct!(NtLife); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | rule_struct!(NtLife); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | parse_rule!('H'); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | parse_rule_map!(6); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl_parser!( [INFO] [stdout] 46 | | (ParseHex, ParseHexGen) for NtHex, [INFO] [stdout] 47 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 48 | | 0x3f, [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/nthex.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / impl_parser!( [INFO] [stdout] 46 | | (ParseHex, ParseHexGen) for NtHex, [INFO] [stdout] 47 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 48 | | 0x3f, [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (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/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_parser!( [INFO] [stdout] 90 | | (ParseLife, ParseLifeGen) for NtLife, [INFO] [stdout] 91 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 92 | | 0xff, [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_parser!( [INFO] [stdout] 90 | | (ParseLife, ParseLifeGen) for NtLife, [INFO] [stdout] 91 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 92 | | 0xff, [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | rule_struct!(NtLife); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_parser!( [INFO] [stdout] 96 | | (ParseNtHex, ParseNtHexGen) for NtLife, [INFO] [stdout] 97 | | |i: u8| (i & 0xc0) >> 2 | (i & 0x18) >> 1 | (i & 0x03), [INFO] [stdout] 98 | | 0xff, [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_parser!( [INFO] [stdout] 96 | | (ParseNtHex, ParseNtHexGen) for NtLife, [INFO] [stdout] 97 | | |i: u8| (i & 0xc0) >> 2 | (i & 0x18) >> 1 | (i & 0x03), [INFO] [stdout] 98 | | 0xff, [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | rule_struct!(NtLife); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl_parser!( [INFO] [stdout] 102 | | (ParseNtNeumann, ParseNtNeumannGen) for NtLife, [INFO] [stdout] 103 | | |i: u8| (i & 0x40) >> 3 | (i & 0x18) >> 2 | (i & 0x02) >> 1, [INFO] [stdout] 104 | | 0xff, [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl_parser!( [INFO] [stdout] 102 | | (ParseNtNeumann, ParseNtNeumannGen) for NtLife, [INFO] [stdout] 103 | | |i: u8| (i & 0x40) >> 3 | (i & 0x18) >> 2 | (i & 0x02) >> 1, [INFO] [stdout] 104 | | 0xff, [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtNeumann); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtNeumann); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl_parser!( [INFO] [stdout] 16 | | (ParseNeumann, ParseNeumannGen) for NtNeumann, [INFO] [stdout] 17 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 18 | | 0x0f, [INFO] [stdout] 19 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl_parser!( [INFO] [stdout] 16 | | (ParseNeumann, ParseNeumannGen) for NtNeumann, [INFO] [stdout] 17 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 18 | | 0x0f, [INFO] [stdout] 19 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 108 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | ... gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:145:21 [INFO] [stdout] | [INFO] [stdout] 145 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (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/macros.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | if gen < 2 { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | parse_rule!(); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | parse_rule_map!(8); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_parser!( [INFO] [stdout] 90 | | (ParseLife, ParseLifeGen) for NtLife, [INFO] [stdout] 91 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 92 | | 0xff, [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl_parser!( [INFO] [stdout] 90 | | (ParseLife, ParseLifeGen) for NtLife, [INFO] [stdout] 91 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 92 | | 0xff, [INFO] [stdout] 93 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_parser!( [INFO] [stdout] 96 | | (ParseNtHex, ParseNtHexGen) for NtLife, [INFO] [stdout] 97 | | |i: u8| (i & 0xc0) >> 2 | (i & 0x18) >> 1 | (i & 0x03), [INFO] [stdout] 98 | | 0xff, [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / impl_parser!( [INFO] [stdout] 96 | | (ParseNtHex, ParseNtHexGen) for NtLife, [INFO] [stdout] 97 | | |i: u8| (i & 0xc0) >> 2 | (i & 0x18) >> 1 | (i & 0x03), [INFO] [stdout] 98 | | 0xff, [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl_parser!( [INFO] [stdout] 102 | | (ParseNtNeumann, ParseNtNeumannGen) for NtLife, [INFO] [stdout] 103 | | |i: u8| (i & 0x40) >> 3 | (i & 0x18) >> 2 | (i & 0x02) >> 1, [INFO] [stdout] 104 | | 0xff, [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntlife.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / impl_parser!( [INFO] [stdout] 102 | | (ParseNtNeumann, ParseNtNeumannGen) for NtLife, [INFO] [stdout] 103 | | |i: u8| (i & 0x40) >> 3 | (i & 0x18) >> 2 | (i & 0x02) >> 1, [INFO] [stdout] 104 | | 0xff, [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtNeumann); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 19 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | Gen { [INFO] [stdout] | --- while parsing this struct [INFO] [stdout] 21 | rule: $name { b, s }, [INFO] [stdout] 22 | gen, [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | rule_struct!(NtNeumann); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rule_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 22 | r#gen, [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:356:21 [INFO] [stdout] | [INFO] [stdout] 356 | let mut gen = 2; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 356 | let mut r#gen = 2; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | gen = Self::parse_num(&mut chars)?; [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (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/macros.rs:394:37 [INFO] [stdout] | [INFO] [stdout] 394 | Ok(Self::from_bsg(b, s, gen)) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | parse_rule_map!(4); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `parse_rule_map` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:428:49 [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, gen: usize) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl_parser!( [INFO] [stdout] 16 | | (ParseNeumann, ParseNeumannGen) for NtNeumann, [INFO] [stdout] 17 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 18 | | 0x0f, [INFO] [stdout] 19 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 428 | fn from_bsg(b: Vec, s: Vec, r#gen: usize) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/macros.rs:441:54 [INFO] [stdout] | [INFO] [stdout] 441 | $struct_name::from_bsg(new_b, new_s, gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] | [INFO] [stdout] ::: src/rules/ntneumann.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl_parser!( [INFO] [stdout] 16 | | (ParseNeumann, ParseNeumannGen) for NtNeumann, [INFO] [stdout] 17 | | |i: u8| i.count_ones() as u8, [INFO] [stdout] 18 | | 0x0f, [INFO] [stdout] 19 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ca-rules` (lib) due to 81 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 80 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ca-rules` (lib test) due to 81 previous errors [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" "c108161303f9f5aefda32106a75099e59a35ba62321600cf2e5a488f70b06f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c108161303f9f5aefda32106a75099e59a35ba62321600cf2e5a488f70b06f6d", kill_on_drop: false }` [INFO] [stdout] c108161303f9f5aefda32106a75099e59a35ba62321600cf2e5a488f70b06f6d