[INFO] cloning repository https://github.com/jun784/ssot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jun784/ssot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjun784%2Fssot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjun784%2Fssot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05239cdd3ce421140b327d2e59332fdaaeade8f6 [INFO] building jun784/ssot against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjun784%2Fssot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jun784/ssot [INFO] finished tweaking git repo https://github.com/jun784/ssot [INFO] tweaked toml for git repo https://github.com/jun784/ssot written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jun784/ssot on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jun784/ssot already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-strings v0.4.0 [INFO] [stderr] Downloaded serde_repr v0.1.20 [INFO] [stderr] Downloaded windows-result v0.3.2 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded windows-link v0.1.1 [INFO] [stderr] Downloaded rustversion v1.0.20 [INFO] [stderr] Downloaded lsp-server v0.7.8 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded windows-core v0.61.0 [INFO] [stderr] Downloaded getrandom v0.3.2 [INFO] [stderr] Downloaded r-efi v5.2.0 [INFO] [stderr] Downloaded icu_normalizer_data v1.5.1 [INFO] [stderr] Downloaded prettyplease v0.2.32 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded crossbeam-channel v0.5.15 [INFO] [stderr] Downloaded icu_locid_transform_data v1.5.1 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded litemap v0.7.5 [INFO] [stderr] Downloaded chrono v0.4.40 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded thiserror v2.0.12 [INFO] [stderr] Downloaded icu_properties_data v1.5.1 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.12 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded errno v0.3.11 [INFO] [stderr] Downloaded lsp-types v0.95.1 [INFO] [stderr] Downloaded rustix v1.0.5 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48f3e986d44db6d51e10def0e239d2293ce9b06da824e5ec4ecfe1b8f886975b [INFO] running `Command { std: "docker" "start" "-a" "48f3e986d44db6d51e10def0e239d2293ce9b06da824e5ec4ecfe1b8f886975b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48f3e986d44db6d51e10def0e239d2293ce9b06da824e5ec4ecfe1b8f886975b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f3e986d44db6d51e10def0e239d2293ce9b06da824e5ec4ecfe1b8f886975b", kill_on_drop: false }` [INFO] [stdout] 48f3e986d44db6d51e10def0e239d2293ce9b06da824e5ec4ecfe1b8f886975b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dccc5a1a7789d4eab515c632e126fc6bc1fc75184901833dea33ddfb2b5769b [INFO] running `Command { std: "docker" "start" "-a" "7dccc5a1a7789d4eab515c632e126fc6bc1fc75184901833dea33ddfb2b5769b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling fsm-dsl v0.1.0 (/opt/rustwide/workdir/crates/fsm-dsl) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: grammar error [INFO] [stdout] [INFO] [stdout] --> 52:1 [INFO] [stdout] | [INFO] [stdout] 52 | qualified_ident = @{ ident ~ ("." ~ ident)? } // Reverted to using "." [INFO] [stdout] | ^-------------^ [INFO] [stdout] | [INFO] [stdout] = rule qualified_ident already defined [INFO] [stdout] [INFO] [stdout] --> 137:1 [INFO] [stdout] | [INFO] [stdout] 137 | WHITESPACE = _{ " " | "\t" | "\r" | "\n" } [INFO] [stdout] | ^--------^ [INFO] [stdout] | [INFO] [stdout] = rule WHITESPACE already defined [INFO] [stdout] [INFO] [stdout] --> 138:1 [INFO] [stdout] | [INFO] [stdout] 138 | COMMENT = _{ line_comment | block_comment } [INFO] [stdout] | ^-----^ [INFO] [stdout] | [INFO] [stdout] = rule COMMENT already defined [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: grammar error [INFO] [stdout] [INFO] [stdout] --> 52:1 [INFO] [stdout] | [INFO] [stdout] 52 | qualified_ident = @{ ident ~ ("." ~ ident)? } // Reverted to using "." [INFO] [stdout] | ^-------------^ [INFO] [stdout] | [INFO] [stdout] = rule qualified_ident already defined [INFO] [stdout] [INFO] [stdout] --> 137:1 [INFO] [stdout] | [INFO] [stdout] 137 | WHITESPACE = _{ " " | "\t" | "\r" | "\n" } [INFO] [stdout] | ^--------^ [INFO] [stdout] | [INFO] [stdout] = rule WHITESPACE already defined [INFO] [stdout] [INFO] [stdout] --> 138:1 [INFO] [stdout] | [INFO] [stdout] 138 | COMMENT = _{ line_comment | block_comment } [INFO] [stdout] | ^-----^ [INFO] [stdout] | [INFO] [stdout] = rule COMMENT already defined [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | PestError(#[from] Box>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseError { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | UnexpectedRule { rule: Rule, context: String }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | PestError(#[from] Box>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | fn parse_annotation(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 223 | fn parse_annotation(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | fn parse_annotation_value(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 252 | fn parse_annotation_value(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | fn parse_state_machine(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn parse_state_machine(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:434:32 [INFO] [stdout] | [INFO] [stdout] 434 | fn parse_state_enum(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 434 | fn parse_state_enum(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:447:32 [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_state_item(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_state_item(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:555:39 [INFO] [stdout] | [INFO] [stdout] 555 | fn parse_event_definitions(pair: Pair) -> Result<(Vec, Vec), ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 555 | fn parse_event_definitions(pair: Pair) -> Result<(Vec, Vec), ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:581:34 [INFO] [stdout] | [INFO] [stdout] 581 | fn parse_event_struct(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 581 | fn parse_event_struct(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:681:33 [INFO] [stdout] | [INFO] [stdout] 681 | fn parse_event_field(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 681 | fn parse_event_field(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:735:32 [INFO] [stdout] | [INFO] [stdout] 735 | fn parse_field_type(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 735 | fn parse_field_type(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:785:43 [INFO] [stdout] | [INFO] [stdout] 785 | fn parse_transition_definition(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn parse_transition_definition(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:883:40 [INFO] [stdout] | [INFO] [stdout] 883 | fn parse_transition_element(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 883 | fn parse_transition_element(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:914:27 [INFO] [stdout] | [INFO] [stdout] 914 | fn parse_ident(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 914 | fn parse_ident(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:923:29 [INFO] [stdout] | [INFO] [stdout] 923 | fn parse_ordinal(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn parse_ordinal(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:934:33 [INFO] [stdout] | [INFO] [stdout] 934 | fn parse_hex_literal(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 934 | fn parse_hex_literal(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:941:34 [INFO] [stdout] | [INFO] [stdout] 941 | fn parse_package_name(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 941 | fn parse_package_name(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:947:37 [INFO] [stdout] | [INFO] [stdout] 947 | fn parse_qualified_ident(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 947 | fn parse_qualified_ident(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1063:39 [INFO] [stdout] | [INFO] [stdout] 1063 | fn parse_transitions_block(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1063 | fn parse_transitions_block(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1089:32 [INFO] [stdout] | [INFO] [stdout] 1089 | fn parse_struct_def(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1089 | fn parse_struct_def(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransitionElement` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:12:86 [INFO] [stdout] | [INFO] [stdout] 12 | StateMachine, TransitionItem, ImportDeclaration, UseDeclaration, QualifiedIdent, TransitionElement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pairs` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use pest::iterators::{Pair, Pairs}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TopLevelItem: std::cmp::Eq` is not satisfied [INFO] [stdout] --> crates/fsm-dsl/src/ast.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 134 | pub items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::cmp::Eq` is not implemented for `TopLevelItem` [INFO] [stdout] --> crates/fsm-dsl/src/ast.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum TopLevelItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `std::cmp::Eq` is implemented for `Vec` [INFO] [stdout] = note: required for `Vec` to implement `std::cmp::Eq` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/cmp.rs:367:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SsotParser` in the current scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SsotParser; [INFO] [stdout] | --------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | let mut pairs = SsotParser::parse(Rule::ssot_file, input) [INFO] [stdout] | ^^^^^ function or associated item not found in `SsotParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parse` [INFO] [stdout] candidate #2: `pest::Parser` [INFO] [stdout] candidate #3: `syn::parse::Parser` [INFO] [stdout] candidate #4: `syn::parse_quote::ParseQuote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | let mut pairs = SsotParser::parse(Rule::ssot_file, input) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | if ssot_file_pair.as_rule() != Rule::ssot_file { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `imports`, `items` and `package_declaration` in initializer of `ImportDeclaration` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | imports.push(ImportDeclaration { package_name }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `imports`, `items` and `package_declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SsotFile` has no field named `package_declaration` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | package_declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `SsotFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SsotFile` has no field named `imports` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | imports, [INFO] [stdout] | ^^^^^^^ `SsotFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | if value_pair.as_rule() == Rule::annotation_value { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | if annotation_value_inner_pair.as_rule() == Rule::annotation_value_inner { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | let actual_item_pair = if item_pair.as_rule() == Rule::state_machine_item { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:437:36 [INFO] [stdout] | [INFO] [stdout] 437 | .filter(|p| p.as_rule() == Rule::state_variant) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:461:53 [INFO] [stdout] | [INFO] [stdout] 461 | if annotation_pair.as_rule() == Rule::annotation { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | ... rule: Rule::state_body_item, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:488:66 [INFO] [stdout] | [INFO] [stdout] 488 | ... .find(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:499:66 [INFO] [stdout] | [INFO] [stdout] 499 | ... .find(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | entry_actions, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | exit_actions, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:583:38 [INFO] [stdout] | [INFO] [stdout] 583 | debug_assert_eq!(pair.as_rule(), Rule::event_struct); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:590:52 [INFO] [stdout] | [INFO] [stdout] 590 | if potential_annotations_pair.as_rule() == Rule::optional_annotations { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:608:31 [INFO] [stdout] | [INFO] [stdout] 608 | if name_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:620:34 [INFO] [stdout] | [INFO] [stdout] 620 | if ordinal_pair.as_rule() != Rule::ordinal { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | if first.as_rule() == Rule::optional_annotations { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:710:54 [INFO] [stdout] | [INFO] [stdout] 710 | let actual_type_pair = if type_pair.as_rule() == Rule::r#type { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:715:23 [INFO] [stdout] | [INFO] [stdout] 715 | rule: Rule::r#type, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:738:36 [INFO] [stdout] | [INFO] [stdout] 738 | let specific_pair = if rule == Rule::r#type { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:774:54 [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(parse_ident(specific_pair)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `proc_macro2::Ident` to `QualifiedIdent` [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(ast::QualifiedIdent::Simple(parse_ident(specific_pair)?))), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:792:41 [INFO] [stdout] | [INFO] [stdout] 792 | .is_some_and(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | if from_state_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:820:35 [INFO] [stdout] | [INFO] [stdout] 820 | if to_state_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:894:20 [INFO] [stdout] | [INFO] [stdout] 894 | event: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 894 | event: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:898:23 [INFO] [stdout] | [INFO] [stdout] 898 | function: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 898 | function: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:902:23 [INFO] [stdout] | [INFO] [stdout] 902 | function: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 902 | function: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1090:38 [INFO] [stdout] | [INFO] [stdout] 1090 | debug_assert_eq!(pair.as_rule(), Rule::struct_def); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1108:48 [INFO] [stdout] | [INFO] [stdout] 1108 | if field_pair.as_rule() == Rule::struct_field { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1111:59 [INFO] [stdout] | [INFO] [stdout] 1111 | if event_field_pair.as_rule() == Rule::event_field { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1119:55 [INFO] [stdout] | [INFO] [stdout] 1119 | } else if field_pair.as_rule() != Rule::WHITESPACE && field_pair.as_rule() != Rule::COMMENT { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1119:99 [INFO] [stdout] | [INFO] [stdout] 1119 | } else if field_pair.as_rule() != Rule::WHITESPACE && field_pair.as_rule() != Rule::COMMENT { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1128:32 [INFO] [stdout] | [INFO] [stdout] 1128 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Rule::file_id => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Rule::package_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Rule::import_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rule::top_level_item => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | Rule::state_machine => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | Rule::struct_def => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | Rule::EOI => break, // EOI marks the end of the inner pairs for ssot_file [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | Rule::transition_element => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | Rule::identifier => Ok(AnnotationValue::Identifier(parse_ident( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | Rule::array_literal => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | Rule::literal_value => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | ... Rule::string_literal => Ok(AnnotationValue::StringLiteral( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | ... Rule::boolean_literal => Ok(AnnotationValue::BooleanLiteral( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | ... Rule::number_literal => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | Rule::primitive_type => match specific_pair.as_str() { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Rule::use_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | Rule::state_enum => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | Rule::event_definitions => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | Rule::transitions_block => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | Rule::EOI => break, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | Rule::list_type => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | Rule::optional_annotations => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | Rule::struct_body => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | Rule::identifier => name = Some(parse_ident(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | Rule::ordinal => ordinal = Some(parse_ordinal(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | Rule::state_body_content => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | Rule::state_body_item => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1102:13 [INFO] [stdout] | [INFO] [stdout] 1102 | Rule::ident => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:485:33 [INFO] [stdout] | [INFO] [stdout] 485 | ... Rule::entry_action => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1099:13 [INFO] [stdout] | [INFO] [stdout] 1099 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:496:33 [INFO] [stdout] | [INFO] [stdout] 496 | ... Rule::exit_action => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(parse_ident(specific_pair)?)), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:44 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:60 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:48 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:560:13 [INFO] [stdout] | [INFO] [stdout] 560 | Rule::event_struct => events.push(parse_event_struct(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | Rule::use_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | Rule::WHITESPACE | Rule::COMMENT => {} // Ignore [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:565:32 [INFO] [stdout] | [INFO] [stdout] 565 | Rule::WHITESPACE | Rule::COMMENT => {} // Ignore [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | Rule::transition_definition => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:900:9 [INFO] [stdout] | [INFO] [stdout] 900 | Rule::action_clause => Ok(ast::TransitionElement::Action { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | Rule::guard_clause => Ok(ast::TransitionElement::Guard { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | Rule::on_clause => Ok(ast::TransitionElement::On { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | Rule::event_body => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | Rule::event_field => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:642:40 [INFO] [stdout] | [INFO] [stdout] 642 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | Rule::event_terminator => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:847:32 [INFO] [stdout] | [INFO] [stdout] 847 | Rule::WHITESPACE | Rule::COMMENT => { /* Ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | Rule::WHITESPACE | Rule::COMMENT => { /* Ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0412, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fsm-dsl` (lib) due to 121 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | PestError(#[from] Box>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ParseError { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | UnexpectedRule { rule: Rule, context: String }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | PestError(#[from] Box>), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | fn parse_annotation(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 223 | fn parse_annotation(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:252:38 [INFO] [stdout] | [INFO] [stdout] 252 | fn parse_annotation_value(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 252 | fn parse_annotation_value(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:329:35 [INFO] [stdout] | [INFO] [stdout] 329 | fn parse_state_machine(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 329 | fn parse_state_machine(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:434:32 [INFO] [stdout] | [INFO] [stdout] 434 | fn parse_state_enum(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 434 | fn parse_state_enum(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:447:32 [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_state_item(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 447 | fn parse_state_item(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:555:39 [INFO] [stdout] | [INFO] [stdout] 555 | fn parse_event_definitions(pair: Pair) -> Result<(Vec, Vec), ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 555 | fn parse_event_definitions(pair: Pair) -> Result<(Vec, Vec), ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:581:34 [INFO] [stdout] | [INFO] [stdout] 581 | fn parse_event_struct(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 581 | fn parse_event_struct(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:681:33 [INFO] [stdout] | [INFO] [stdout] 681 | fn parse_event_field(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 681 | fn parse_event_field(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:735:32 [INFO] [stdout] | [INFO] [stdout] 735 | fn parse_field_type(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 735 | fn parse_field_type(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:785:43 [INFO] [stdout] | [INFO] [stdout] 785 | fn parse_transition_definition(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 785 | fn parse_transition_definition(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:883:40 [INFO] [stdout] | [INFO] [stdout] 883 | fn parse_transition_element(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 883 | fn parse_transition_element(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:914:27 [INFO] [stdout] | [INFO] [stdout] 914 | fn parse_ident(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 914 | fn parse_ident(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:923:29 [INFO] [stdout] | [INFO] [stdout] 923 | fn parse_ordinal(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 923 | fn parse_ordinal(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:934:33 [INFO] [stdout] | [INFO] [stdout] 934 | fn parse_hex_literal(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 934 | fn parse_hex_literal(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:941:34 [INFO] [stdout] | [INFO] [stdout] 941 | fn parse_package_name(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 941 | fn parse_package_name(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:947:37 [INFO] [stdout] | [INFO] [stdout] 947 | fn parse_qualified_ident(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 947 | fn parse_qualified_ident(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1063:39 [INFO] [stdout] | [INFO] [stdout] 1063 | fn parse_transitions_block(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1063 | fn parse_transitions_block(pair: Pair) -> Result, ParseError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rule` in this scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1089:32 [INFO] [stdout] | [INFO] [stdout] 1089 | fn parse_struct_def(pair: Pair) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1089 | fn parse_struct_def(pair: Pair) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TransitionElement` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:12:86 [INFO] [stdout] | [INFO] [stdout] 12 | StateMachine, TransitionItem, ImportDeclaration, UseDeclaration, QualifiedIdent, TransitionElement, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pairs` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | use pest::iterators::{Pair, Pairs}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TopLevelItem: std::cmp::Eq` is not satisfied [INFO] [stdout] --> crates/fsm-dsl/src/ast.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | -- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 134 | pub items: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `std::cmp::Eq` is not implemented for `TopLevelItem` [INFO] [stdout] --> crates/fsm-dsl/src/ast.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub enum TopLevelItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the trait `std::cmp::Eq` is implemented for `Vec` [INFO] [stdout] = note: required for `Vec` to implement `std::cmp::Eq` [INFO] [stdout] note: required by a bound in `AssertParamIsEq` [INFO] [stdout] --> /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/cmp.rs:367:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `SsotParser` in the current scope [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:139:33 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SsotParser; [INFO] [stdout] | --------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 139 | let mut pairs = SsotParser::parse(Rule::ssot_file, input) [INFO] [stdout] | ^^^^^ function or associated item not found in `SsotParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `parse`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Parse` [INFO] [stdout] candidate #2: `pest::Parser` [INFO] [stdout] candidate #3: `syn::parse::Parser` [INFO] [stdout] candidate #4: `syn::parse_quote::ParseQuote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:139:39 [INFO] [stdout] | [INFO] [stdout] 139 | let mut pairs = SsotParser::parse(Rule::ssot_file, input) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | if ssot_file_pair.as_rule() != Rule::ssot_file { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `imports`, `items` and `package_declaration` in initializer of `ImportDeclaration` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:169:30 [INFO] [stdout] | [INFO] [stdout] 169 | imports.push(ImportDeclaration { package_name }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `imports`, `items` and `package_declaration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SsotFile` has no field named `package_declaration` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | package_declaration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `SsotFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `SsotFile` has no field named `imports` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | imports, [INFO] [stdout] | ^^^^^^^ `SsotFile` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | if value_pair.as_rule() == Rule::annotation_value { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:255:53 [INFO] [stdout] | [INFO] [stdout] 255 | if annotation_value_inner_pair.as_rule() == Rule::annotation_value_inner { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:344:58 [INFO] [stdout] | [INFO] [stdout] 344 | let actual_item_pair = if item_pair.as_rule() == Rule::state_machine_item { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:437:36 [INFO] [stdout] | [INFO] [stdout] 437 | .filter(|p| p.as_rule() == Rule::state_variant) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:461:53 [INFO] [stdout] | [INFO] [stdout] 461 | if annotation_pair.as_rule() == Rule::annotation { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:480:47 [INFO] [stdout] | [INFO] [stdout] 480 | ... rule: Rule::state_body_item, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:488:66 [INFO] [stdout] | [INFO] [stdout] 488 | ... .find(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:499:66 [INFO] [stdout] | [INFO] [stdout] 499 | ... .find(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 548 | entry_actions, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | exit_actions, [INFO] [stdout] | ^^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:583:38 [INFO] [stdout] | [INFO] [stdout] 583 | debug_assert_eq!(pair.as_rule(), Rule::event_struct); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:590:52 [INFO] [stdout] | [INFO] [stdout] 590 | if potential_annotations_pair.as_rule() == Rule::optional_annotations { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:608:31 [INFO] [stdout] | [INFO] [stdout] 608 | if name_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:620:34 [INFO] [stdout] | [INFO] [stdout] 620 | if ordinal_pair.as_rule() != Rule::ordinal { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | if first.as_rule() == Rule::optional_annotations { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:710:54 [INFO] [stdout] | [INFO] [stdout] 710 | let actual_type_pair = if type_pair.as_rule() == Rule::r#type { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:715:23 [INFO] [stdout] | [INFO] [stdout] 715 | rule: Rule::r#type, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:738:36 [INFO] [stdout] | [INFO] [stdout] 738 | let specific_pair = if rule == Rule::r#type { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:774:54 [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(parse_ident(specific_pair)?)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `proc_macro2::Ident` to `QualifiedIdent` [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(ast::QualifiedIdent::Simple(parse_ident(specific_pair)?))), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:792:41 [INFO] [stdout] | [INFO] [stdout] 792 | .is_some_and(|p| p.as_rule() == Rule::identifier) [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | if from_state_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:820:35 [INFO] [stdout] | [INFO] [stdout] 820 | if to_state_pair.as_rule() != Rule::identifier { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:894:20 [INFO] [stdout] | [INFO] [stdout] 894 | event: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 894 | event: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:898:23 [INFO] [stdout] | [INFO] [stdout] 898 | function: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 898 | function: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:902:23 [INFO] [stdout] | [INFO] [stdout] 902 | function: ident, [INFO] [stdout] | ^^^^^ expected `QualifiedIdent`, found `Ident` [INFO] [stdout] | [INFO] [stdout] help: try wrapping the expression in `ast::QualifiedIdent::Simple` [INFO] [stdout] | [INFO] [stdout] 902 | function: ast::QualifiedIdent::Simple(ident), [INFO] [stdout] | ++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1090:38 [INFO] [stdout] | [INFO] [stdout] 1090 | debug_assert_eq!(pair.as_rule(), Rule::struct_def); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1108:48 [INFO] [stdout] | [INFO] [stdout] 1108 | if field_pair.as_rule() == Rule::struct_field { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1111:59 [INFO] [stdout] | [INFO] [stdout] 1111 | if event_field_pair.as_rule() == Rule::event_field { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1119:55 [INFO] [stdout] | [INFO] [stdout] 1119 | } else if field_pair.as_rule() != Rule::WHITESPACE && field_pair.as_rule() != Rule::COMMENT { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1119:99 [INFO] [stdout] | [INFO] [stdout] 1119 | } else if field_pair.as_rule() != Rule::WHITESPACE && field_pair.as_rule() != Rule::COMMENT { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1128:32 [INFO] [stdout] | [INFO] [stdout] 1128 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1128:13 [INFO] [stdout] | [INFO] [stdout] 1128 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | Rule::file_id => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Rule::package_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Rule::import_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | Rule::top_level_item => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | Rule::state_machine => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | Rule::struct_def => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | Rule::EOI => break, // EOI marks the end of the inner pairs for ssot_file [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:841:13 [INFO] [stdout] | [INFO] [stdout] 841 | Rule::transition_element => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:258:21 [INFO] [stdout] | [INFO] [stdout] 258 | Rule::identifier => Ok(AnnotationValue::Identifier(parse_ident( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | Rule::array_literal => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | Rule::literal_value => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:274:33 [INFO] [stdout] | [INFO] [stdout] 274 | ... Rule::string_literal => Ok(AnnotationValue::StringLiteral( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:277:33 [INFO] [stdout] | [INFO] [stdout] 277 | ... Rule::boolean_literal => Ok(AnnotationValue::BooleanLiteral( [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:280:33 [INFO] [stdout] | [INFO] [stdout] 280 | ... Rule::number_literal => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:748:9 [INFO] [stdout] | [INFO] [stdout] 748 | Rule::primitive_type => match specific_pair.as_str() { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:357:13 [INFO] [stdout] | [INFO] [stdout] 357 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | Rule::use_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | Rule::state_enum => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 385 | Rule::event_definitions => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | Rule::transitions_block => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:396:32 [INFO] [stdout] | [INFO] [stdout] 396 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | Rule::EOI => break, [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | Rule::list_type => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | Rule::optional_annotations => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1105:13 [INFO] [stdout] | [INFO] [stdout] 1105 | Rule::struct_body => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | Rule::identifier => name = Some(parse_ident(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | Rule::ordinal => ordinal = Some(parse_ordinal(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:469:13 [INFO] [stdout] | [INFO] [stdout] 469 | Rule::state_body_content => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | Rule::state_body_item => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1102:13 [INFO] [stdout] | [INFO] [stdout] 1102 | Rule::ident => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:485:33 [INFO] [stdout] | [INFO] [stdout] 485 | ... Rule::entry_action => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1099:13 [INFO] [stdout] | [INFO] [stdout] 1099 | Rule::annotation => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:496:33 [INFO] [stdout] | [INFO] [stdout] 496 | ... Rule::exit_action => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:774:9 [INFO] [stdout] | [INFO] [stdout] 774 | Rule::identifier => Ok(FieldType::Identifier(parse_ident(specific_pair)?)), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:25 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:44 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:517:60 [INFO] [stdout] | [INFO] [stdout] 517 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* Ignore */ [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:32 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:532:48 [INFO] [stdout] | [INFO] [stdout] 532 | Rule::WHITESPACE | Rule::COMMENT | Rule::optional_whitespace => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:560:13 [INFO] [stdout] | [INFO] [stdout] 560 | Rule::event_struct => events.push(parse_event_struct(item_pair)?), [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | Rule::use_decl => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | Rule::WHITESPACE | Rule::COMMENT => {} // Ignore [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:565:32 [INFO] [stdout] | [INFO] [stdout] 565 | Rule::WHITESPACE | Rule::COMMENT => {} // Ignore [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:1068:13 [INFO] [stdout] | [INFO] [stdout] 1068 | Rule::transition_definition => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:900:9 [INFO] [stdout] | [INFO] [stdout] 900 | Rule::action_clause => Ok(ast::TransitionElement::Action { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | Rule::guard_clause => Ok(ast::TransitionElement::Guard { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | Rule::on_clause => Ok(ast::TransitionElement::On { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | Rule::event_body => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:639:21 [INFO] [stdout] | [INFO] [stdout] 639 | Rule::event_field => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:642:40 [INFO] [stdout] | [INFO] [stdout] 642 | Rule::WHITESPACE | Rule::COMMENT => { /* ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | Rule::event_terminator => { [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:847:32 [INFO] [stdout] | [INFO] [stdout] 847 | Rule::WHITESPACE | Rule::COMMENT => { /* Ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> crates/fsm-dsl/src/parser.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | Rule::WHITESPACE | Rule::COMMENT => { /* Ignore */ } [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0412, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fsm-dsl` (lib) due to 121 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7dccc5a1a7789d4eab515c632e126fc6bc1fc75184901833dea33ddfb2b5769b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dccc5a1a7789d4eab515c632e126fc6bc1fc75184901833dea33ddfb2b5769b", kill_on_drop: false }` [INFO] [stdout] 7dccc5a1a7789d4eab515c632e126fc6bc1fc75184901833dea33ddfb2b5769b